release-gem 0.1.10 → 0.1.12
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 +9 -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: 99c7cefe59fb822873db6f3a10309038c29f51128774092fdfd5577a4f4b72de
|
4
|
+
data.tar.gz: 862e80b22b529b505139cc3e1af19becf86526830cd0f8a5e08c1d39a20c750a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fb87964e09ada8bd998b73e0bc44a9bd1965c1c620f8063f59bb073f2a7102e03fa1111a526e531d7bc7c3ae20135c477c6056993757dc49e0ca3577a6b8ece
|
7
|
+
data.tar.gz: f9249553d25b2bdcfc750d251cd8c71e0b22321b994ac4d9154de8b1a10b352d91b540a3999289dab2b2a1c6af358cddf59e9dc4339b863d2b03ea85e567ccf2
|
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.12)
|
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,12 @@ module Release
|
|
67
67
|
gemdepInst.transfer_gem
|
68
68
|
Gem.logger.debug "GEM transfer!"
|
69
69
|
|
70
|
+
Bundler.with_unbundled_env do
|
71
|
+
Gem.logger.debug "Updating bundle!"
|
72
|
+
# since there is a new version after release!
|
73
|
+
puts `cd #{@root} && bundle update 2>&1`
|
74
|
+
end
|
75
|
+
|
70
76
|
block.call(:development_gem_temporary_promoted)
|
71
77
|
end
|
72
78
|
|
@@ -343,10 +349,10 @@ module Release
|
|
343
349
|
end
|
344
350
|
|
345
351
|
def gemdepInst
|
346
|
-
if @
|
347
|
-
@
|
352
|
+
if @_gemdepInst.nil?
|
353
|
+
@_gemdepInst = GemDep.new(@root)
|
348
354
|
end
|
349
|
-
@
|
355
|
+
@_gemdepInst
|
350
356
|
end
|
351
357
|
|
352
358
|
|
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