github_api 0.4.11 → 0.5.0.rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. data/README.md +76 -72
  2. data/features/cassettes/gists/starred.yml +48 -0
  3. data/features/cassettes/pagination/repos/commits/list.yml +193 -0
  4. data/features/cassettes/pagination/repos/commits/next.yml +183 -0
  5. data/features/cassettes/pagination/repos/diff/next.yml +45 -0
  6. data/features/cassettes/pagination/repos/list.yml +176 -0
  7. data/features/cassettes/pagination/repos/list/next.yml +222 -0
  8. data/features/cassettes/pagination/repos/per_page/each_page.yml +45 -0
  9. data/features/cassettes/repos/list.yml +92 -0
  10. data/features/error_codes.feature +1 -1
  11. data/features/gists.feature +12 -3
  12. data/features/gists/comments.feature +3 -3
  13. data/features/github_api.feature +13 -2
  14. data/features/pagination.feature +40 -39
  15. data/features/repos.feature +2 -2
  16. data/features/step_definitions/common_steps.rb +12 -0
  17. data/features/step_definitions/github_api_steps.rb +12 -1
  18. data/lib/github_api.rb +1 -1
  19. data/lib/github_api/api.rb +4 -2
  20. data/lib/github_api/api_factory.rb +11 -5
  21. data/lib/github_api/authorizations.rb +23 -32
  22. data/lib/github_api/client.rb +1 -0
  23. data/lib/github_api/events.rb +38 -38
  24. data/lib/github_api/filter.rb +1 -1
  25. data/lib/github_api/gists.rb +47 -42
  26. data/lib/github_api/gists/comments.rb +77 -84
  27. data/lib/github_api/git_data.rb +25 -6
  28. data/lib/github_api/git_data/blobs.rb +48 -45
  29. data/lib/github_api/git_data/commits.rb +76 -73
  30. data/lib/github_api/git_data/references.rb +137 -118
  31. data/lib/github_api/git_data/tags.rb +74 -70
  32. data/lib/github_api/git_data/trees.rb +88 -85
  33. data/lib/github_api/issues.rb +43 -31
  34. data/lib/github_api/issues/comments.rb +116 -119
  35. data/lib/github_api/issues/events.rb +20 -19
  36. data/lib/github_api/issues/labels.rb +200 -197
  37. data/lib/github_api/issues/milestones.rb +137 -134
  38. data/lib/github_api/orgs.rb +27 -23
  39. data/lib/github_api/orgs/members.rb +105 -108
  40. data/lib/github_api/orgs/teams.rb +236 -237
  41. data/lib/github_api/paged_request.rb +1 -1
  42. data/lib/github_api/pull_requests.rb +40 -42
  43. data/lib/github_api/pull_requests/comments.rb +140 -143
  44. data/lib/github_api/repos.rb +101 -67
  45. data/lib/github_api/repos/collaborators.rb +64 -68
  46. data/lib/github_api/repos/commits.rb +50 -39
  47. data/lib/github_api/repos/downloads.rb +107 -110
  48. data/lib/github_api/repos/forks.rb +38 -39
  49. data/lib/github_api/repos/hooks.rb +161 -167
  50. data/lib/github_api/repos/keys.rb +86 -86
  51. data/lib/github_api/repos/pub_sub_hubbub.rb +99 -87
  52. data/lib/github_api/repos/watching.rb +80 -82
  53. data/lib/github_api/request.rb +5 -9
  54. data/lib/github_api/users.rb +26 -16
  55. data/lib/github_api/users/emails.rb +47 -47
  56. data/lib/github_api/users/followers.rb +85 -86
  57. data/lib/github_api/users/keys.rb +73 -75
  58. data/lib/github_api/validations.rb +25 -0
  59. data/lib/github_api/validations/format.rb +23 -0
  60. data/lib/github_api/validations/presence.rb +25 -0
  61. data/lib/github_api/validations/required.rb +21 -0
  62. data/lib/github_api/validations/token.rb +41 -0
  63. data/lib/github_api/version.rb +3 -3
  64. data/spec/fixtures/repos/commit_comparison.json +112 -0
  65. data/spec/github/api_factory_spec.rb +17 -1
  66. data/spec/github/authorizations_spec.rb +36 -34
  67. data/spec/github/gists/comments_spec.rb +39 -45
  68. data/spec/github/gists_spec.rb +50 -53
  69. data/spec/github/git_data/blobs_spec.rb +27 -20
  70. data/spec/github/git_data/commits_spec.rb +20 -19
  71. data/spec/github/git_data/references_spec.rb +83 -46
  72. data/spec/github/git_data/tags_spec.rb +16 -15
  73. data/spec/github/git_data/trees_spec.rb +20 -19
  74. data/spec/github/git_data_spec.rb +10 -1
  75. data/spec/github/issues/comments_spec.rb +78 -68
  76. data/spec/github/issues/events_spec.rb +42 -34
  77. data/spec/github/issues/labels_spec.rb +89 -101
  78. data/spec/github/issues/milestones_spec.rb +76 -54
  79. data/spec/github/issues_spec.rb +53 -57
  80. data/spec/github/orgs/members_spec.rb +64 -49
  81. data/spec/github/orgs/teams_spec.rb +112 -101
  82. data/spec/github/orgs_spec.rb +41 -31
  83. data/spec/github/paged_request_spec.rb +6 -5
  84. data/spec/github/pull_requests/comments_spec.rb +39 -44
  85. data/spec/github/pull_requests_spec.rb +32 -48
  86. data/spec/github/repos/collaborators_spec.rb +40 -29
  87. data/spec/github/repos/commits_spec.rb +108 -64
  88. data/spec/github/repos/downloads_spec.rb +46 -45
  89. data/spec/github/repos/forks_spec.rb +23 -24
  90. data/spec/github/repos/hooks_spec.rb +69 -71
  91. data/spec/github/repos/keys_spec.rb +39 -34
  92. data/spec/github/repos/pub_sub_hubbub_spec.rb +4 -4
  93. data/spec/github/repos/watching_spec.rb +31 -33
  94. data/spec/github/repos_spec.rb +74 -83
  95. data/spec/github/request_spec.rb +31 -2
  96. data/spec/github/users/emails_spec.rb +19 -17
  97. data/spec/github/users/followers_spec.rb +30 -28
  98. data/spec/github/users/keys_spec.rb +37 -33
  99. data/spec/github/users_spec.rb +124 -125
  100. data/spec/github/validations/format_spec.rb +42 -0
  101. data/spec/github/validations/presence_spec.rb +18 -0
  102. data/spec/github/validations/required_spec.rb +28 -0
  103. data/spec/github/validations/token_spec.rb +19 -0
  104. data/spec/github/validations_spec.rb +23 -0
  105. metadata +33 -10
  106. data/features/cassettes/pagination/repos.yml +0 -177
  107. data/features/cassettes/pagination/repos/next.yml +0 -177
  108. data/lib/github_api/validation.rb +0 -53
  109. data/spec/github/validation_spec.rb +0 -62
