bundler_geminabox 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 911159cc181cb598a5ca9a713df8284a7fd4179b
4
+ data.tar.gz: ae832067de043f08ab290385151a8b44ee8a863d
5
+ SHA512:
6
+ metadata.gz: 555dff0cf8c52644e3984c188d716b19b47f9dba542a0047e9f0517ed9f0ff011f85eacc55a21433e24f681e83ae928ab910be54a4abf2141eea2e4cf3ae52db
7
+ data.tar.gz: 0b46fbf7df9950a0f020d01fac8a2eace257d007a8ace0654377b7a1f0e5eb1346eda94e9ee3ba8a714727ce520481ac04a77bc7f7e76702bf157dc7fbbac82a
@@ -6,24 +6,24 @@ require 'bundler/gem_helper'
6
6
 
7
7
  module Bundler
8
8
  class GemHelper
9
- def install
10
- desc "Build #{name}-#{version}.gem into the pkg directory."
11
- task 'build' do
12
- build_gem
13
- end
14
-
15
- desc "Build and install #{name}-#{version}.gem into system gems."
16
- task 'install' do
17
- install_gem
18
- end
9
+ def install_with_geminabox
10
+ install_without_geminabox
19
11
 
20
- desc "Create tag #{version_tag} and build and push #{name}-#{version}.gem to your geminabox server"
21
- task 'release' do
22
- release_gem
12
+ if Rake::Task["release"].full_comment
13
+ install_comment = Rake::Task["release"].full_comment.gsub("Rubygems", "your geminabox server")
14
+ if Rake::Task["release"].respond_to?(:clear_comments)
15
+ Rake::Task["release"].clear_comments
16
+ else
17
+ Rake::Task["release"].instance_variable_set("@comment", nil)
18
+ Rake::Task["release"].instance_variable_set("@full_comment", nil)
19
+ end
20
+ Rake::Task["release"].add_description install_comment
23
21
  end
24
-
25
22
  GemHelper.instance = self
26
23
  end
24
+ alias_method :install_without_geminabox, :install
25
+ alias_method :install, :install_with_geminabox
26
+
27
27
 
28
28
  def rubygem_push(path)
29
29
  if Pathname.new("~/.gem/geminabox").expand_path.exist?
@@ -1,3 +1,3 @@
1
1
  module BundlerGeminabox
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,38 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundler_geminabox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
5
- prerelease:
4
+ version: 0.2.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Josh Krueger
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-12-28 00:00:00.000000000 Z
11
+ date: 2015-04-02 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
- requirement: &2156438900 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
- version_requirements: *2156438900
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
25
27
  - !ruby/object:Gem::Dependency
26
28
  name: geminabox
27
- requirement: &2156436080 !ruby/object:Gem::Requirement
28
- none: false
29
+ requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
- - - ! '>='
31
+ - - ">="
31
32
  - !ruby/object:Gem::Version
32
33
  version: '0'
33
34
  type: :runtime
34
35
  prerelease: false
35
- version_requirements: *2156436080
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
36
41
  description: Allows you to build/tag/push internal gems to a geminabox gem server
37
42
  with the same commands bundler's rake helpers provide. This just hijacks the process
38
43
  :)
@@ -42,7 +47,7 @@ executables: []
42
47
  extensions: []
43
48
  extra_rdoc_files: []
44
49
  files:
45
- - .gitignore
50
+ - ".gitignore"
46
51
  - Gemfile
47
52
  - README.md
48
53
  - Rakefile
@@ -53,26 +58,25 @@ files:
53
58
  - lib/bundler_geminabox/version.rb
54
59
  homepage: http://github.com/joshkrueger/bundler_geminabox
55
60
  licenses: []
61
+ metadata: {}
56
62
  post_install_message:
57
63
  rdoc_options: []
58
64
  require_paths:
59
65
  - lib
60
66
  required_ruby_version: !ruby/object:Gem::Requirement
61
- none: false
62
67
  requirements:
63
- - - ! '>='
68
+ - - ">="
64
69
  - !ruby/object:Gem::Version
65
70
  version: '0'
66
71
  required_rubygems_version: !ruby/object:Gem::Requirement
67
- none: false
68
72
  requirements:
69
- - - ! '>='
73
+ - - ">="
70
74
  - !ruby/object:Gem::Version
71
75
  version: '0'
72
76
  requirements: []
73
77
  rubyforge_project:
74
- rubygems_version: 1.8.6
78
+ rubygems_version: 2.2.2
75
79
  signing_key:
76
- specification_version: 3
80
+ specification_version: 4
77
81
  summary: Release internal gems
78
82
  test_files: []