geminabox-rake 2.0.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/geminabox-rake.gemspec +2 -3
- data/lib/geminabox/rake.rb +3 -2
- metadata +5 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 124e8c0df37eee6a0fa8d647df7e494ac64e9450
|
4
|
+
data.tar.gz: 7637fa0efc3b44abb1ede627d16ca5873c1e248e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8c2ccd7e983bb344405e404eee5aa754601fd7f497cb28274b2eb792ba616499de832041ef1841ef30e734cfb55b14b34b816d6e534b6b8c85ac84d27ba715b
|
7
|
+
data.tar.gz: b2dcf92da16db03b825a881c338b20c3582906df6988ba7eab6b84be445b6247e8035492870c82cfaff5ba24bd3dc56c2e3b6bc09166e4123118a7759ccad679
|
data/README.md
CHANGED
@@ -24,14 +24,14 @@ Instead of requiring bundler's rake tasks in your Rakefile use `geminabox-rake`:
|
|
24
24
|
#require 'bundler/gem_tasks' # Do not require bundler's tasks
|
25
25
|
|
26
26
|
require 'geminabox/rake'
|
27
|
-
Geminabox::Rake.install
|
27
|
+
Geminabox::Rake.install
|
28
28
|
```
|
29
29
|
|
30
30
|
You can also specify gem dir or geminabox server in your Rakefile:
|
31
31
|
|
32
32
|
```ruby
|
33
33
|
require 'geminabox/rake'
|
34
|
-
Geminabox::Rake.install dir: './client', host: '
|
34
|
+
Geminabox::Rake.install dir: './client', host: 'http://user:password@gems.server.org/'
|
35
35
|
```
|
36
36
|
|
37
37
|
By default all tasks will be scoped under the `geminabox` namespace to avoid accidental pushes to rubygems.org.
|
@@ -39,7 +39,7 @@ You can define your own namespace:
|
|
39
39
|
|
40
40
|
```ruby
|
41
41
|
require 'geminabox/rake'
|
42
|
-
Geminabox::Rake.install namespace: 'my'
|
42
|
+
Geminabox::Rake.install namespace: 'my'
|
43
43
|
```
|
44
44
|
|
45
45
|
## Contributing
|
data/geminabox-rake.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'geminabox-rake'
|
7
|
-
spec.version = '2.
|
7
|
+
spec.version = '2.1.1'
|
8
8
|
spec.authors = ['Jan Graichen']
|
9
9
|
spec.email = %w(jg@altimos.de)
|
10
10
|
spec.description = %q{Geminabox rake task for building and releasing gems.}
|
@@ -18,8 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.require_paths = %w(lib)
|
19
19
|
|
20
20
|
spec.add_dependency 'bundler', '~> 1.3'
|
21
|
-
spec.add_dependency 'geminabox'
|
21
|
+
spec.add_dependency 'geminabox-jgraichen', '>= 0.12.2.4' #SSL VERSION FIX
|
22
22
|
|
23
|
-
spec.add_development_dependency 'bundler', '~> 1.3'
|
24
23
|
spec.add_development_dependency 'rake'
|
25
24
|
end
|
data/lib/geminabox/rake.rb
CHANGED
@@ -25,15 +25,16 @@ module Geminabox
|
|
25
25
|
|
26
26
|
protected
|
27
27
|
def rubygem_push(path)
|
28
|
-
sh("bundle exec gem
|
28
|
+
sh("bundle exec gem inabox '#{path}' #{geminabox_host_param}")
|
29
29
|
Bundler.ui.confirm "Pushed #{name} #{version} to #{geminabox_host_string}."
|
30
30
|
end
|
31
31
|
|
32
32
|
def geminabox_host_param
|
33
|
-
"--host '#{@host}'"
|
33
|
+
@host ? "--host '#{@host}'" : nil
|
34
34
|
end
|
35
35
|
|
36
36
|
def geminabox_host_string
|
37
|
+
return 'default host' unless @host
|
37
38
|
@host.dup.tap do |uri|
|
38
39
|
uri.user = uri.password = nil
|
39
40
|
uri.user = '**' if uri.user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geminabox-rake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Graichen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -25,33 +25,19 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: geminabox
|
28
|
+
name: geminabox-jgraichen
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 0.12.2.4
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: bundler
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ~>
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '1.3'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ~>
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '1.3'
|
40
|
+
version: 0.12.2.4
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: rake
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|