@@ -1,129 +1,128 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe Github::Users, :type => :base do
4
-
5
- # before do
6
- # reset_authentication_for github
7
- # end
8
- #
9
- # after do
10
- # reset_authentication_for github
11
- # end
12
- #
13
- # describe "get_user" do
14
- # context "resource found for a user" do
15
- # before do
16
- # stub_get("/users/#{user}").
17
- # to_return(:body => fixture('users/user.json'),
18
- # :status => 200, :headers => {:content_type => "application/json; charset=utf-8"})
19
- # end
20
- #
21
- # it "should get the resources" do
22
- # github.users.get_user user
23
- # a_get("/users/#{user}").should have_been_made
24
- # end
25
- #
26
- # it "should return resource" do
27
- # user_resource = github.users.get_user user
28
- # user_resource.should be_a Hash
29
- # end
30
- #
31
- # it "should be a mash type" do
32
- # user_resource = github.users.get_user user
33
- # user_resource.should be_a Hashie::Mash
34
- # end
35
- #
36
- # it "should get org information" do
37
- # user_resource = github.users.get_user user
38
- # user_resource.login.should == 'octocat'
39
- # end
40
- #
41
- # it "should yield to a block" do
42
- # github.users.should_receive(:get_user).with(user).and_yield('web')
43
- # github.users.get_user(user) { |param| 'web' }
44
- # end
45
- # end
46
- #
47
- # context "resource found for an authenticated user" do
48
- # before do
49
- # github.oauth_token = OAUTH_TOKEN
50
- # stub_get("/user").
51
- # with(:query => { :access_token => "#{OAUTH_TOKEN}"}).
52
- # to_return(:body => fixture('users/user.json'), :status => 200, :headers => {:content_type => "application/json; charset=utf-8"})
53
- # end
54
- #
55
- # it "should get the resources" do
56
- # github.users.get_user
57
- # a_get("/user").with(:query => {:access_token => "#{OAUTH_TOKEN}"}).
58
- # should have_been_made
59
- # end
60
- # end
61
- #
62
- # context "resource not found for a user" do
63
- # before do
64
- # stub_get("/users/#{user}").
65
- # to_return(:body => "", :status => [404, "Not Found"])
66
- # end
67
- #
68
- # it "should return 404 with a message 'Not Found'" do
69
- # expect {
70
- # github.users.get_user user
71
- # }.to raise_error(Github::Error::NotFound)
72
- # end
73
- # end
74
- # end # get_user
75
- #
76
- # describe "update_user" do
77
- # let(:user_params) {
78
- # {
79
- # "name" => "monalisa octocat",
80
- # "email" => "octocat@github.com",
81
- # "blog" => "https://github.com/blog",
82
- # "company" => "GitHub",
83
- # "location" => "San Francisco",
84
- # "hireable" => true,
85
- # "bio" => "There once..."
86
- # }
87
- # }
88
- #
89
- # context "resouce updated" do
90
- # before do
91
- # github.oauth_token = OAUTH_TOKEN
92
- # stub_patch("/user?access_token=#{OAUTH_TOKEN}").with(user_params).
93
- # to_return(:body => fixture('users/user.json'), :status => 200, :headers => {:content_type => "application/json; charset=utf-8"})
94
- #
95
- # end
96
- #
97
- # it "should create resource successfully" do
98
- # github.users.update_user
99
- # a_patch("/user?access_token=#{OAUTH_TOKEN}").with(user_params).should have_been_made
100
- # end
101
- #
102
- # it "should return the resource" do
103
- # user_resource = github.users.update_user
104
- # user_resource.should be_a Hashie::Mash
105
- # end
106
- #
107
- # it "should get the resource information" do
108
- # user_resource = github.users.update_user
109
- # user_resource.login.should == 'octocat'
110
- # end
111
- # end
112
- #
113
- # context "failed to update resource" do
114
- # before do
115
- # github.oauth_token = OAUTH_TOKEN
116
- # stub_patch("/user?access_token=#{OAUTH_TOKEN}").with(user_params).
117
- # to_return(:body => fixture('users/user.json'), :status => 404, :headers => {:content_type => "application/json; charset=utf-8"})
118
- #
119
- # end
120
- #
121
- # it "should fail to retrieve resource" do
122
- # expect {
123
- # github.users.update_user
124
- # }.to raise_error(Github::Error::NotFound)
125
- # end
126
- # end
127
- # end # update_comment
3
+ describe Github::Users do
4
+ let(:github) { Github.new }
5
+ let(:user) { 'peter-murach' }
6
+ let(:repo) { 'github' }
7
+
8
+ after { reset_authentication_for github }
9
+
10
+ describe "#get" do
11
+ it { github.users.should respond_to :find }
12
+
13
+ context "resource found for a user" do
14
+ before do
15
+ stub_get("/users/#{user}").
16
+ to_return(:body => fixture('users/user.json'),
17
+ :status => 200, :headers => {:content_type => "application/json; charset=utf-8"})
18
+ end
19
+
20
+ it "should get the resources" do
21
+ github.users.get user
22
+ a_get("/users/#{user}").should have_been_made
23
+ end
24
+
25
+ it "should return resource" do
26
+ user_resource = github.users.get user
27
+ user_resource.should be_a Hash
28
+ end
29
+
30
+ it "should be a mash type" do
31
+ user_resource = github.users.get user
32
+ user_resource.should be_a Hashie::Mash
33
+ end
34
+
35
+ it "should get org information" do
36
+ user_resource = github.users.get user
37
+ user_resource.login.should == 'octocat'
38
+ end
39
+
40
+ it "should yield to a block" do
41
+ github.users.should_receive(:get).with(user).and_yield('web')
42
+ github.users.get(user) { |param| 'web' }
43
+ end
44
+ end
45
+
46
+ context "resource found for an authenticated user" do
47
+ before do
48
+ github.oauth_token = OAUTH_TOKEN
49
+ stub_get("/user").
50
+ with(:query => { :access_token => "#{OAUTH_TOKEN}"}).
51
+ to_return(:body => fixture('users/user.json'), :status => 200, :headers => {:content_type => "application/json; charset=utf-8"})
52
+ end
53
+
54
+ it "should get the resources" do
55
+ github.users.get
56
+ a_get("/user").with(:query => {:access_token => "#{OAUTH_TOKEN}"}).
57
+ should have_been_made
58
+ end
59
+ end
60
+
61
+ context "resource not found for a user" do
62
+ before do
63
+ stub_get("/users/#{user}").
64
+ to_return(:body => "", :status => [404, "Not Found"])
65
+ end
66
+
67
+ it "should return 404 with a message 'Not Found'" do
68
+ expect {
69
+ github.users.get user
70
+ }.to raise_error(Github::Error::NotFound)
71
+ end
72
+ end
73
+ end # get
74
+
75
+ describe "#update" do
76
+ let(:user_params) {
77
+ {
78
+ "name" => "monalisa octocat",
79
+ "email" => "octocat@github.com",
80
+ "blog" => "https://github.com/blog",
81
+ "company" => "GitHub",
82
+ "location" => "San Francisco",
83
+ "hireable" => true,
84
+ "bio" => "There once..."
85
+ }
86
+ }
87
+
88
+ context "resouce updated" do
89
+ before do
90
+ github.oauth_token = OAUTH_TOKEN
91
+ stub_patch("/user?access_token=#{OAUTH_TOKEN}").with(user_params).
92
+ to_return(:body => fixture('users/user.json'), :status => 200, :headers => {:content_type => "application/json; charset=utf-8"})
93
+
94
+ end
95
+
96
+ it "should create resource successfully" do
97
+ github.users.update
98
+ a_patch("/user?access_token=#{OAUTH_TOKEN}").with(user_params).should have_been_made
99
+ end
100
+
101
+ it "should return the resource" do
102
+ user_resource = github.users.update
103
+ user_resource.should be_a Hashie::Mash
104
+ end
105
+
106
+ it "should get the resource information" do
107
+ user_resource = github.users.update
108
+ user_resource.login.should == 'octocat'
109
+ end
110
+ end
111
+
112
+ context "failed to update resource" do
113
+ before do
114
+ github.oauth_token = OAUTH_TOKEN
115
+ stub_patch("/user?access_token=#{OAUTH_TOKEN}").with(user_params).
116
+ to_return(:body => fixture('users/user.json'), :status => 404, :headers => {:content_type => "application/json; charset=utf-8"})
117
+
118
+ end
119
+
120
+ it "should fail to retrieve resource" do
121
+ expect {
122
+ github.users.update
123
+ }.to raise_error(Github::Error::NotFound)
124
+ end
125
+ end
126
+ end # update
128
127
 
