roger 1.3.0 → 1.3.2
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 50192701fd5bb385f0a32bbea440e6d3cdabfe04
|
|
4
|
+
data.tar.gz: 01cc88f4484ed65082066cd8d08cf07867173c38
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 60257be39ef76dcc63add66ce63b6ff87d5607defcc6fb9b6de6da6198ec4f1fa5516a7a6603f4d12bb3aa95a5e773aec022a35da70d9d276929c4eac2a7ac51
|
|
7
|
+
data.tar.gz: 4b33e90cc66ecab64f1683465ce5e5b91f0e8920a76c4754ae0514abd7bf131837afe236f816fde78da8ef8ff25fcfbbbd43cfb5591c54abb777cf37c62c7483
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## Version 1.3.2
|
|
4
|
+
* Fix for missing variable in zip finalizer
|
|
5
|
+
* Fix passing options within Mockup
|
|
6
|
+
|
|
7
|
+
## Version 1.3.1
|
|
8
|
+
This is a dud. It's identical to 1.3.1. Don't use.
|
|
9
|
+
|
|
3
10
|
## Version 1.3.0
|
|
4
11
|
* Add fixed SCM for testing (you can set a fixed version number)
|
|
5
12
|
* Fix for missing variable in UrlRelativizer
|
|
@@ -19,7 +19,7 @@ module Roger::Release::Finalizers
|
|
|
19
19
|
|
|
20
20
|
release.log(self, "Finalizing release to #{zip_path}")
|
|
21
21
|
|
|
22
|
-
cleanup_existing_zip(zip_path)
|
|
22
|
+
cleanup_existing_zip(release, zip_path)
|
|
23
23
|
|
|
24
24
|
check_zip_command(options[:zip])
|
|
25
25
|
|
|
@@ -30,7 +30,7 @@ module Roger::Release::Finalizers
|
|
|
30
30
|
|
|
31
31
|
protected
|
|
32
32
|
|
|
33
|
-
def cleanup_existing_zip(path)
|
|
33
|
+
def cleanup_existing_zip(release, path)
|
|
34
34
|
return unless File.exist?(path)
|
|
35
35
|
|
|
36
36
|
release.log(self, "Removing existing target #{path}")
|
|
@@ -82,7 +82,7 @@ module Roger::Release::Processors
|
|
|
82
82
|
updated_options = {}
|
|
83
83
|
updated_options.update(@options)
|
|
84
84
|
|
|
85
|
-
updated_options.update(options)
|
|
85
|
+
updated_options.update(options) if options
|
|
86
86
|
|
|
87
87
|
updated_options[:env].update("roger.project" => project, "MOCKUP_PROJECT" => project)
|
|
88
88
|
|
data/lib/roger/version.rb
CHANGED
|
@@ -27,5 +27,17 @@ module Roger
|
|
|
27
27
|
|
|
28
28
|
assert File.exist?(@release.target_path + "html-1.0.0.zip"), @release.target_path.inspect
|
|
29
29
|
end
|
|
30
|
+
|
|
31
|
+
def test_cleanup_existing_zip
|
|
32
|
+
finalizer = Roger::Release::Finalizers::Zip.new
|
|
33
|
+
zip = @release.project.construct.file("releases/html-1.0.0.zip")
|
|
34
|
+
|
|
35
|
+
# Get time of file that will be copied
|
|
36
|
+
original_ctime = File.ctime(zip)
|
|
37
|
+
|
|
38
|
+
finalizer.call(@release)
|
|
39
|
+
|
|
40
|
+
assert_not_same original_ctime, File.ctime(zip)
|
|
41
|
+
end
|
|
30
42
|
end
|
|
31
43
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: roger
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Flurin Egger
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2015-06-
|
|
13
|
+
date: 2015-06-22 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: thor
|