git-gems 0.0.1 → 0.0.2a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/git-gems.gemspec +2 -3
- data/lib/git/gems.rb +0 -1
- data/lib/git/gems/cli.rb +3 -4
- data/lib/git/gems/version.rb +1 -1
- metadata +4 -20
- data/spec/.keep +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d10b65934fc3b9d8bac565510dd15dee360b799c
|
4
|
+
data.tar.gz: 4cbc18e89a89486335e2b8de8a2ea655731b13ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5982eacc8bd3eafc25bb61dc410ffcf2cbaf4468516179e422111e8d6632f155725a19da4b04b2186080c057e867ec169242abd5bad1a86d4c1b308c2294f627
|
7
|
+
data.tar.gz: 317a52b5a25c2039dddfdc34256308e38434968656f615c6a8f5d713f405ad151c9a3026d52ac96de70b41189f1f729f8f018dceec5e80942923ab677c54e161
|
data/git-gems.gemspec
CHANGED
@@ -18,7 +18,6 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.
|
22
|
-
spec.
|
23
|
-
spec.add_development_dependency 'rspec', "~> 3.0"
|
21
|
+
spec.add_runtime_dependency "thor", "~> 0.19.1"
|
22
|
+
spec.add_runtime_dependency "bundler", "~> 1.6"
|
24
23
|
end
|
data/lib/git/gems.rb
CHANGED
data/lib/git/gems/cli.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
require 'rubygems'
|
4
|
-
require 'bundler/setup'
|
5
4
|
require 'thor'
|
6
5
|
|
7
6
|
module Git
|
@@ -29,7 +28,7 @@ module Git
|
|
29
28
|
option :binstubs, :alias => "-b", :default => default_binstubs_path
|
30
29
|
desc "git gems install [OPTIONS]",""
|
31
30
|
def install(*args)
|
32
|
-
exec_cmd "bundle install --path=#{options[:path]} --binstubs=#{options[:binstubs]}
|
31
|
+
exec_cmd "bundle install --path=#{options[:path]} --binstubs=#{options[:binstubs]}"
|
33
32
|
end
|
34
33
|
default_task :install
|
35
34
|
|
@@ -41,7 +40,7 @@ module Git
|
|
41
40
|
desc 'git gems init',''
|
42
41
|
def init()
|
43
42
|
%w(Rakefile Gemfile README.md).each do |f|
|
44
|
-
exec_cmd "cp -a #{File.expand_path("
|
43
|
+
exec_cmd "cp -a #{File.expand_path("../../../../fixtures/#{f}.template", __FILE__)} ./#{f}"
|
45
44
|
end
|
46
45
|
exec_cmd "mkdir -p lib spec"
|
47
46
|
exec_cmd "touch lib/.keep spec/.keep"
|
@@ -51,7 +50,7 @@ module Git
|
|
51
50
|
option :version, :alias => "-v", :default => Time.now.strftime("%Y%m%d%H%M")
|
52
51
|
desc 'git gems release_tag', ''
|
53
52
|
def release_tag
|
54
|
-
exec_cmd "git tag -a 'release-#{options[:version]}'
|
53
|
+
exec_cmd "git tag -a 'release-#{options[:version]}'"
|
55
54
|
end
|
56
55
|
|
57
56
|
private
|
data/lib/git/gems/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-gems
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2a
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hiroshi IKEGAMI
|
@@ -38,20 +38,6 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.6'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rspec
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '3.0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '3.0'
|
55
41
|
description: ''
|
56
42
|
email:
|
57
43
|
- hiroshi.ikegami@magicdrive.jp
|
@@ -73,7 +59,6 @@ files:
|
|
73
59
|
- lib/git/gems.rb
|
74
60
|
- lib/git/gems/cli.rb
|
75
61
|
- lib/git/gems/version.rb
|
76
|
-
- spec/.keep
|
77
62
|
homepage: https://github.com/magicdrive/ruby-git-gems
|
78
63
|
licenses:
|
79
64
|
- MIT
|
@@ -89,15 +74,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
89
74
|
version: '0'
|
90
75
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
76
|
requirements:
|
92
|
-
- - "
|
77
|
+
- - ">"
|
93
78
|
- !ruby/object:Gem::Version
|
94
|
-
version:
|
79
|
+
version: 1.3.1
|
95
80
|
requirements: []
|
96
81
|
rubyforge_project:
|
97
82
|
rubygems_version: 2.2.2
|
98
83
|
signing_key:
|
99
84
|
specification_version: 4
|
100
85
|
summary: 'rubygem utililty: bundler and git wrapper'
|
101
|
-
test_files:
|
102
|
-
- spec/.keep
|
86
|
+
test_files: []
|
103
87
|
has_rdoc:
|
data/spec/.keep
DELETED
File without changes
|