ghee 0.9.5 → 0.9.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +1 -1
  2. data/bin/ghee +1 -1
  3. data/lib/ghee/version.rb +1 -1
  4. metadata +46 -87
data/README.md CHANGED
@@ -15,7 +15,7 @@ Instantiate the client with auth token:
15
15
 
16
16
  Create an OAuth access token:
17
17
 
18
- user_name, password, scopes = "rauhryan", "secret", ["user","repos"]
18
+ user_name, password, scopes = "rauhryan", "secret", ["user","repo"]
19
19
  token = Ghee.create_token(user_name, password, scopes)
20
20
 
21
21
  ## Gists
data/bin/ghee CHANGED
@@ -50,7 +50,7 @@ when "install"
50
50
  ghee = Ghee.basic_auth user, CMD.get_password
51
51
 
52
52
  auth = ghee.authorizations.create(
53
- :scopes => %w(repo,user,gist),
53
+ :scopes => ["repo","user","gists"],
54
54
  :note => "ghee api key",
55
55
  :note_url => "https://github.com/rauhryan/ghee"
56
56
  )
@@ -1,4 +1,4 @@
1
1
  # encoding: UTF-8
2
2
  class Ghee
3
- VERSION = "0.9.5"
3
+ VERSION = "0.9.6"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ghee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-10-04 00:00:00.000000000 Z
13
+ date: 2012-11-02 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: faraday
17
- requirement: !ruby/object:Gem::Requirement
17
+ requirement: &70221585006860 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,15 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
- requirements:
28
- - - ! '>='
29
- - !ruby/object:Gem::Version
30
- version: '0'
25
+ version_requirements: *70221585006860
31
26
  - !ruby/object:Gem::Dependency
32
27
  name: faraday_middleware
33
- requirement: !ruby/object:Gem::Requirement
28
+ requirement: &70221585006420 !ruby/object:Gem::Requirement
34
29
  none: false
35
30
  requirements:
36
31
  - - ! '>='
@@ -38,15 +33,10 @@ dependencies:
38
33
  version: '0'
39
34
  type: :runtime
40
35
  prerelease: false
41
- version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
- requirements:
44
- - - ! '>='
45
- - !ruby/object:Gem::Version
46
- version: '0'
36
+ version_requirements: *70221585006420
47
37
  - !ruby/object:Gem::Dependency
48
38
  name: multi_json
49
- requirement: !ruby/object:Gem::Requirement
39
+ requirement: &70221585006000 !ruby/object:Gem::Requirement
50
40
  none: false
51
41
  requirements:
52
42
  - - ! '>='
@@ -54,15 +44,10 @@ dependencies:
54
44
  version: '0'
55
45
  type: :runtime
56
46
  prerelease: false
57
- version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
- requirements:
60
- - - ! '>='
61
- - !ruby/object:Gem::Version
62
- version: '0'
47
+ version_requirements: *70221585006000
63
48
  - !ruby/object:Gem::Dependency
64
49
  name: yajl-ruby
65
- requirement: !ruby/object:Gem::Requirement
50
+ requirement: &70221585005580 !ruby/object:Gem::Requirement
66
51
  none: false
67
52
  requirements:
68
53
  - - ! '>='
@@ -70,15 +55,10 @@ dependencies:
70
55
  version: '0'
71
56
  type: :runtime
72
57
  prerelease: false
73
- version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
- requirements:
76
- - - ! '>='
77
- - !ruby/object:Gem::Version
78
- version: '0'
58
+ version_requirements: *70221585005580
79
59
  - !ruby/object:Gem::Dependency
80
60
  name: rake
81
- requirement: !ruby/object:Gem::Requirement
61
+ requirement: &70221585005160 !ruby/object:Gem::Requirement
82
62
  none: false
83
63
  requirements:
84
64
  - - ! '>='
@@ -86,15 +66,10 @@ dependencies:
86
66
  version: '0'
87
67
  type: :development
88
68
  prerelease: false
89
- version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
- requirements:
92
- - - ! '>='
93
- - !ruby/object:Gem::Version
94
- version: '0'
69
+ version_requirements: *70221585005160
95
70
  - !ruby/object:Gem::Dependency
96
71
  name: json_pure
97
- requirement: !ruby/object:Gem::Requirement
72
+ requirement: &70221585004740 !ruby/object:Gem::Requirement
98
73
  none: false
99
74
  requirements:
100
75
  - - ! '>='
@@ -102,15 +77,10 @@ dependencies:
102
77
  version: '0'
103
78
  type: :development
104
79
  prerelease: false
105
- version_requirements: !ruby/object:Gem::Requirement
106
- none: false
107
- requirements:
108
- - - ! '>='
109
- - !ruby/object:Gem::Version
110
- version: '0'
80
+ version_requirements: *70221585004740
111
81
  - !ruby/object:Gem::Dependency
112
82
  name: rspec
113
- requirement: !ruby/object:Gem::Requirement
83
+ requirement: &70221585004240 !ruby/object:Gem::Requirement
114
84
  none: false
115
85
  requirements:
116
86
  - - ~>
@@ -118,15 +88,10 @@ dependencies:
118
88
  version: 2.9.0
