pageflow-support 0.11.4 → 12.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/pageflow/dummy/app.rb +10 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bafbbbc6658d5d7868d2f50aade15d78591b83e
|
4
|
+
data.tar.gz: afbcce3584b4a6fcd39533f6c1119b032136a3af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9de5193c848f47e2740f365e73e6514cf4b977722c07e9929c503f83c6051d8d3e768552bbbe63dacddd909c566a4d126cc4c514385483ad15eb46d2406e6e6
|
7
|
+
data.tar.gz: e8ea53995dc0fc08a88abc936bc8ac6d70a2f19313e28a9465050dc6c00183b8038dbd262ac73f9542b3ee0575e14947d3b85fd089e422fb2808dd5418fab981
|
data/pageflow/dummy/app.rb
CHANGED
@@ -6,10 +6,12 @@ module Pageflow
|
|
6
6
|
def generate
|
7
7
|
ENV['RAILS_ROOT'] = File.expand_path(directory)
|
8
8
|
|
9
|
-
if File.
|
9
|
+
if File.exist?(directory)
|
10
10
|
puts("Dummy directory #{directory} exists.")
|
11
11
|
else
|
12
|
-
|
12
|
+
travis_fold('setup_dummy') do
|
13
|
+
system("bundle exec rails new #{directory} --template #{template_path} #{rails_new_options}")
|
14
|
+
end
|
13
15
|
end
|
14
16
|
|
15
17
|
require(File.join(ENV['RAILS_ROOT'], 'config', 'environment'))
|
@@ -27,6 +29,12 @@ module Pageflow
|
|
27
29
|
def rails_new_options
|
28
30
|
'--skip-test-unit --skip-bundle --database=mysql'
|
29
31
|
end
|
32
|
+
|
33
|
+
def travis_fold(name)
|
34
|
+
system("[ $TRAVIS ] && echo 'travis_fold:start:#{name}'")
|
35
|
+
yield
|
36
|
+
system("[ $TRAVIS ] && echo 'travis_fold:end:#{name}'")
|
37
|
+
end
|
30
38
|
end
|
31
39
|
end
|
32
40
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pageflow-support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 12.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Codevise Solutions Ltd
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pageflow
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 12.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 12.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mysql2
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|