release-gem 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/release/gem/gem_action.rb +8 -3
- data/lib/release/gem/gemdep.rb +2 -0
- data/lib/release/gem/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c71467c8f925c9924f3853fa1993810ecf44dd2b9d267cddbc64a80e1d6599f0
|
4
|
+
data.tar.gz: dccf1b09bb103bafeb362a20388bd1faaee4d3783084d64216cff9df113728d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc78df4785534d5e6b2f22524e6dcd5e834aca9cf30a09dff034d7a1407c2d951464959d20a756fd21c4e6d2827d4d8b814dedbd5dab50b9d9ad66a8b2c7a564
|
7
|
+
data.tar.gz: f3e1cb3f88b38634d742c4d90fc4a22e7d08d15e8ef0e5ba23ec896d367c654c045f98a24ce7d82df5ea085ad3c3ae0ff56e38307fbd3f6a553121c362e1102d
|
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.11)
|
5
5
|
colorize
|
6
6
|
git_cli
|
7
7
|
gvcs
|
@@ -15,12 +15,12 @@ GEM
|
|
15
15
|
specs:
|
16
16
|
colorize (0.8.1)
|
17
17
|
diff-lcs (1.5.0)
|
18
|
-
git_cli (0.11.
|
18
|
+
git_cli (0.11.4)
|
19
19
|
gvcs
|
20
20
|
ptools (~> 1.4.0)
|
21
21
|
teLogger
|
22
22
|
toolrack
|
23
|
-
gvcs (0.1.
|
23
|
+
gvcs (0.1.2)
|
24
24
|
pastel (0.8.0)
|
25
25
|
tty-color (~> 0.5)
|
26
26
|
ptools (1.4.3)
|
@@ -67,6 +67,11 @@ module Release
|
|
67
67
|
gemdepInst.transfer_gem
|
68
68
|
Gem.logger.debug "GEM transfer!"
|
69
69
|
|
70
|
+
Bundler.with_unbundled_env do
|
71
|
+
# since there is a new version after release!
|
72
|
+
`cd #{@root} && bundle update`
|
73
|
+
end
|
74
|
+
|
70
75
|
block.call(:development_gem_temporary_promoted)
|
71
76
|
end
|
72
77
|
|
@@ -343,10 +348,10 @@ module Release
|
|
343
348
|
end
|
344
349
|
|
345
350
|
def gemdepInst
|
346
|
-
if @
|
347
|
-
@
|
351
|
+
if @_gemdepInst.nil?
|
352
|
+
@_gemdepInst = GemDep.new(@root)
|
348
353
|
end
|
349
|
-
@
|
354
|
+
@_gemdepInst
|
350
355
|
end
|
351
356
|
|
352
357
|
|
data/lib/release/gem/gemdep.rb
CHANGED
@@ -96,10 +96,12 @@ module Release
|
|
96
96
|
private
|
97
97
|
def remove_dev_gem_from_gemfile
|
98
98
|
if has_development_gem?
|
99
|
+
Gem.logger.debug "remove_dev_gem_from_gemfile has development gem"
|
99
100
|
orin = gemfile_file
|
100
101
|
dest = "#{gemfile_file}.dev"
|
101
102
|
FileUtils.cp(orin, dest)
|
102
103
|
@fileHistory[orin] = dest
|
104
|
+
Gem.logger.debug "fileHistory added : #{@fileHistory}"
|
103
105
|
|
104
106
|
tmpOut = "#{orin}.tmp"
|
105
107
|
|
data/lib/release/gem/version.rb
CHANGED