129
128
  end # Github::Users
@@ -0,0 +1,42 @@
1
+ # encoding: utf-8
2
+
3
+ require 'spec_helper'
4
+
5
+ describe Github::Validations::Format do
6
+
7
+ let(:validator) { Class.new.extend(described_class) }
8
+
9
+ context '#_validate_params_values' do
10
+ let(:permitted) {
11
+ {
12
+ 'param_a' => ['a', 'b'],
13
+ 'param_b' => /^github$/
14
+ }
15
+ }
16
+
17
+ it 'fails to accept unkown value for a given parameter key' do
18
+ actual = { 'param_a' => 'x' }
19
+ expect {
20
+ validator._validate_params_values(permitted, actual)
21
+ }.to raise_error(ArgumentError)
22
+ end
23
+
24
+ it 'accepts known value for a given parameter key' do
25
+ actual = { 'param_a' => 'a'}
26
+ validator._validate_params_values(permitted, actual)
27
+ end
28
+
29
+ it 'fails to match regex value for a given parameter key' do
30
+ actual = { 'param_b' => 'xgithub' }
31
+ expect {
32
+ validator._validate_params_values(permitted, actual)
33
+ }.to raise_error(ArgumentError)
34
+ end
35
+
36
+ it 'matches regex value for a given parameter key' do
37
+ actual = { 'param_b' => 'github'}
38
+ validator._validate_params_values(permitted, actual)
39
+ end
40
+ end
41
+
42
+ end # Github::Validations::Format
@@ -0,0 +1,18 @@
1
+ # encoding: utf-8
2
+
3
+ require 'spec_helper'
4
+
5
+ describe Github::Validations::Presence do
6
+
7
+ let(:validator) { Class.new.extend(described_class) }
8
+
9
+ context '#_validate_presence_of' do
10
+ it 'throws error if passed param is nil' do
11
+ gist_id = nil
12
+ expect {
13
+ validator._validate_presence_of gist_id
14
+ }.to raise_error(ArgumentError)
15
+ end
16
+ end
17
+
18
+ end # Github::Validations::Presence
@@ -0,0 +1,28 @@
1
+ # encoding: utf-8
2
+
3
+ require 'spec_helper'
4
+ require 'github_api/core_ext/hash'
5
+
6
+ describe Github::Validations::Required do
7
+
8
+ let(:validator) {
9
+ klaz = Class.new.extend(described_class)
10
+ }
11
+
12
+ context '#_validate_inputs' do
13
+ let(:required) { ['param_a', 'param_c'] }
14
+ let(:provided) { { 'param_a' => true, 'param_c' => true } }
15
+
16
+ it 'detect missing parameter' do
17
+ expect {
18
+ validator._validate_inputs(required, provided.except('param_c')).
19
+ should be_false
20
+ }.to raise_error(Github::Error::RequiredParams)
21
+ end
22
+
23
+ it 'asserts correct required parameters' do
24
+ validator._validate_inputs(required, provided).should be_true
25
+ end
26
+ end
27
+
28
+ end # Github::Validations::Required
@@ -0,0 +1,19 @@
1
+ # encoding: utf-8
2
+
3
+ require 'spec_helper'
4
+
5
+ describe Github::Validations::Token do
6
+
7
+ let(:validator) { Class.new.extend(described_class) }
8
+
9
+ context '#validates_token_for' do
10
+ it 'does not require authentication token' do
11
+ validator.validates_token_for(:get, '/octocat/emails').should be_false
12
+ end
13
+
14
+ it 'requires authentication token' do
15
+ validator.validates_token_for(:get, '/user/emails').should be_true
16
+ end
17
+ end
18
+
19
+ end # Github::Validations::Token
@@ -0,0 +1,23 @@
1
+ require 'spec_helper'
2
+
3
+ describe Github::Validations do
4
+
5
+ let(:validator) { Class.new.send(:include, described_class) }
6
+
7
+ it 'includes parameters presence validations' do
8
+ validator.included_modules.should include Github::Validations::Presence
9
+ end
10
+
11
+ it 'includes authentication token validations' do
12
+ validator.included_modules.should include Github::Validations::Token
13
+ end
14
+
15
+ it 'includes parameters values format validations' do
16
+ validator.included_modules.should include Github::Validations::Format
17
+ end
18
+
19
+ it 'includes required parameters presence validations' do
20
+ validator.included_modules.should include Github::Validations::Required
21
+ end
22
+
23
+ end # Github::Validations
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github_api
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.4.11
4
+ prerelease: 6
5
+ version: 0.5.0.rc1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Piotr Murach
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-04-22 00:00:00 +01:00
13
+ date: 2012-04-28 00:00:00 +01:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -206,17 +206,20 @@ files:
206
206
  - features/cassettes/gists/gist.yml
