t 0.9.5 → 0.9.6

Sign up to get free protection for your applications and to get access to all the features.
data/spec/t_spec.rb ADDED
@@ -0,0 +1,31 @@
1
+ # encoding: utf-8
2
+ require 'helper'
3
+
4
+ describe T do
5
+
6
+ describe "#env" do
7
+ before do
8
+ T.env = "value"
9
+ end
10
+ after do
11
+ T.env = "test"
12
+ end
13
+ it "returns the value" do
14
+ T.env.should == "value"
15
+ end
16
+ it "is inquirable" do
17
+ T.env.value?.should be_true
18
+ end
19
+ end
20
+
21
+ describe "#env=" do
22
+ after do
23
+ T.env = "test"
24
+ end
25
+ it "sets the value" do
26
+ T.env = "value"
27
+ T.env.should == "value"
28
+ end
29
+ end
30
+
31
+ end
data/t.gemspec CHANGED
@@ -7,14 +7,13 @@ Gem::Specification.new do |gem|
7
7
  gem.add_dependency 'launchy', '~> 2.0'
8
8
  gem.add_dependency 'fastercsv', '~> 1.5'
9
9
  gem.add_dependency 'geokit', '~> 1.6'
10
- gem.add_dependency 'highline', '~> 1.6'
11
10
  gem.add_dependency 'htmlentities', '~> 4.3'
12
11
  gem.add_dependency 'json', '~> 1.6'
13
12
  gem.add_dependency 'oauth', '~> 0.4'
14
13
  gem.add_dependency 'retryable', '~> 1.2'
15
- gem.add_dependency 'thor', ['~> 0.15', '< 2']
14
+ gem.add_dependency 'thor', ['>= 0.15.2', '< 2']
16
15
  gem.add_dependency 'tweetstream', '~> 1.1'
17
- gem.add_dependency 'twitter', ['~> 2.2', '>= 2.2.5']
16
+ gem.add_dependency 'twitter', ['~> 2.2', '>= 2.2.8']
18
17
  gem.add_dependency 'twitter-text', '~> 1.4'
19
18
  gem.add_development_dependency 'pry'
20
19
  gem.add_development_dependency 'rake'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: t
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:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-06 00:00:00.000000000 Z
12
+ date: 2012-05-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -103,22 +103,6 @@ dependencies:
103
103
  - - ~>
104
104
  - !ruby/object:Gem::Version
105
105
  version: '1.6'
106
- - !ruby/object:Gem::Dependency
107
- name: highline
108
- requirement: !ruby/object:Gem::Requirement
109
- none: false
110
- requirements:
111
- - - ~>
112
- - !ruby/object:Gem::Version
113
- version: '1.6'
114
- type: :runtime
115
- prerelease: false
116
- version_requirements: !ruby/object:Gem::Requirement
117
- none: false
118
- requirements:
119
- - - ~>
120
- - !ruby/object:Gem::Version
121
- version: '1.6'
122
106
  - !ruby/object:Gem::Dependency
123
107
  name: htmlentities
124
108
  requirement: !ruby/object:Gem::Requirement
@@ -188,9 +172,9 @@ dependencies:
188
172
  requirement: !ruby/object:Gem::Requirement
189
173
  none: false
190
174
  requirements:
191
- - - ~>
175
+ - - ! '>='
192
176
  - !ruby/object:Gem::Version
193
- version: '0.15'
177
+ version: 0.15.2
194
178
  - - <
195
179
  - !ruby/object:Gem::Version
196
180
  version: '2'
@@ -199,9 +183,9 @@ dependencies:
199
183
  version_requirements: !ruby/object:Gem::Requirement
200
184
  none: false
201
185
  requirements:
202
- - - ~>
186
+ - - ! '>='
203
187
  - !ruby/object:Gem::Version
204
- version: '0.15'
188
+ version: 0.15.2
205
189
  - - <
206
190
  - !ruby/object:Gem::Version
207
191
  version: '2'
@@ -231,7 +215,7 @@ dependencies:
231
215
  version: '2.2'
232
216
  - - ! '>='
233
217
  - !ruby/object:Gem::Version
234
- version: 2.2.5
218
+ version: 2.2.8
235
219
  type: :runtime
236
220
  prerelease: false
237
221
  version_requirements: !ruby/object:Gem::Requirement
@@ -242,7 +226,7 @@ dependencies:
242
226
  version: '2.2'
243
227
  - - ! '>='
244
228
  - !ruby/object:Gem::Version
245
- version: 2.2.5
229
+ version: 2.2.8
246
230
  - !ruby/object:Gem::Dependency
247
231
  name: twitter-text
248
232
  requirement: !ruby/object:Gem::Requirement
@@ -401,6 +385,7 @@ files:
401
385
  - spec/fixtures/lists.json
402
386
  - spec/fixtures/locations.json
403
387
  - spec/fixtures/not_found.json
388
+ - spec/fixtures/rate_limit_status.json
404
389
  - spec/fixtures/recommendations.json
405
390
  - spec/fixtures/request_token
406
391
  - spec/fixtures/retweet.json
@@ -408,6 +393,11 @@ files:
408
393
  - spec/fixtures/settings.json
409
394
  - spec/fixtures/sferik.json
410
395
  - spec/fixtures/status.json
396
+ - spec/fixtures/status_no_attributes.json
397
+ - spec/fixtures/status_no_country.json
398
+ - spec/fixtures/status_no_full_name.json
399
+ - spec/fixtures/status_no_locality.json
400
+ - spec/fixtures/status_no_street_address.json
411
401
  - spec/fixtures/statuses.json
412
402
  - spec/fixtures/trends.json
413
403
  - spec/fixtures/true.json
@@ -419,6 +409,7 @@ files:
419
409
  - spec/rcfile_spec.rb
420
410
  - spec/search_spec.rb
421
411
  - spec/set_spec.rb
412
+ - spec/t_spec.rb
422
413
  homepage: http://sferik.github.com/t/
423
414
  licenses: []
424
415
  post_install_message:
@@ -463,6 +454,7 @@ test_files:
463
454
  - spec/fixtures/lists.json
464
455
  - spec/fixtures/locations.json
465
456
  - spec/fixtures/not_found.json
457
+ - spec/fixtures/rate_limit_status.json
466
458
  - spec/fixtures/recommendations.json
467
459
  - spec/fixtures/request_token
468
460
  - spec/fixtures/retweet.json
@@ -470,6 +462,11 @@ test_files:
470
462
  - spec/fixtures/settings.json
471
463
  - spec/fixtures/sferik.json
472
464
  - spec/fixtures/status.json
465
+ - spec/fixtures/status_no_attributes.json
466
+ - spec/fixtures/status_no_country.json
467
+ - spec/fixtures/status_no_full_name.json
468
+ - spec/fixtures/status_no_locality.json
469
+ - spec/fixtures/status_no_street_address.json
473
470
  - spec/fixtures/statuses.json
474
471
  - spec/fixtures/trends.json
475
472
  - spec/fixtures/true.json
@@ -481,4 +478,5 @@ test_files:
481
478
  - spec/rcfile_spec.rb
482
479
  - spec/search_spec.rb
483
480
  - spec/set_spec.rb
481
+ - spec/t_spec.rb
484
482
  has_rdoc: