gemfury 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gemfury.rb +1 -0
- data/lib/gemfury/client.rb +2 -0
- data/lib/gemfury/command/app.rb +3 -3
- data/lib/gemfury/version.rb +1 -1
- metadata +56 -109
data/lib/gemfury.rb
CHANGED
data/lib/gemfury/client.rb
CHANGED
@@ -75,6 +75,7 @@ module Gemfury
|
|
75
75
|
# Add a collaborator to the account
|
76
76
|
def add_collaborator(login, options = {})
|
77
77
|
ensure_ready!(:authorization)
|
78
|
+
login = URI.escape(login, '@.')
|
78
79
|
response = connection.put("collaborators/#{login}", options)
|
79
80
|
ensure_successful_response!(response)
|
80
81
|
end
|
@@ -82,6 +83,7 @@ module Gemfury
|
|
82
83
|
# Remove a collaborator to the account
|
83
84
|
def remove_collaborator(login, options = {})
|
84
85
|
ensure_ready!(:authorization)
|
86
|
+
login = URI.escape(login, '@.')
|
85
87
|
response = connection.delete("collaborators/#{login}", options)
|
86
88
|
ensure_successful_response!(response)
|
87
89
|
end
|
data/lib/gemfury/command/app.rb
CHANGED
@@ -107,15 +107,15 @@ class Gemfury::Command::App < Thor
|
|
107
107
|
end
|
108
108
|
end
|
109
109
|
|
110
|
-
desc "sharing:add
|
110
|
+
desc "sharing:add EMAIL", "Add a collaborator"
|
111
111
|
def sharing_add(username)
|
112
112
|
with_checks_and_rescues do
|
113
113
|
client.add_collaborator(username)
|
114
|
-
shell.say "
|
114
|
+
shell.say "Invited #{username} as a collaborator"
|
115
115
|
end
|
116
116
|
end
|
117
117
|
|
118
|
-
desc "sharing:remove
|
118
|
+
desc "sharing:remove EMAIL", "Remove a collaborator"
|
119
119
|
def sharing_remove(username)
|
120
120
|
with_checks_and_rescues do
|
121
121
|
client.remove_collaborator(username)
|
data/lib/gemfury/version.rb
CHANGED
metadata
CHANGED
@@ -1,114 +1,81 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemfury
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.1
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 4
|
9
|
-
- 0
|
10
|
-
version: 0.4.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Michael Rykov
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-12-06 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: highline
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70238115356980 !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
18
|
+
requirements:
|
26
19
|
- - ~>
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 15
|
29
|
-
segments:
|
30
|
-
- 1
|
31
|
-
- 6
|
32
|
-
- 0
|
20
|
+
- !ruby/object:Gem::Version
|
33
21
|
version: 1.6.0
|
34
22
|
type: :runtime
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: thor
|
38
23
|
prerelease: false
|
39
|
-
|
24
|
+
version_requirements: *70238115356980
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: thor
|
27
|
+
requirement: &70238115355960 !ruby/object:Gem::Requirement
|
40
28
|
none: false
|
41
|
-
requirements:
|
29
|
+
requirements:
|
42
30
|
- - ~>
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
hash: 39
|
45
|
-
segments:
|
46
|
-
- 0
|
47
|
-
- 14
|
48
|
-
- 0
|
31
|
+
- !ruby/object:Gem::Version
|
49
32
|
version: 0.14.0
|
50
33
|
type: :runtime
|
51
|
-
version_requirements: *id002
|
52
|
-
- !ruby/object:Gem::Dependency
|
53
|
-
name: multi_json
|
54
34
|
prerelease: false
|
55
|
-
|
35
|
+
version_requirements: *70238115355960
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: multi_json
|
38
|
+
requirement: &70238115355480 !ruby/object:Gem::Requirement
|
56
39
|
none: false
|
57
|
-
requirements:
|
40
|
+
requirements:
|
58
41
|
- - ~>
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
hash: 19
|
61
|
-
segments:
|
62
|
-
- 1
|
63
|
-
- 0
|
64
|
-
- 2
|
42
|
+
- !ruby/object:Gem::Version
|
65
43
|
version: 1.0.2
|
66
44
|
type: :runtime
|
67
|
-
version_requirements: *id003
|
68
|
-
- !ruby/object:Gem::Dependency
|
69
|
-
name: faraday
|
70
45
|
prerelease: false
|
71
|
-
|
46
|
+
version_requirements: *70238115355480
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: faraday
|
49
|
+
requirement: &70238115354520 !ruby/object:Gem::Requirement
|
72
50
|
none: false
|
73
|
-
requirements:
|
51
|
+
requirements:
|
74
52
|
- - ~>
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
hash: 11
|
77
|
-
segments:
|
78
|
-
- 0
|
79
|
-
- 7
|
80
|
-
- 4
|
53
|
+
- !ruby/object:Gem::Version
|
81
54
|
version: 0.7.4
|
82
55
|
type: :runtime
|
83
|
-
version_requirements: *id004
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: faraday_middleware
|
86
56
|
prerelease: false
|
87
|
-
|
57
|
+
version_requirements: *70238115354520
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: faraday_middleware
|
60
|
+
requirement: &70238115340700 !ruby/object:Gem::Requirement
|
88
61
|
none: false
|
89
|
-
requirements:
|
62
|
+
requirements:
|
90
63
|
- - ~>
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
hash: 3
|
93
|
-
segments:
|
94
|
-
- 0
|
95
|
-
- 7
|
96
|
-
- 0
|
64
|
+
- !ruby/object:Gem::Version
|
97
65
|
version: 0.7.0
|
98
66
|
type: :runtime
|
99
|
-
|
100
|
-
|
101
|
-
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *70238115340700
|
69
|
+
description: ! 'Client library and command-line tool to manage your gems on http://gemfury.com
|
102
70
|
|
71
|
+
'
|
103
72
|
email: mrykov@gmail.com
|
104
|
-
executables:
|
73
|
+
executables:
|
105
74
|
- gemfury
|
106
75
|
- fury
|
107
76
|
extensions: []
|
108
|
-
|
109
77
|
extra_rdoc_files: []
|
110
|
-
|
111
|
-
files:
|
78
|
+
files:
|
112
79
|
- README.md
|
113
80
|
- bin/fury
|
114
81
|
- bin/gemfury
|
@@ -126,49 +93,29 @@ files:
|
|
126
93
|
- lib/gemfury.rb
|
127
94
|
homepage: http://gemfury.com
|
128
95
|
licenses: []
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
Upload your first gem to start using Gemfury:
|
134
|
-
fury push my-gem-1.0.gem
|
135
|
-
|
136
|
-
Find out what else you can do:
|
137
|
-
fury help
|
138
|
-
|
139
|
-
Follow @gemfury on Twitter for announcements, updates, and news.
|
140
|
-
https://twitter.com/gemfury
|
141
|
-
|
142
|
-
************************************************************************
|
143
|
-
|
96
|
+
post_install_message: ! "************************************************************************\n\n
|
97
|
+
\ Upload your first gem to start using Gemfury:\n fury push my-gem-1.0.gem\n\n
|
98
|
+
\ Find out what else you can do:\n fury help\n\n Follow @gemfury on Twitter for
|
99
|
+
announcements, updates, and news.\n https://twitter.com/gemfury\n\n************************************************************************\n"
|
144
100
|
rdoc_options: []
|
145
|
-
|
146
|
-
require_paths:
|
101
|
+
require_paths:
|
147
102
|
- lib
|
148
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
103
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
149
104
|
none: false
|
150
|
-
requirements:
|
151
|
-
- -
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
|
154
|
-
|
155
|
-
- 0
|
156
|
-
version: "0"
|
157
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
106
|
+
- - ! '>='
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: '0'
|
109
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
158
110
|
none: false
|
159
|
-
requirements:
|
160
|
-
- -
|
161
|
-
- !ruby/object:Gem::Version
|
162
|
-
|
163
|
-
segments:
|
164
|
-
- 0
|
165
|
-
version: "0"
|
111
|
+
requirements:
|
112
|
+
- - ! '>='
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '0'
|
166
115
|
requirements: []
|
167
|
-
|
168
116
|
rubyforge_project:
|
169
|
-
rubygems_version: 1.8.
|
117
|
+
rubygems_version: 1.8.11
|
170
118
|
signing_key:
|
171
119
|
specification_version: 3
|
172
120
|
summary: Client library and command-line tool to manage your gems on Gemfury
|
173
121
|
test_files: []
|
174
|
-
|