207
207
  - features/cassettes/gists/gists/public_all.yml
208
208
  - features/cassettes/gists/gists/user_all.yml
209
+ - features/cassettes/gists/starred.yml
210
+ - features/cassettes/pagination/repos/commits/list.yml
209
211
  - features/cassettes/pagination/repos/commits/next.yml
210
212
  - features/cassettes/pagination/repos/commits/sha/next.yml
211
213
  - features/cassettes/pagination/repos/commits/sha.yml
212
214
  - features/cassettes/pagination/repos/commits.yml
213
215
  - features/cassettes/pagination/repos/diff/next.yml
214
216
  - features/cassettes/pagination/repos/diff.yml
215
- - features/cassettes/pagination/repos/next.yml
217
+ - features/cassettes/pagination/repos/list/next.yml
218
+ - features/cassettes/pagination/repos/list.yml
216
219
  - features/cassettes/pagination/repos/per_page/each_page.yml
217
220
  - features/cassettes/pagination/repos/per_page/first.yml
218
- - features/cassettes/pagination/repos.yml
219
221
  - features/cassettes/repos/branches.yml
222
+ - features/cassettes/repos/list.yml
220
223
  - features/cassettes/repos/tags.yml
221
224
  - features/error_codes.feature
222
225
  - features/gists/comments.feature
