gemfury 0.4.0.beta2 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,147 @@
1
+ Gemfury
2
+ =======
3
+
4
+ Gemfury is your personal cloud for your private and custom RubyGems.
5
+ Once you upload your RubyGem and enable Gemfury as a source, you can
6
+ securely deploy any gem to any host. It's simple, reliable, and
7
+ hassle-free.
8
+
9
+ Overview
10
+ --------
11
+
12
+ Gemfury allows you to push your RubyGems to our secure cloud storage
13
+ and to deploy them without the need for additional tools or hosting.
14
+ Once you [register for a Gemfury account][0], you can start using it by
15
+ installing the command-line tool:
16
+
17
+ $ sudo gem install gemfury
18
+
19
+ And subsequently uploading your first Gem:
20
+
21
+ $ fury push private-gem-1.0.0.gem
22
+
23
+ That's it!
24
+
25
+ Deployment
26
+ ----------
27
+
28
+ To start installing your gems, you will need to get your secret
29
+ Source-URL from your Gemfury Dashboard. It will look like this:
30
+
31
+ https://gems.gemfury.com/j8e6n7n5n3y09/
32
+
33
+ ### Use it with RubyGems command-line
34
+
35
+ To use it with the regular RubyGems commands, you can add it as a source
36
+ with the following command:
37
+
38
+ $ gem sources -a https://gems.gemfury.com/j8e6n7n5n3y09/
39
+
40
+ This command will store your Gemfury source in your _~/.gemrc_ file
41
+ for future use. You can also do a one-time install with:
42
+
43
+ $ gem install private-gem --source https://gems.gemfury.com/j8e6n7n5n3y09/
44
+
45
+ ### Use it with Bundler
46
+
47
+ Using Gemfury with Bundler is simple as well, just add this to your
48
+ Gemfile:
49
+
50
+ source 'https://gems.gemfury.com/j8e6n7n5n3y09/'
51
+
52
+ Collaboration
53
+ -------------
54
+
55
+ You can share your Gemfury account with other Gemfury users. Your
56
+ collaborators will be able to upload and remove RubyGems without
57
+ access to your Secret-URL or the content of previously uploaded gems.
58
+
59
+ ### Enable collaboration
60
+
61
+ Collaboration is currently only available via the prerelease
62
+ command-line tool. To get started, you'll need to install it:
63
+
64
+ $ sudo gem install gemfury
65
+
66
+ ### Managing collaborators
67
+
68
+ Only the account owner can manage collaborators. Collaboration commands
69
+ are all grouped under the _sharing_ prefix. For example, to list the
70
+ collaborators for your account:
71
+
72
+ $ fury sharing
73
+
74
+ Adding and removing collaborators is as easy as:
75
+
76
+ $ fury sharing:add USERNAME
77
+ $ fury sharing:remove USERNAME
78
+
79
+ ### Impersonation
80
+
81
+ Once you have been added as a collaborator, you can perform Gem
82
+ operations as the shared account via the _--as_ option. For example,
83
+ to upload a new Gem into the shared account:
84
+
85
+ $ fury push another-gem-0.1.0.gem --as USERNAME
86
+
87
+ Same is possible with listing and deleting gems:
88
+
89
+ $ fury list --as USERNAME
90
+ $ fury yank another-gem -v 0.1.0 --as USERNAME
91
+
92
+
93
+ Logging-off and more
94
+ --------------------
95
+
96
+ To remove your Gemfury credentials, or to change the current user,
97
+ delete _~/.gems/gemfury_ file or run this command:
98
+
99
+ $ fury logout
100
+
101
+ You can also list the Gems in your account. Unlike _gem list_, this
102
+ command only shows the latest releasable version:
103
+
104
+ $ fury list
105
+
106
+ To list all available versions of a gem, use this:
107
+
108
+ $ fury versions GEMNAME
109
+
110
+ You can find out about yanking gems and others commands with:
111
+
112
+ $ fury help
113
+
114
+
115
+ Using the API client
116
+ --------------------
117
+
118
+ The API and the API client library (included in this gem as
119
+ _Gemfury::Client_) are currently in an unreleased semi-private
120
+ undocumented development state. *Enter at your own peril!*
121
+
122
+ To start using the client, you'll need to get your API token from
123
+ _~/.gem/gemfury_ and initialize the client like so:
124
+
125
+ ``` ruby
126
+ client = Gemfury::Client.new(:user_api_key => 'j8e6n7n5n3y09')
127
+ ```
128
+
129
+ Given the above-mentioned state of the API, we leave you with the
130
+ exercise of figuring out the rest of the library and API :)
131
+
132
+ Stay tuned...
133
+
134
+
135
+ Questions
136
+ ---------
137
+
138
+ Please email support@gemfury.com or file an Issue if you have any
139
+ questions or problems.
140
+
141
+
142
+ Author
143
+ ------
144
+
145
+ Michael Rykov :: michael@gemfury.com :: @MichaelRykov
146
+
147
+ [0]: http://www.gemfury.com/signup
@@ -1,6 +1,5 @@
1
1
  require 'thor'
