Skip to content
This repository
Browse code

fixing horrible gemspec mess

  • Loading branch information...
commit 95330ded52212752fe0cef9a3d614f719632f16a 1 parent 79a7d05
Noam Ben Ari authored April 18, 2012
24  Gemfile
... ...
@@ -1,3 +1,25 @@
1 1
 source :rubygems
  2
+# Add dependencies required to use your gem here.
  3
+# Example:
  4
+#   gem "activesupport", ">= 2.3.5"
  5
+gem 'oauth', "~> 0.4.4"
  6
+gem 'oauth2', "~> 0.5.1"
2 7
 
3  
-gemspec
  8
+# Add dependencies to develop your gem here.
  9
+# Include everything needed to run rake, tests, features, etc.
  10
+group :development do
  11
+  gem "rails", ">= 3.0.0"
  12
+  gem 'json', ">= 1.5.1"
  13
+  gem "rspec", "~> 2.5.0"
  14
+  gem 'rspec-rails', "~> 2.5.0"
  15
+  gem 'ruby-debug19'
  16
+  gem 'sqlite3-ruby', :require => 'sqlite3'
  17
+  gem "yard", "~> 0.6.0"
  18
+  gem "bundler", ">= 1.1.0"
  19
+  gem "jeweler", "~> 1.8.3"
  20
+  gem 'simplecov', '>= 0.3.8', :require => false # Will install simplecov-html as a dependency
  21
+  gem 'timecop'
  22
+	gem 'capybara'
  23
+	gem 'bcrypt-ruby', "~> 3.0.0"
  24
+	gem 'mongoid', "~> 2.4.4"
  25
+end
17  Gemfile.lock
... ...
@@ -1,13 +1,3 @@
1  
-PATH
2  
-  remote: .
3  
-  specs:
4  
-    sorcery (0.7.8)
5  
-      bcrypt-ruby (~> 3.0.0)
6  
-      bundler (>= 1.1.0)
7  
-      oauth (~> 0.4.4)
8  
-      oauth2 (~> 0.5.1)
9  
-      sorcery
10  
-
11 1
 GEM
12 2
   remote: http://rubygems.org/
13 3
   specs:
@@ -84,7 +74,7 @@ GEM
84 74
       activemodel (~> 3.1)
85 75
       mongo (~> 1.3)
86 76
       tzinfo (~> 0.3.22)
87  
-    multi_json (1.2.0)
  77
+    multi_json (1.3.2)
88 78
     multipart-post (1.1.5)
89 79
     nokogiri (1.5.2)
90 80
     oauth (0.4.5)
@@ -174,16 +164,17 @@ PLATFORMS
174 164
 DEPENDENCIES
175 165
   bcrypt-ruby (~> 3.0.0)
176 166
   bundler (>= 1.1.0)
177  
-  capybara (>= 1.1.2)
  167
+  capybara
178 168
   jeweler (~> 1.8.3)
179 169
   json (>= 1.5.1)
180 170
   mongoid (~> 2.4.4)
  171
+  oauth (~> 0.4.4)
  172
+  oauth2 (~> 0.5.1)
181 173
   rails (>= 3.0.0)
182 174
   rspec (~> 2.5.0)
183 175
   rspec-rails (~> 2.5.0)
184 176
   ruby-debug19
185 177
   simplecov (>= 0.3.8)
186  
-  sorcery!
187 178
   sqlite3-ruby
188 179
   timecop
189 180
   yard (~> 0.6.0)
4  Rakefile
@@ -25,10 +25,6 @@ Jeweler::Tasks.new do |gem|
25 25
   # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
26 26
   #  gem.add_runtime_dependency 'jabber4r', '> 0.1'
27 27
   #  gem.add_development_dependency 'rspec', '> 1.2.3'
28  
-  gem.add_runtime_dependency 'bundler', '1.1.0'
29  
-  gem.add_runtime_dependency 'bcrypt-ruby', '~> 3.0.0'
30  
-  gem.add_runtime_dependency 'oauth', '~> 0.4.4'
31  
-  gem.add_runtime_dependency 'oauth2', '~> 0.5.1'
32 28
 end
33 29
 Jeweler::RubygemsDotOrgTasks.new
34 30
 
51  sorcery.gemspec
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
9 9
 
10 10
   s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11 11
   s.authors = ["Noam Ben Ari"]
12  
-  s.date = "2012-04-17"
  12
+  s.date = "2012-04-18"
13 13
   s.description = "Provides common authentication needs such as signing in/out, activating by email and resetting password."
14 14
   s.email = "nbenari@gmail.com"