@@ -309,7 +312,11 @@ files:
309
312
  - lib/github_api/users/keys.rb
310
313
  - lib/github_api/users.rb
311
314
  - lib/github_api/utils/url.rb
312
- - lib/github_api/validation.rb
315
+ - lib/github_api/validations/format.rb
316
+ - lib/github_api/validations/presence.rb
317
+ - lib/github_api/validations/required.rb
318
+ - lib/github_api/validations/token.rb
319
+ - lib/github_api/validations.rb
313
320
  - lib/github_api/version.rb
314
321
  - lib/github_api.rb
315
322
  - spec/coverage_adapter.rb
@@ -356,6 +363,7 @@ files:
356
363
  - spec/fixtures/repos/commit.json
357
364
  - spec/fixtures/repos/commit_comment.json
358
365
  - spec/fixtures/repos/commit_comments.json
366
+ - spec/fixtures/repos/commit_comparison.json
359
367
  - spec/fixtures/repos/commits.json
360
368
  - spec/fixtures/repos/contributors.json
361
369
  - spec/fixtures/repos/download.json
@@ -432,7 +440,11 @@ files:
432
440
  - spec/github/users/keys_spec.rb
433
441
  - spec/github/users_spec.rb
434
442
  - spec/github/utils/url_spec.rb
