release-gem 0.1.12 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/exe/release-gem-infect +17 -0
- data/lib/release/gem/release_infector.rb +2 -1
- data/lib/release/gem/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf9c3c021566df9bd40e2806b3a2a7fb42675adaf55ee59e9382f23d94fb1e29
|
4
|
+
data.tar.gz: 0fc2b9946640ee1d736bcca13f2e63917ef3f98e1ac8db032717f9560a1477a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a64db00ae8c10cce7a0044f1db6097687d34dd5180fb30cf24b7321d374e377664b741607c92c5fdb0caa44586216b5656dd22073bae04a3c9344f1378180acc
|
7
|
+
data.tar.gz: ea93ba4159bf18e2c69552c9cc504eadc78c8b31107967cdae920df5c84ae8760cadb750b4162af80f18d1d980fff4b97d4cddf006b9a83e7667e656c0e390a7
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
release-gem (0.1.
|
4
|
+
release-gem (0.1.14)
|
5
5
|
colorize
|
6
6
|
git_cli
|
7
7
|
gvcs
|
@@ -39,7 +39,7 @@ GEM
|
|
39
39
|
rspec-support (~> 3.12.0)
|
40
40
|
rspec-support (3.12.0)
|
41
41
|
teLogger (0.2.2)
|
42
|
-
toolrack (0.22.
|
42
|
+
toolrack (0.22.1)
|
43
43
|
tty-color (0.6.0)
|
44
44
|
tty-command (0.10.1)
|
45
45
|
pastel (~> 0.8)
|
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'release/gem'
|
4
|
+
|
5
|
+
if ARGV.length == 0
|
6
|
+
STDERR.puts "<location of the gem>"
|
7
|
+
else
|
8
|
+
root = ARGV.first
|
9
|
+
if File.directory?(root)
|
10
|
+
name = File.basename(root)
|
11
|
+
ri = Release::Gem::ReleaseInfector.new(root, name)
|
12
|
+
ri.infect
|
13
|
+
ri.trigger_release_gem
|
14
|
+
else
|
15
|
+
STDERR.puts "Given path '#{root}' not a directory"
|
16
|
+
end
|
17
|
+
end
|
@@ -23,6 +23,7 @@ module Release
|
|
23
23
|
add_to_gemspec(&block)
|
24
24
|
Bundler.with_clean_env do
|
25
25
|
res = `cd #{@root} && bundle`
|
26
|
+
puts res
|
26
27
|
end
|
27
28
|
end
|
28
29
|
|
@@ -41,7 +42,7 @@ module Release
|
|
41
42
|
terminal = ""
|
42
43
|
Bundler.with_clean_env do
|
43
44
|
|
44
|
-
cmd = "cd #{@root} && rake gem:release"
|
45
|
+
cmd = "cd #{@root} && bundle update 2>&1 && rake gem:release"
|
45
46
|
if block
|
46
47
|
terminal = block.call(:select_terminal, name: @name, options: poss)
|
47
48
|
if terminal != :skip
|
data/lib/release/gem/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: release-gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris
|
@@ -111,7 +111,8 @@ dependencies:
|
|
111
111
|
description: ''
|
112
112
|
email:
|
113
113
|
- chris@antrapol.com
|
114
|
-
executables:
|
114
|
+
executables:
|
115
|
+
- release-gem-infect
|
115
116
|
extensions: []
|
116
117
|
extra_rdoc_files: []
|
117
118
|
files:
|
@@ -120,6 +121,7 @@ files:
|
|
120
121
|
- Gemfile.lock
|
121
122
|
- README.md
|
122
123
|
- Rakefile
|
124
|
+
- exe/release-gem-infect
|
123
125
|
- lib/release/Rakefile
|
124
126
|
- lib/release/gem.rb
|
125
127
|
- lib/release/gem/gem_action.rb
|