2
2
  require 'yaml'
3
- require 'launchy'
4
3
  require 'highline'
5
4
  require 'fileutils'
6
5
 
@@ -1,3 +1,3 @@
1
1
  module Gemfury
2
- VERSION = '0.4.0.beta2'
2
+ VERSION = '0.4.0'
3
3
  end
metadata CHANGED
@@ -1,93 +1,115 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: gemfury
3
- version: !ruby/object:Gem::Version
4
- version: 0.4.0.beta2
5
- prerelease: 6
3
+ version: !ruby/object:Gem::Version
4
+ hash: 15
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 4
9
+ - 0
10
+ version: 0.4.0
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Michael Rykov
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2011-10-07 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2011-10-11 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: highline
16
- requirement: &70134682288840 !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
17
24
  none: false
18
- requirements:
25
+ requirements:
19
26
  - - ~>
20
- - !ruby/object:Gem::Version
27
+ - !ruby/object:Gem::Version
28
+ hash: 15
29
+ segments:
30
+ - 1
31
+ - 6
32
+ - 0
21
33
  version: 1.6.0
22
34
  type: :runtime
23
- prerelease: false
24
- version_requirements: *70134682288840
25
- - !ruby/object:Gem::Dependency
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
26
37
  name: thor
27
- requirement: &70134682288340 !ruby/object:Gem::Requirement
28
- none: false
29
- requirements:
30
- - - ~>
31
- - !ruby/object:Gem::Version
32
- version: 0.14.0
33
- type: :runtime
34
38
  prerelease: false
35
- version_requirements: *70134682288340
36
- - !ruby/object:Gem::Dependency
37
- name: launchy
38
- requirement: &70134682287880 !ruby/object:Gem::Requirement
39
+ requirement: &id002 !ruby/object:Gem::Requirement
39
40
  none: false
40
- requirements:
41
+ requirements:
41
42
  - - ~>
42
- - !ruby/object:Gem::Version
43
- version: 0.4.0
43
+ - !ruby/object:Gem::Version
44
+ hash: 39
45
+ segments:
46
+ - 0
47
+ - 14
48
+ - 0
49
+ version: 0.14.0
44
50
  type: :runtime
45
- prerelease: false
46
- version_requirements: *70134682287880
47
- - !ruby/object:Gem::Dependency
51
+ version_requirements: *id002
52
+ - !ruby/object:Gem::Dependency
48
53
  name: multi_json
49
- requirement: &70134682287420 !ruby/object:Gem::Requirement
54
+ prerelease: false
55
+ requirement: &id003 !ruby/object:Gem::Requirement
50
56
  none: false
51
- requirements:
57
+ requirements:
52
58
  - - ~>
53
- - !ruby/object:Gem::Version
59
+ - !ruby/object:Gem::Version
60
+ hash: 19
61
+ segments:
62
+ - 1
63
+ - 0
64
+ - 2
54
65
  version: 1.0.2
55
66
  type: :runtime