435
- - spec/github/validation_spec.rb
443
+ - spec/github/validations/format_spec.rb
444
+ - spec/github/validations/presence_spec.rb
445
+ - spec/github/validations/required_spec.rb
446
+ - spec/github/validations/token_spec.rb
447
+ - spec/github/validations_spec.rb
436
448
  - spec/github_spec.rb
437
449
  - spec/README.rdoc
438
450
  - spec/spec_helper.rb
@@ -445,7 +457,18 @@ has_rdoc: true
445
457
  homepage: https://github.com/peter-murach/github
446
458
  licenses: []
447
459
 
448
- post_install_message:
460
+ post_install_message: "\n\
461
+ --------------------------------------------------------------------------------\n\
462
+ Thank you for installing github_api-0.5.0.rc1.\n\n\
463
+ *NOTE*: Version 0.5.0 introduces breaking changes to the way github api is queried.\n\
464
+ The interface has been rewritten to be more consistent with REST verbs that\n\
465
+ interact with GitHub hypermedia resources. Thus, to list resources 'list' or 'all'\n\
466
+ verb is used, to retrieve individual resource 'get' or 'find' verbs are used.\n\
467
+ Further CRUDE operations on all resources use preditable verbs as well.\n\n\
468
+ Again sorry for inconvenience but I trust that this will help in easier access to\n\
469
+ the GitHub API.\n\n\
470
+ For more information: http://rubydoc.info/github/peter-murach/github/master/frames\n\n\
471
+ --------------------------------------------------------------------------------\n "
449
472
  rdoc_options: []
450
473
 
451
474
  require_paths:
@@ -459,9 +482,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
459
482
  required_rubygems_version: !ruby/object:Gem::Requirement
460
483
  none: false
461
484
  requirements:
462
- - - ">="
485
+ - - ">"
463
486
  - !ruby/object:Gem::Version
464
- version: "0"
487
+ version: 1.3.1
465
488
  requirements: []
466
489
 
467
490
  rubyforge_project: