Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
From 003273df39c7e65b27197930064c77f2141969d5 Mon Sep 17 00:00:00 2001
From: Adam Cooper <adam.cooper@gmail.com>
Date: Sun, 16 Oct 2011 18:21:15 -0700
Subject: [PATCH] fixing the bundle install issue
---
hubruby.gemspec | 2 +-
lib/hubruby.rb | 2 +-
lib/version.rb | 3 +++
3 files changed, 5 insertions(+), 2 deletions(-)
create mode 100644 lib/version.rb
diff --git a/hubruby.gemspec b/hubruby.gemspec
index 67c4f85..755904b 100644
--- a/hubruby.gemspec
+++ b/hubruby.gemspec
@@ -1,6 +1,6 @@
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
-require 'hubruby'
+require 'version'
Gem::Specification.new do |s|
s.name = 'hubruby'
diff --git a/lib/hubruby.rb b/lib/hubruby.rb
index 6e83451..2b3e9ca 100644
--- a/lib/hubruby.rb
+++ b/lib/hubruby.rb
@@ -3,9 +3,9 @@ $:.unshift(File.dirname(__FILE__)) unless
require 'rubygems'
require 'httparty'
+require 'version'
module Hubruby
- VERSION = '0.1.1'
def self.require_all
Dir[File.join(File.dirname(__FILE__), %W(github ** *.rb))].each do |f|
diff --git a/lib/version.rb b/lib/version.rb
new file mode 100644
index 0000000..1302f61
--- /dev/null
+++ b/lib/version.rb
@@ -0,0 +1,3 @@
+module Hubruby
+ VERSION = '0.1.1'
+end
--
1.7.6.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.