56
- prerelease: false
57
- version_requirements: *70134682287420
58
- - !ruby/object:Gem::Dependency
67
+ version_requirements: *id003
68
+ - !ruby/object:Gem::Dependency
59
69
  name: faraday
60
- requirement: &70134682286960 !ruby/object:Gem::Requirement
70
+ prerelease: false
71
+ requirement: &id004 !ruby/object:Gem::Requirement
61
72
  none: false
62
- requirements:
73
+ requirements:
63
74
  - - ~>
64
- - !ruby/object:Gem::Version
75
+ - !ruby/object:Gem::Version
76
+ hash: 11
77
+ segments:
78
+ - 0
79
+ - 7
80
+ - 4
65
81
  version: 0.7.4
66
82
  type: :runtime
67
- prerelease: false
68
- version_requirements: *70134682286960
69
- - !ruby/object:Gem::Dependency
83
+ version_requirements: *id004
84
+ - !ruby/object:Gem::Dependency
70
85
  name: faraday_middleware
71
- requirement: &70134682286500 !ruby/object:Gem::Requirement
86
+ prerelease: false
87
+ requirement: &id005 !ruby/object:Gem::Requirement
72
88
  none: false
73
- requirements:
89
+ requirements:
74
90
  - - ~>
75
- - !ruby/object:Gem::Version
91
+ - !ruby/object:Gem::Version
92
+ hash: 3
93
+ segments:
94
+ - 0
95
+ - 7
96
+ - 0
76
97
  version: 0.7.0
77
98
  type: :runtime
78
- prerelease: false
79
- version_requirements: *70134682286500
80
- description: ! 'Client library and command-line tool to manage your gems on http://gemfury.com
99
+ version_requirements: *id005
100
+ description: |
101
+ Client library and command-line tool to manage your gems on http://gemfury.com
81
102
 
82
- '
83
103
  email: mrykov@gmail.com
84
- executables:
104
+ executables:
85
105
  - gemfury
86
106
  - fury
87
107
  extensions: []
108
+
88
109
  extra_rdoc_files: []
89
- files:
90
- - README
110
+
111
+ files:
112
+ - README.md
91
113
  - bin/fury
92
114
  - bin/gemfury
93
115
  - lib/faraday/request/multipart_with_file.rb
@@ -104,29 +126,49 @@ files:
104
126
  - lib/gemfury.rb
105
127
  homepage: http://gemfury.com
106
128
  licenses: []
107
- post_install_message: ! "************************************************************************\n\n
108
- \ Upload your first gem to start using Gemfury:\n fury push my-gem-1.0.gem\n\n
109
- \ Find out what else you can do:\n fury help\n\n Follow @gemfury on Twitter for
110
- announcements, updates, and news.\n https://twitter.com/gemfury\n\n************************************************************************\n"
129
+
130
+ post_install_message: |
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
+
111
144
  rdoc_options: []
112
- require_paths:
145
+
146
+ require_paths:
113
147
  - lib
114
- required_ruby_version: !ruby/object:Gem::Requirement
148
+ required_ruby_version: !ruby/object:Gem::Requirement
115
149
  none: false
116
- requirements:
117
- - - ! '>='
118
- - !ruby/object:Gem::Version
119
- version: '0'
120
- required_rubygems_version: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ hash: 3
154
+ segments:
155
+ - 0
156
+ version: "0"
157
+ required_rubygems_version: !ruby/object:Gem::Requirement
121
158
  none: false
122
- requirements:
123
- - - ! '>'
124
- - !ruby/object:Gem::Version
125
- version: 1.3.1
159
+ requirements:
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ hash: 3
163
+ segments:
164
+ - 0
165
+ version: "0"
126
166
  requirements: []
167
+
127
168
  rubyforge_project:
128
- rubygems_version: 1.8.11
169
+ rubygems_version: 1.8.10
129
170
  signing_key:
130
171
  specification_version: 3
131
172
  summary: Client library and command-line tool to manage your gems on Gemfury
132
173
  test_files: []
174
+
data/README DELETED
@@ -1 +0,0 @@
1
- Placeholder - real gem coming soon