119
89
  type: :development
120
90
  prerelease: false
121
- version_requirements: !ruby/object:Gem::Requirement
122
- none: false
123
- requirements:
124
- - - ~>
125
- - !ruby/object:Gem::Version
126
- version: 2.9.0
91
+ version_requirements: *70221585004240
127
92
  - !ruby/object:Gem::Dependency
128
93
  name: webmock
129
- requirement: !ruby/object:Gem::Requirement
94
+ requirement: &70221585003820 !ruby/object:Gem::Requirement
130
95
  none: false
131
96
  requirements:
132
97
  - - ! '>='
@@ -134,15 +99,10 @@ dependencies:
134
99
  version: '0'
135
100
  type: :development
136
101
  prerelease: false
137
- version_requirements: !ruby/object:Gem::Requirement
138
- none: false
139
- requirements:
140
- - - ! '>='
141
- - !ruby/object:Gem::Version
142
- version: '0'
102
+ version_requirements: *70221585003820
143
103
  - !ruby/object:Gem::Dependency
144
104
  name: vcr
145
- requirement: !ruby/object:Gem::Requirement
105
+ requirement: &70221585003360 !ruby/object:Gem::Requirement
146
106
  none: false
147
107
  requirements:
148
108
  - - ! '>='
@@ -150,15 +110,10 @@ dependencies:
150
110
  version: '0'
151
111
  type: :development
152
112
  prerelease: false
153
- version_requirements: !ruby/object:Gem::Requirement
154
- none: false
155
- requirements:
156
- - - ! '>='
157
- - !ruby/object:Gem::Version
158
- version: '0'
113
+ version_requirements: *70221585003360
159
114
  - !ruby/object:Gem::Dependency
160
115
  name: ZenTest
161
- requirement: !ruby/object:Gem::Requirement
116
+ requirement: &70221587187880 !ruby/object:Gem::Requirement
162
117
  none: false
163
118
  requirements:
164
119
  - - ! '>='
@@ -166,15 +121,10 @@ dependencies:
166
121
  version: '0'
167
122
  type: :development
168
123
  prerelease: false
169
- version_requirements: !ruby/object:Gem::Requirement
170
- none: false
171
- requirements:
172
- - - ! '>='
173
- - !ruby/object:Gem::Version
174
- version: '0'
124
+ version_requirements: *70221587187880
175
125
  - !ruby/object:Gem::Dependency
176
126
  name: autotest-growl
177
- requirement: !ruby/object:Gem::Requirement
127
+ requirement: &70221587187460 !ruby/object:Gem::Requirement
178
128
  none: false
179
129
  requirements:
180
130
  - - ! '>='
@@ -182,12 +132,7 @@ dependencies:
182
132
  version: '0'
183
133
  type: :development
184
134
  prerelease: false
185
- version_requirements: !ruby/object:Gem::Requirement
186
- none: false
187
- requirements:
188
- - - ! '>='
189
- - !ruby/object:Gem::Version
190
- version: '0'
135
+ version_requirements: *70221587187460
191
136
  description: A complete, simple, and intuitive ruby API for all things Github.
192
137
  email:
193
138
  - rauh.ryan@gmail.com
@@ -263,22 +208,36 @@ required_ruby_version: !ruby/object:Gem::Requirement
263
208
  - - ! '>='
264
209
  - !ruby/object:Gem::Version
265
210
  version: '0'
266
- segments:
267
- - 0
268
- hash: 4307522016883475070
269
211
  required_rubygems_version: !ruby/object:Gem::Requirement
270
212
  none: false
271
213
  requirements:
272
214
  - - ! '>='
273
215
  - !ruby/object:Gem::Version
274
216
  version: '0'
275
- segments:
276
- - 0
277
- hash: 4307522016883475070
278
217
  requirements: []
279
218
  rubyforge_project: ghee
280
- rubygems_version: 1.8.24
219
+ rubygems_version: 1.8.15
281
220
  signing_key:
282
221
  specification_version: 3
283
222
  summary: Access Github in ruby.
284
- test_files: []
223
+ test_files:
224
+ - spec/fyeah.jpg
225
+ - spec/ghee/api/authorizations_spec.rb
226
+ - spec/ghee/api/collaborators_spec.rb
227
+ - spec/ghee/api/downloads_spec.rb
228
+ - spec/ghee/api/events_spec.rb
229
+ - spec/ghee/api/gists_spec.rb
230
+ - spec/ghee/api/gitdata_spec.rb
231
+ - spec/ghee/api/hooks_spec.rb
232
+ - spec/ghee/api/issues_spec.rb
233
+ - spec/ghee/api/milestones_spec.rb
234
+ - spec/ghee/api/orgs_spec.rb
235
+ - spec/ghee/api/repos_spec.rb
236
+ - spec/ghee/api/teams_spec.rb
237
+ - spec/ghee/api/users_spec.rb
238
+ - spec/ghee/connection_spec.rb
239
+ - spec/ghee/resource_proxy_spec.rb
240
+ - spec/ghee_spec.rb
241
+ - spec/settings.yml.sample
242
+ - spec/spec.opts
243
+ - spec/spec_helper.rb