gemfury 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +17 -3
- data/lib/gemfury/version.rb +1 -1
- data/lib/rubygems/commands/fury_command.rb +29 -0
- data/lib/rubygems_plugin.rb +2 -0
- metadata +59 -112
data/README.md
CHANGED
@@ -22,6 +22,20 @@ And subsequently uploading your first Gem:
|
|
22
22
|
|
23
23
|
That's it!
|
24
24
|
|
25
|
+
Uploading Gems
|
26
|
+
--------------
|
27
|
+
|
28
|
+
Uploading your gems is easy. Once you've installed the _gemfury_ gem,
|
29
|
+
upload gems to your account with:
|
30
|
+
|
31
|
+
$ fury push private-gem-1.0.0.gem
|
32
|
+
|
33
|
+
If you are migrating from another gem server, or just have many gems
|
34
|
+
lying around, you can specify a directory path and we will upload
|
35
|
+
all the gems found in that directory:
|
36
|
+
|
37
|
+
$ fury migrate ./path/to/gems
|
38
|
+
|
25
39
|
Deployment
|
26
40
|
----------
|
27
41
|
|
@@ -33,12 +47,12 @@ Source-URL from your Gemfury Dashboard. It will look like this:
|
|
33
47
|
### Use it with RubyGems command-line
|
34
48
|
|
35
49
|
To use it with the regular RubyGems commands, you can add it as a source
|
36
|
-
with the following command
|
50
|
+
with the following command. This command will store your Gemfury source
|
51
|
+
in your _~/.gemrc_ file for future use.
|
37
52
|
|
38
53
|
$ gem sources -a https://gems.gemfury.com/j8e6n7n5n3y09/
|
39
54
|
|
40
|
-
|
41
|
-
for future use. You can also do a one-time install with:
|
55
|
+
You can also do a one-time install with:
|
42
56
|
|
43
57
|
$ gem install private-gem --source https://gems.gemfury.com/j8e6n7n5n3y09/
|
44
58
|
|
data/lib/gemfury/version.rb
CHANGED
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'gemfury'
|
2
|
+
require 'gemfury/command'
|
3
|
+
|
4
|
+
class Gem::Commands::FuryCommand < Gem::Command
|
5
|
+
def description
|
6
|
+
'Push a private gem to your Gemfury account'
|
7
|
+
end
|
8
|
+
|
9
|
+
def arguments
|
10
|
+
"GEM built gem file to push"
|
11
|
+
end
|
12
|
+
|
13
|
+
def usage
|
14
|
+
"#{program_name} GEM"
|
15
|
+
end
|
16
|
+
|
17
|
+
def initialize
|
18
|
+
super 'fury', description
|
19
|
+
add_option('-a', '--as USERNAME', 'Impersonate another account') do |value, options|
|
20
|
+
options[:as] = value
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
def execute
|
25
|
+
opts = options.dup
|
26
|
+
args = opts.delete(:args)
|
27
|
+
Gemfury::Command::App.send(:dispatch, "push", args, opts, {})
|
28
|
+
end
|
29
|
+
end
|
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.4
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 4
|
9
|
-
- 3
|
10
|
-
version: 0.4.3
|
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: 2012-02-02 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: &70200986146460 !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: *70200986146460
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: thor
|
27
|
+
requirement: &70200986145960 !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: *70200986145960
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: multi_json
|
38
|
+
requirement: &70200986145500 !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: *70200986145500
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: faraday
|
49
|
+
requirement: &70200986145040 !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: *70200986145040
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: faraday_middleware
|
60
|
+
requirement: &70200986144580 !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: *70200986144580
|
69
|
+
description: ! 'Cloud Gem Server for your private RubyGems at 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,54 +93,34 @@ files:
|
|
126
93
|
- lib/gemfury/tasks.rb
|
127
94
|
- lib/gemfury/version.rb
|
128
95
|
- lib/gemfury.rb
|
129
|
-
|
96
|
+
- lib/rubygems/commands/fury_command.rb
|
97
|
+
- lib/rubygems_plugin.rb
|
98
|
+
homepage: http://www.gemfury.com
|
130
99
|
licenses: []
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
fury push my-gem-1.0.gem
|
137
|
-
|
138
|
-
If you have a directory with gems, you can use:
|
139
|
-
fury migrate ./path/to/gems
|
140
|
-
|
141
|
-
Find out what else you can do:
|
142
|
-
fury help
|
143
|
-
|
144
|
-
Follow @gemfury on Twitter for announcements, updates, and news.
|
145
|
-
https://twitter.com/gemfury
|
146
|
-
|
147
|
-
************************************************************************
|
148
|
-
|
100
|
+
post_install_message: ! "************************************************************************\n\n
|
101
|
+
\ Upload your first gem to start using Gemfury:\n fury push my-gem-1.0.gem\n\n
|
102
|
+
\ If you have a directory with gems, you can use:\n fury migrate ./path/to/gems\n\n
|
103
|
+
\ Find out what else you can do:\n fury help\n\n Follow @gemfury on Twitter for
|
104
|
+
announcements, updates, and news.\n https://twitter.com/gemfury\n\n************************************************************************\n"
|
149
105
|
rdoc_options: []
|
150
|
-
|
151
|
-
require_paths:
|
106
|
+
require_paths:
|
152
107
|
- lib
|
153
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
108
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
154
109
|
none: false
|
155
|
-
requirements:
|
156
|
-
- -
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
|
159
|
-
|
160
|
-
- 0
|
161
|
-
version: "0"
|
162
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
|
+
requirements:
|
111
|
+
- - ! '>='
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: '0'
|
114
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
163
115
|
none: false
|
164
|
-
requirements:
|
165
|
-
- -
|
166
|
-
- !ruby/object:Gem::Version
|
167
|
-
|
168
|
-
segments:
|
169
|
-
- 0
|
170
|
-
version: "0"
|
116
|
+
requirements:
|
117
|
+
- - ! '>='
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '0'
|
171
120
|
requirements: []
|
172
|
-
|
173
121
|
rubyforge_project:
|
174
122
|
rubygems_version: 1.8.11
|
175
123
|
signing_key:
|
176
124
|
specification_version: 3
|
177
125
|
summary: Cloud Gem Server for your private RubyGems
|
178
126
|
test_files: []
|
179
|
-
|