twurl 0.6.5 → 0.6.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +5 -3
- data/Gemfile +1 -1
- data/INSTALL +1 -1
- data/README +1 -1
- data/Rakefile +2 -22
- data/bin/twurl +1 -1
- data/lib/twurl/abstract_command_controller.rb +1 -1
- data/lib/twurl/account_information_controller.rb +1 -1
- data/lib/twurl/aliases_controller.rb +1 -1
- data/lib/twurl/authorization_controller.rb +1 -1
- data/lib/twurl/configuration_controller.rb +1 -1
- data/lib/twurl/rcfile.rb +8 -3
- data/lib/twurl/version.rb +1 -1
- data/test/test_helper.rb +4 -4
- metadata +84 -97
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/INSTALL
CHANGED
data/README
CHANGED
data/Rakefile
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
#!/usr/bin/env rake
|
2
2
|
require 'rake/testtask'
|
3
3
|
require 'rubygems/package_task'
|
4
|
+
require 'bundler'
|
4
5
|
|
5
6
|
task :default => :test
|
6
7
|
|
@@ -9,25 +10,4 @@ Rake::TestTask.new do |test|
|
|
9
10
|
test.verbose = true
|
10
11
|
end
|
11
12
|
|
12
|
-
|
13
|
-
spec = Gem::Specification.load('twurl.gemspec')
|
14
|
-
|
15
|
-
Gem::PackageTask.new(spec) do |pkg|
|
16
|
-
pkg.need_tar_gz = true
|
17
|
-
pkg.package_files.include('{lib,bin,test}/**/*')
|
18
|
-
pkg.package_files.include('README')
|
19
|
-
pkg.package_files.include('COPYING')
|
20
|
-
pkg.package_files.include('INSTALL')
|
21
|
-
pkg.package_files.include('Rakefile')
|
22
|
-
end
|
23
|
-
|
24
|
-
task :spec do
|
25
|
-
puts spec.to_ruby
|
26
|
-
end
|
27
|
-
|
28
|
-
desc "Unpack current version of library into the twitter.com vendor directory"
|
29
|
-
task :unpack_to_vendor => :repackage do
|
30
|
-
cd 'pkg'
|
31
|
-
system("gem unpack '#{spec.name}-#{spec.version}.gem' --target=$TWITTER/vendor/gems")
|
32
|
-
end
|
33
|
-
end
|
13
|
+
Bundler::GemHelper.install_tasks
|
data/bin/twurl
CHANGED
data/lib/twurl/rcfile.rb
CHANGED
@@ -1,9 +1,14 @@
|
|
1
1
|
module Twurl
|
2
2
|
class RCFile
|
3
3
|
FILE = '.twurlrc'
|
4
|
-
@directory ||= ENV['HOME']
|
5
4
|
class << self
|
6
|
-
|
5
|
+
def directory
|
6
|
+
@@directory ||= File.expand_path('~')
|
7
|
+
end
|
8
|
+
|
9
|
+
def directory=(dir)
|
10
|
+
@@directory = dir
|
11
|
+
end
|
7
12
|
|
8
13
|
def file_path
|
9
14
|
File.join(directory, FILE)
|
@@ -90,4 +95,4 @@ module Twurl
|
|
90
95
|
save
|
91
96
|
end
|
92
97
|
end
|
93
|
-
end
|
98
|
+
end
|
data/lib/twurl/version.rb
CHANGED
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,112 +1,109 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: twurl
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.6.6
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 6
|
9
|
-
- 5
|
10
|
-
version: 0.6.5
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Marcel Molina
|
14
9
|
- Erik Michaels-Ober
|
15
10
|
autorequire:
|
16
11
|
bindir: bin
|
17
12
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
dependencies:
|
22
|
-
- !ruby/object:Gem::Dependency
|
13
|
+
date: 2012-03-12 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
23
16
|
name: oauth
|
24
|
-
|
25
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
26
18
|
none: false
|
27
|
-
requirements:
|
19
|
+
requirements:
|
28
20
|
- - ~>
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
|
31
|
-
segments:
|
32
|
-
- 0
|
33
|
-
- 4
|
34
|
-
version: "0.4"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0.4'
|
35
23
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: rake
|
39
24
|
prerelease: false
|
40
|
-
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ~>
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '0.4'
|
31
|
+
- !ruby/object:Gem::Dependency
|
32
|
+
name: rake
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
41
34
|
none: false
|
42
|
-
requirements:
|
35
|
+
requirements:
|
43
36
|
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
segments:
|
47
|
-
- 0
|
48
|
-
- 8
|
49
|
-
version: "0.8"
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '0.8'
|
50
39
|
type: :development
|
51
|
-
version_requirements: *id002
|
52
|
-
- !ruby/object:Gem::Dependency
|
53
|
-
name: rr
|
54
40
|
prerelease: false
|
55
|
-
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
56
42
|
none: false
|
57
|
-
requirements:
|
43
|
+
requirements:
|
58
44
|
- - ~>
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0.8'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rr
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.0'
|
65
55
|
type: :development
|
66
|
-
version_requirements: *id003
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
|
-
name: simplecov
|
69
56
|
prerelease: false
|
70
|
-
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
58
|
none: false
|
72
|
-
requirements:
|
59
|
+
requirements:
|
73
60
|
- - ~>
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '1.0'
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: simplecov
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
67
|
+
requirements:
|
68
|
+
- - ~>
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0.4'
|
80
71
|
type: :development
|
81
|
-
version_requirements: *id004
|
82
|
-
- !ruby/object:Gem::Dependency
|
83
|
-
name: minitest
|
84
72
|
prerelease: false
|
85
|
-
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
75
|
+
requirements:
|
76
|
+
- - ~>
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '0.4'
|
79
|
+
- !ruby/object:Gem::Dependency
|
80
|
+
name: minitest
|
81
|
+
requirement: !ruby/object:Gem::Requirement
|
86
82
|
none: false
|
87
|
-
requirements:
|
83
|
+
requirements:
|
88
84
|
- - ~>
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
|
91
|
-
segments:
|
92
|
-
- 2
|
93
|
-
- 5
|
94
|
-
version: "2.5"
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '2.5'
|
95
87
|
type: :development
|
96
|
-
|
88
|
+
prerelease: false
|
89
|
+
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
none: false
|
91
|
+
requirements:
|
92
|
+
- - ~>
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '2.5'
|
97
95
|
description: Curl for the Twitter API
|
98
|
-
email:
|
96
|
+
email:
|
99
97
|
- marcel@twitter.com
|
100
|
-
executables:
|
98
|
+
executables:
|
101
99
|
- twurl
|
102
100
|
extensions: []
|
103
|
-
|
104
|
-
extra_rdoc_files:
|
101
|
+
extra_rdoc_files:
|
105
102
|
- CHANGELOG
|
106
103
|
- COPYING
|
107
104
|
- INSTALL
|
108
105
|
- README
|
109
|
-
files:
|
106
|
+
files:
|
110
107
|
- .gemtest
|
111
108
|
- .gitignore
|
112
109
|
- .travis.yml
|
@@ -139,48 +136,37 @@ files:
|
|
139
136
|
- test/request_controller_test.rb
|
140
137
|
- test/test_helper.rb
|
141
138
|
- twurl.gemspec
|
142
|
-
has_rdoc: true
|
143
139
|
homepage: http://github.com/marcel/twurl
|
144
140
|
licenses: []
|
145
|
-
|
146
141
|
post_install_message:
|
147
|
-
rdoc_options:
|
142
|
+
rdoc_options:
|
148
143
|
- --title
|
149
144
|
- twurl -- OAuth-enabled curl for the Twitter API
|
150
145
|
- --main
|
151
146
|
- README
|
152
147
|
- --line-numbers
|
153
148
|
- --inline-source
|
154
|
-
require_paths:
|
149
|
+
require_paths:
|
155
150
|
- lib
|
156
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
151
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
157
152
|
none: false
|
158
|
-
requirements:
|
159
|
-
- -
|
160
|
-
- !ruby/object:Gem::Version
|
161
|
-
|
162
|
-
|
163
|
-
- 0
|
164
|
-
version: "0"
|
165
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
153
|
+
requirements:
|
154
|
+
- - ! '>='
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: '0'
|
157
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
166
158
|
none: false
|
167
|
-
requirements:
|
168
|
-
- -
|
169
|
-
- !ruby/object:Gem::Version
|
170
|
-
hash: 23
|
171
|
-
segments:
|
172
|
-
- 1
|
173
|
-
- 3
|
174
|
-
- 6
|
159
|
+
requirements:
|
160
|
+
- - ! '>='
|
161
|
+
- !ruby/object:Gem::Version
|
175
162
|
version: 1.3.6
|
176
163
|
requirements: []
|
177
|
-
|
178
164
|
rubyforge_project: twurl
|
179
|
-
rubygems_version: 1.
|
165
|
+
rubygems_version: 1.8.18
|
180
166
|
signing_key:
|
181
167
|
specification_version: 3
|
182
168
|
summary: Curl for the Twitter API
|
183
|
-
test_files:
|
169
|
+
test_files:
|
184
170
|
- test/account_information_controller_test.rb
|
185
171
|
- test/alias_controller_test.rb
|
186
172
|
- test/authorization_controller_test.rb
|
@@ -191,3 +177,4 @@ test_files:
|
|
191
177
|
- test/rcfile_test.rb
|
192
178
|
- test/request_controller_test.rb
|
193
179
|
- test/test_helper.rb
|
180
|
+
has_rdoc:
|