15 15
   s.extra_rdoc_files = [
@@ -302,15 +302,15 @@ Gem::Specification.new do |s|
302 302
   s.homepage = "http://github.com/NoamB/sorcery"
303 303
   s.licenses = ["MIT"]
304 304
   s.require_paths = ["lib"]
305  
-  s.rubygems_version = "1.8.10"
  305
+  s.rubygems_version = "1.8.21"
306 306
   s.summary = "Magical authentication for Rails 3 applications"
307 307
 
308 308
   if s.respond_to? :specification_version then
309 309
     s.specification_version = 3
310 310
 
311 311
     if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
312  
-      s.add_runtime_dependency(%q<sorcery>, [">= 0"])
313  
-      s.add_development_dependency(%q<bcrypt-ruby>, ["~> 3.0.0"])
  312
+      s.add_runtime_dependency(%q<oauth>, ["~> 0.4.4"])
  313
+      s.add_runtime_dependency(%q<oauth2>, ["~> 0.5.1"])
314 314
       s.add_development_dependency(%q<rails>, [">= 3.0.0"])
315 315
       s.add_development_dependency(%q<json>, [">= 1.5.1"])
316 316
       s.add_development_dependency(%q<rspec>, ["~> 2.5.0"])
@@ -318,19 +318,16 @@ Gem::Specification.new do |s|
318 318
       s.add_development_dependency(%q<ruby-debug19>, [">= 0"])
319 319
       s.add_development_dependency(%q<sqlite3-ruby>, [">= 0"])
320 320
       s.add_development_dependency(%q<yard>, ["~> 0.6.0"])
321  
-      s.add_development_dependency(%q<bundler>, [">= 1.1.0"])
322  
-      s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
  321
+      s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
  322
+      s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
323 323
       s.add_development_dependency(%q<simplecov>, [">= 0.3.8"])
324  
-      s.add_development_dependency(%q<capybara>, [">= 1.1.2"])
325  
-      s.add_development_dependency(%q<mongoid>, ["~> 2.4.4"])
326 324
       s.add_development_dependency(%q<timecop>, [">= 0"])
327  
-      s.add_runtime_dependency(%q<bundler>, ["= 1.1.0"])
328  
-      s.add_runtime_dependency(%q<bcrypt-ruby>, ["~> 3.0.0"])
329  
-      s.add_runtime_dependency(%q<oauth>, ["~> 0.4.4"])
330  
-      s.add_runtime_dependency(%q<oauth2>, ["~> 0.5.1"])
  325
+      s.add_development_dependency(%q<capybara>, [">= 0"])
  326
+      s.add_development_dependency(%q<bcrypt-ruby>, ["~> 3.0.0"])
  327
+      s.add_development_dependency(%q<mongoid>, ["~> 2.4.4"])
331 328
     else
332  
-      s.add_dependency(%q<sorcery>, [">= 0"])
333  
-      s.add_dependency(%q<bcrypt-ruby>, ["~> 3.0.0"])
  329
+      s.add_dependency(%q<oauth>, ["~> 0.4.4"])
  330
+      s.add_dependency(%q<oauth2>, ["~> 0.5.1"])
334 331
       s.add_dependency(%q<rails>, [">= 3.0.0"])
335 332
       s.add_dependency(%q<json>, [">= 1.5.1"])
336 333
       s.add_dependency(%q<rspec>, ["~> 2.5.0"])
@@ -338,20 +335,17 @@ Gem::Specification.new do |s|
338 335
       s.add_dependency(%q<ruby-debug19>, [">= 0"])
339 336
       s.add_dependency(%q<sqlite3-ruby>, [">= 0"])
340 337
       s.add_dependency(%q<yard>, ["~> 0.6.0"])
341  
-      s.add_dependency(%q<bundler>, [">= 1.1.0"])
342  
-      s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
  338
+      s.add_dependency(%q<bundler>, ["~> 1.0.0"])
  339
+      s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
343 340
       s.add_dependency(%q<simplecov>, [">= 0.3.8"])
344  
-      s.add_dependency(%q<capybara>, [">= 1.1.2"])
345  
-      s.add_dependency(%q<mongoid>, ["~> 2.4.4"])
346 341
       s.add_dependency(%q<timecop>, [">= 0"])
347  
-      s.add_dependency(%q<bundler>, ["= 1.1.0"])
  342
+      s.add_dependency(%q<capybara>, [">= 0"])
348 343
       s.add_dependency(%q<bcrypt-ruby>, ["~> 3.0.0"])
349  
-      s.add_dependency(%q<oauth>, ["~> 0.4.4"])
350  
-      s.add_dependency(%q<oauth2>, ["~> 0.5.1"])
  344
+      s.add_dependency(%q<mongoid>, ["~> 2.4.4"])
351 345
     end
352 346
   else
353  
-    s.add_dependency(%q<sorcery>, [">= 0"])
354  
-    s.add_dependency(%q<bcrypt-ruby>, ["~> 3.0.0"])
  347
+    s.add_dependency(%q<oauth>, ["~> 0.4.4"])
  348
+    s.add_dependency(%q<oauth2>, ["~> 0.5.1"])
355 349
     s.add_dependency(%q<rails>, [">= 3.0.0"])
356 350
     s.add_dependency(%q<json>, [">= 1.5.1"])
357 351
     s.add_dependency(%q<rspec>, ["~> 2.5.0"])
@@ -359,16 +353,13 @@ Gem::Specification.new do |s|
359 353
     s.add_dependency(%q<ruby-debug19>, [">= 0"])
360 354
     s.add_dependency(%q<sqlite3-ruby>, [">= 0"])
361 355
     s.add_dependency(%q<yard>, ["~> 0.6.0"])
362  
-    s.add_dependency(%q<bundler>, [">= 1.1.0"])
363  
-    s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
  356
+    s.add_dependency(%q<bundler>, ["~> 1.0.0"])
  357
+    s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
364 358
     s.add_dependency(%q<simplecov>, [">= 0.3.8"])
365  
-    s.add_dependency(%q<capybara>, [">= 1.1.2"])
366  
-    s.add_dependency(%q<mongoid>, ["~> 2.4.4"])
367 359
     s.add_dependency(%q<timecop>, [">= 0"])
368  
-    s.add_dependency(%q<bundler>, ["= 1.1.0"])
  360
+    s.add_dependency(%q<capybara>, [">= 0"])
369 361
     s.add_dependency(%q<bcrypt-ruby>, ["~> 3.0.0"])
370  
-    s.add_dependency(%q<oauth>, ["~> 0.4.4"])
371  
-    s.add_dependency(%q<oauth2>, ["~> 0.5.1"])
  362
+    s.add_dependency(%q<mongoid>, ["~> 2.4.4"])
372 363
   end
373 364
 end
374 365
 
3  spec/Gemfile.lock
... ...
@@ -1,11 +1,12 @@
1 1
 PATH
2 2
   remote: ../
3 3
   specs:
4  
-    sorcery (0.7.8)
  4
+    sorcery (0.7.10)
5 5
       bcrypt-ruby (~> 3.0.0)
6 6
       bundler (>= 1.1.0)
7 7
       oauth (~> 0.4.4)
8 8
       oauth2 (~> 0.5.1)
  9
+      sorcery
9 10
 
10 11
 GEM
11 12
   remote: http://rubygems.org/
3  spec/rails3/Gemfile.lock
... ...
@@ -1,11 +1,12 @@
1 1
 PATH
2 2
   remote: ../../
3 3
   specs:
4  
-    sorcery (0.7.8)
  4
+    sorcery (0.7.10)
5 5
       bcrypt-ruby (~> 3.0.0)
6 6
       bundler (>= 1.1.0)
7 7
       oauth (~> 0.4.4)
8 8
       oauth2 (~> 0.5.1)
  9
+      sorcery
9 10
 
10 11
 GEM
11 12
   remote: http://rubygems.org/
3  spec/rails3_mongo_mapper/Gemfile.lock
... ...
@@ -1,11 +1,12 @@
1 1
 PATH
2 2
   remote: ../../
3 3
   specs:
4  
-    sorcery (0.7.8)
  4
+    sorcery (0.7.10)
5 5
       bcrypt-ruby (~> 3.0.0)
6 6
       bundler (>= 1.1.0)
7 7
       oauth (~> 0.4.4)
8 8
       oauth2 (~> 0.5.1)
  9
+      sorcery
9 10
 
10 11
 GEM
11 12
   remote: http://rubygems.org/
3  spec/rails3_mongoid/Gemfile.lock
... ...
@@ -1,11 +1,12 @@
1 1
 PATH
2 2
   remote: ../../
3 3
   specs:
4  
-    sorcery (0.7.8)
  4
+    sorcery (0.7.10)
5 5
       bcrypt-ruby (~> 3.0.0)
6 6
       bundler (>= 1.1.0)
7 7
       oauth (~> 0.4.4)
8 8
       oauth2 (~> 0.5.1)
  9
+      sorcery
9 10
 
10 11
 GEM
11 12
   remote: http://rubygems.org/

0 notes on commit 95330de

Please sign in to comment.
Something went wrong with that request. Please try again.