roger 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/roger/release.rb +4 -3
- data/roger.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 843441f4532ad0dcd2c12697f3cc1a850468a14b
|
4
|
+
data.tar.gz: cdc778e25728a7f07752d57049187ab1335d375d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9891bfcbc25ccefc84b2f165c4b2df93cca0c28fd4c87ff19ab56c52afdb97c36c0311f6b087d1b5f57719a474359a54695b834d99bdf8843d4c81dbba86c2da
|
7
|
+
data.tar.gz: cb4bcf7953ecf4250341c6fdfa868cffc578b5b9dca840ab73ffc501e006e6c478b7fb9d74a33946f21e7e2057ce59772a7fa19fda5ec5ef339f5ecf1bfc88bf
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## Version 1.1.1
|
4
|
+
|
5
|
+
* Better compatiblity with the release as `build` is a relative path it will give sometimes weird issues. This has now been resolved.
|
6
|
+
|
3
7
|
## Version 1.1.0
|
4
8
|
|
5
9
|
* Allow passing of options to release, test and server from Mockupfile
|
data/lib/roger/release.rb
CHANGED
@@ -32,11 +32,12 @@ module Roger
|
|
32
32
|
# @option config [Array,String, nil] :cp CP command to use; Array will be escaped with Shellwords. Pass nil to get native Ruby CP. (default = ["cp", "-RL"])
|
33
33
|
# @option config [Boolean] :blank Keeps the release clean, don't automatically add any processors or finalizers (default = false)
|
34
34
|
def initialize(project, config = {})
|
35
|
+
real_project_path = project.path.realpath
|
35
36
|
defaults = {
|
36
37
|
:scm => :git,
|
37
|
-
:source_path =>
|
38
|
-
:target_path =>
|
39
|
-
:build_path =>
|
38
|
+
:source_path => real_project_path + "html",
|
39
|
+
:target_path => real_project_path + "releases",
|
40
|
+
:build_path => real_project_path + "build",
|
40
41
|
:cp => ["cp", "-RL"],
|
41
42
|
:blank => false,
|
42
43
|
:cleanup_build => true
|
data/roger.gemspec
CHANGED