oauth-cli 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/.gitignore +3 -0
- data/CHANGELOG +9 -1
- data/Gemfile +4 -0
- data/Rakefile +2 -13
- data/bin/oauthc +1 -1
- data/oauth-cli.gemspec +21 -45
- metadata +14 -55
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/.gitignore
ADDED
data/CHANGELOG
CHANGED
@@ -2,11 +2,19 @@
|
|
2
2
|
// ---------------------------
|
3
3
|
// on exit, ask if connection data should be saved to profile
|
4
4
|
|
5
|
+
0.0.8
|
6
|
+
--------------------------
|
7
|
+
fix color formatting. Closes gh-1 (by Alexey Zakhlestin <indeyets@gmail.com>)
|
8
|
+
updated to bundler, removed echoe
|
9
|
+
|
10
|
+
|
5
11
|
0.0.7
|
6
12
|
--------------------------
|
7
13
|
open url directly in browser via launchy gem (thx @pht for pointing me)
|
8
|
-
added soundcloud profile
|
9
14
|
add autocomplete for interactive commands (get, put, post, delete, auth, help)
|
15
|
+
added soundcloud profile
|
16
|
+
show auth status in prompt
|
17
|
+
fixed trailing slash in uri
|
10
18
|
|
11
19
|
|
12
20
|
0.0.6
|
data/Gemfile
ADDED
data/Rakefile
CHANGED
@@ -1,13 +1,2 @@
|
|
1
|
-
require '
|
2
|
-
|
3
|
-
require 'echoe'
|
4
|
-
|
5
|
-
Echoe.new('oauth-cli', '0.0.7') do |p|
|
6
|
-
p.description = "A simple CLI client to test your oauth API easily"
|
7
|
-
p.url = "http://github.com/rngtng/oauth-cli"
|
8
|
-
p.author = "rngtng - Tobias Bielohlawek"
|
9
|
-
p.email = "tobi @nospam@ rngtng.com"
|
10
|
-
p.ignore_pattern = ["tmp/*", "script/*"]
|
11
|
-
p.development_dependencies = ["mocha >=0", "echoe >=0"]
|
12
|
-
p.runtime_dependencies = ["highline >=1.5.1", "json >=1.1.9", "oauth >=0.3.6", "launchy"]
|
13
|
-
end
|
1
|
+
require 'bundler'
|
2
|
+
Bundler::GemHelper.install_tasks
|
data/bin/oauthc
CHANGED
@@ -146,7 +146,7 @@ end
|
|
146
146
|
|
147
147
|
loop do
|
148
148
|
begin
|
149
|
-
auth = @client.auth? ? "'(authorized)', GREEN)" : "
|
149
|
+
auth = @client.auth? ? "'(authorized)', GREEN)" : "'(unauthorized)', RED)"
|
150
150
|
input = ask "<%= color('#{profile}', BOLD) %> <%= color( #{auth} %> >> "
|
151
151
|
command, uri, body = input.chomp.split(' ')
|
152
152
|
|
data/oauth-cli.gemspec
CHANGED
@@ -1,53 +1,29 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
2
3
|
|
3
4
|
Gem::Specification.new do |s|
|
4
|
-
s.name
|
5
|
-
s.version
|
5
|
+
s.name = "oauth-cli"
|
6
|
+
s.version = "0.0.8"
|
7
|
+
s.platform = Gem::Platform::RUBY
|
8
|
+
s.authors = ["rngtng - Tobias Bielohlawek"]
|
9
|
+
s.email = %q{tobi @nospam@ rngtng.com}
|
10
|
+
s.homepage = %q{http://github.com/rngtng/oauth-cli}
|
11
|
+
s.summary = %q{A simple CLI client to test your oauth API easily}
|
12
|
+
s.description = %q{A simple CLI client to test your oauth API easily}
|
6
13
|
|
7
|
-
s.
|
8
|
-
s.
|
9
|
-
|
10
|
-
s.
|
11
|
-
s.
|
12
|
-
s.
|
13
|
-
s.email = %q{tobi @nospam@ rngtng.com}
|
14
|
-
s.executables = ["oauthc"]
|
15
|
-
s.extra_rdoc_files = ["CHANGELOG", "README.rdoc", "bin/oauthc", "lib/oauth_cli.rb"]
|
16
|
-
s.files = ["CHANGELOG", "Manifest", "README.rdoc", "Rakefile", "bin/oauthc", "completion", "lib/oauth_cli.rb", "oauth-cli.gemspec", "profiles.yaml", "test/helper.rb", "test/test_oauth_cli.rb", "test/test_oauthc.rb"]
|
17
|
-
s.homepage = %q{http://github.com/rngtng/oauth-cli}
|
18
|
-
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Oauth-cli", "--main", "README.rdoc"]
|
14
|
+
s.cert_chain = ["/Users/tobi/env/keys/gem-public_cert.pem"]
|
15
|
+
s.signing_key = %q{/Users/tobi/env/keys/gem-private_key.pem}
|
16
|
+
|
17
|
+
s.files = `git ls-files`.split("\n")
|
18
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
20
|
s.require_paths = ["lib"]
|
20
|
-
s.rubyforge_project = %q{oauth-cli}
|
21
|
-
s.rubygems_version = %q{1.3.7}
|
22
|
-
s.signing_key = %q{/Users/tobi/.ssh/gem-private_key.pem}
|
23
|
-
s.summary = %q{A simple CLI client to test your oauth API easily}
|
24
|
-
s.test_files = ["test/test_oauth_cli.rb", "test/test_oauthc.rb"]
|
25
21
|
|
26
|
-
|
27
|
-
|
28
|
-
|
22
|
+
["highline >=1.5.1", "json >=1.1.9", "oauth >=0.3.6", "launchy"].each do |gem|
|
23
|
+
s.add_dependency *gem.split(' ')
|
24
|
+
end
|
29
25
|
|
30
|
-
|
31
|
-
|
32
|
-
s.add_runtime_dependency(%q<json>, [">= 1.1.9"])
|
33
|
-
s.add_runtime_dependency(%q<oauth>, [">= 0.3.6"])
|
34
|
-
s.add_runtime_dependency(%q<launchy>, [">= 0"])
|
35
|
-
s.add_development_dependency(%q<mocha>, [">= 0"])
|
36
|
-
s.add_development_dependency(%q<echoe>, [">= 0"])
|
37
|
-
else
|
38
|
-
s.add_dependency(%q<highline>, [">= 1.5.1"])
|
39
|
-
s.add_dependency(%q<json>, [">= 1.1.9"])
|
40
|
-
s.add_dependency(%q<oauth>, [">= 0.3.6"])
|
41
|
-
s.add_dependency(%q<launchy>, [">= 0"])
|
42
|
-
s.add_dependency(%q<mocha>, [">= 0"])
|
43
|
-
s.add_dependency(%q<echoe>, [">= 0"])
|
44
|
-
end
|
45
|
-
else
|
46
|
-
s.add_dependency(%q<highline>, [">= 1.5.1"])
|
47
|
-
s.add_dependency(%q<json>, [">= 1.1.9"])
|
48
|
-
s.add_dependency(%q<oauth>, [">= 0.3.6"])
|
49
|
-
s.add_dependency(%q<launchy>, [">= 0"])
|
50
|
-
s.add_dependency(%q<mocha>, [">= 0"])
|
51
|
-
s.add_dependency(%q<echoe>, [">= 0"])
|
26
|
+
["mocha", "bundler"].each do |gem|
|
27
|
+
s.add_development_dependency *gem.split(' ')
|
52
28
|
end
|
53
|
-
end
|
29
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oauth-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 7
|
10
|
-
version: 0.0.7
|
4
|
+
prerelease:
|
5
|
+
version: 0.0.8
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- rngtng - Tobias Bielohlawek
|
@@ -35,7 +30,7 @@ cert_chain:
|
|
35
30
|
I5mOkC+DmQeKRCyukHoWnysL5IyK+l7JEPymkOlNWkl006u5rNu/d7LJJW19+ZvC
|
36
31
|
-----END CERTIFICATE-----
|
37
32
|
|
38
|
-
date:
|
33
|
+
date: 2011-03-30 00:00:00 +02:00
|
39
34
|
default_executable:
|
40
35
|
dependencies:
|
41
36
|
- !ruby/object:Gem::Dependency
|
@@ -46,11 +41,6 @@ dependencies:
|
|
46
41
|
requirements:
|
47
42
|
- - ">="
|
48
43
|
- !ruby/object:Gem::Version
|
49
|
-
hash: 1
|
50
|
-
segments:
|
51
|
-
- 1
|
52
|
-
- 5
|
53
|
-
- 1
|
54
44
|
version: 1.5.1
|
55
45
|
type: :runtime
|
56
46
|
version_requirements: *id001
|
@@ -62,11 +52,6 @@ dependencies:
|
|
62
52
|
requirements:
|
63
53
|
- - ">="
|
64
54
|
- !ruby/object:Gem::Version
|
65
|
-
hash: 1
|
66
|
-
segments:
|
67
|
-
- 1
|
68
|
-
- 1
|
69
|
-
- 9
|
70
55
|
version: 1.1.9
|
71
56
|
type: :runtime
|
72
57
|
version_requirements: *id002
|
@@ -78,11 +63,6 @@ dependencies:
|
|
78
63
|
requirements:
|
79
64
|
- - ">="
|
80
65
|
- !ruby/object:Gem::Version
|
81
|
-
hash: 31
|
82
|
-
segments:
|
83
|
-
- 0
|
84
|
-
- 3
|
85
|
-
- 6
|
86
66
|
version: 0.3.6
|
87
67
|
type: :runtime
|
88
68
|
version_requirements: *id003
|
@@ -94,9 +74,6 @@ dependencies:
|
|
94
74
|
requirements:
|
95
75
|
- - ">="
|
96
76
|
- !ruby/object:Gem::Version
|
97
|
-
hash: 3
|
98
|
-
segments:
|
99
|
-
- 0
|
100
77
|
version: "0"
|
101
78
|
type: :runtime
|
102
79
|
version_requirements: *id004
|
@@ -108,23 +85,17 @@ dependencies:
|
|
108
85
|
requirements:
|
109
86
|
- - ">="
|
110
87
|
- !ruby/object:Gem::Version
|
111
|
-
hash: 3
|
112
|
-
segments:
|
113
|
-
- 0
|
114
88
|
version: "0"
|
115
89
|
type: :development
|
116
90
|
version_requirements: *id005
|
117
91
|
- !ruby/object:Gem::Dependency
|
118
|
-
name:
|
92
|
+
name: bundler
|
119
93
|
prerelease: false
|
120
94
|
requirement: &id006 !ruby/object:Gem::Requirement
|
121
95
|
none: false
|
122
96
|
requirements:
|
123
97
|
- - ">="
|
124
98
|
- !ruby/object:Gem::Version
|
125
|
-
hash: 3
|
126
|
-
segments:
|
127
|
-
- 0
|
128
99
|
version: "0"
|
129
100
|
type: :development
|
130
101
|
version_requirements: *id006
|
@@ -134,13 +105,12 @@ executables:
|
|
134
105
|
- oauthc
|
135
106
|
extensions: []
|
136
107
|
|
137
|
-
extra_rdoc_files:
|
138
|
-
|
139
|
-
- README.rdoc
|
140
|
-
- bin/oauthc
|
141
|
-
- lib/oauth_cli.rb
|
108
|
+
extra_rdoc_files: []
|
109
|
+
|
142
110
|
files:
|
111
|
+
- .gitignore
|
143
112
|
- CHANGELOG
|
113
|
+
- Gemfile
|
144
114
|
- Manifest
|
145
115
|
- README.rdoc
|
146
116
|
- Rakefile
|
@@ -157,13 +127,8 @@ homepage: http://github.com/rngtng/oauth-cli
|
|
157
127
|
licenses: []
|
158
128
|
|
159
129
|
post_install_message:
|
160
|
-
rdoc_options:
|
161
|
-
|
162
|
-
- --inline-source
|
163
|
-
- --title
|
164
|
-
- Oauth-cli
|
165
|
-
- --main
|
166
|
-
- README.rdoc
|
130
|
+
rdoc_options: []
|
131
|
+
|
167
132
|
require_paths:
|
168
133
|
- lib
|
169
134
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -171,27 +136,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
171
136
|
requirements:
|
172
137
|
- - ">="
|
173
138
|
- !ruby/object:Gem::Version
|
174
|
-
hash: 3
|
175
|
-
segments:
|
176
|
-
- 0
|
177
139
|
version: "0"
|
178
140
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
179
141
|
none: false
|
180
142
|
requirements:
|
181
143
|
- - ">="
|
182
144
|
- !ruby/object:Gem::Version
|
183
|
-
|
184
|
-
segments:
|
185
|
-
- 1
|
186
|
-
- 2
|
187
|
-
version: "1.2"
|
145
|
+
version: "0"
|
188
146
|
requirements: []
|
189
147
|
|
190
|
-
rubyforge_project:
|
191
|
-
rubygems_version: 1.
|
148
|
+
rubyforge_project:
|
149
|
+
rubygems_version: 1.6.2
|
192
150
|
signing_key:
|
193
151
|
specification_version: 3
|
194
152
|
summary: A simple CLI client to test your oauth API easily
|
195
153
|
test_files:
|
154
|
+
- test/helper.rb
|
196
155
|
- test/test_oauth_cli.rb
|
197
156
|
- test/test_oauthc.rb
|
metadata.gz.sig
CHANGED
Binary file
|