geminabox-rake 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f74f96d27d3288628ca414d9185f80e0ee32ad33
4
- data.tar.gz: 8a6f5188368594f7a38382a5b3596f65660d82ea
3
+ metadata.gz: b2509908ff86c4c014bd88ae697a80a8e2a4647a
4
+ data.tar.gz: 5e560993599c939cd6b42b443e7006c635954ead
5
5
  SHA512:
6
- metadata.gz: 87bb56429879fb0db103c7b5797ff1b8a60a999b0fb6550bebd82033602999fd2b7710d19e7983c298551784327459c73415766e7a8c88aa97f5e30a0c5edb3f
7
- data.tar.gz: 68ad9e0ffc2bb88124b0f7aecffbd5ba147cc847aba012769d36fac726076432121fb7cdda5915cbe04301c7c656b6a9a5475df9190707402f5c4c38d4b59730
6
+ metadata.gz: f6d0194ff99d6d7ad86e2cea0ac27e2b519a950d735ad8a845b72790294f1b4eb6ed94c27bee7490d19eae7f82cbf6cc7d4c0d32325237a50a6cd6258bb7108d
7
+ data.tar.gz: e953be24ab82dda7ffefb7f138510170dbdff451792241391e25c43faa1c9fd4ed1662b0969397d955424c28c384add6aaeec476cce9fa3b81b292d0c684ea7f
data/README.md CHANGED
@@ -29,7 +29,7 @@ Geminabox::Rake.install
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
34
  Geminabox::Rake.install dir: './client', host: 'http://user:password@gems.server.org/'
35
35
  ```
@@ -37,7 +37,7 @@ Geminabox::Rake.install dir: './client', host: 'http://user:password@gems.server
37
37
  By default all tasks will be scoped under the `geminabox` namespace to avoid accidental pushes to rubygems.org.
38
38
  You can define your own namespace:
39
39
 
40
- ```
40
+ ```ruby
41
41
  require 'geminabox/rake'
42
42
  Geminabox::Rake.install namespace: 'my'
43
43
  ```
@@ -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 = '1.0.0'
7
+ spec.version = '1.0.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,6 +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
22
 
22
23
  spec.add_development_dependency 'bundler', '~> 1.3'
23
24
  spec.add_development_dependency 'rake'
@@ -24,7 +24,7 @@ module Geminabox
24
24
 
25
25
  protected
26
26
  def rubygem_push(path)
27
- sh("gem inabox '#{path}' #{geminabox_host_param}")
27
+ sh("bundle exec gem inabox '#{path}' #{geminabox_host_param}")
28
28
  Bundler.ui.confirm "Pushed #{name} #{version} to #{@host ? @host : 'default host'}."
29
29
  end
30
30
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geminabox-rake
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Graichen
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: geminabox
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: bundler
29
43
  requirement: !ruby/object:Gem::Requirement