pageflow-support 12.0.0 → 12.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/pageflow/dummy/app.rb +2 -9
- data/pageflow/dummy/templates/database.yml +13 -15
- data/pageflow/rails_version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d4e7e933531bd4c3bbf24d8a54d84339a6c2c6dd47b12bb4defb45b2c1486696
|
4
|
+
data.tar.gz: 381ffa9ad933d83f9e4b6868c9ada6b9de517125916f5ee9214d1fb5e1b5069e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13330c440ec4c5890cd69148119b6b892a7b343ba491da000b0acaaf2160e540bb502201364b5f5ba7f01bd29969fa4e68b85dff6d99ea36eff4b7c005220439
|
7
|
+
data.tar.gz: 9f3cc71fcf52d1b2c0502b560b6cc221e6e906af150b0ca1399368787dc80b6aec79b501fe66985773b9c3416df67942cf91f60eaa586ddc91a1a51b1cd56d27
|
data/pageflow/dummy/app.rb
CHANGED
@@ -9,9 +9,8 @@ module Pageflow
|
|
9
9
|
if File.exist?(directory)
|
10
10
|
puts("Dummy directory #{directory} exists.")
|
11
11
|
else
|
12
|
-
|
13
|
-
|
14
|
-
end
|
12
|
+
system("bundle exec rails new #{directory} " \
|
13
|
+
"--template #{template_path} #{rails_new_options}")
|
15
14
|
end
|
16
15
|
|
17
16
|
require(File.join(ENV['RAILS_ROOT'], 'config', 'environment'))
|
@@ -29,12 +28,6 @@ module Pageflow
|
|
29
28
|
def rails_new_options
|
30
29
|
'--skip-test-unit --skip-bundle --database=mysql'
|
31
30
|
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
|
38
31
|
end
|
39
32
|
end
|
40
33
|
end
|
@@ -1,27 +1,25 @@
|
|
1
|
-
|
1
|
+
common: &common
|
2
2
|
adapter: mysql2
|
3
3
|
encoding: utf8
|
4
|
-
database: development
|
5
|
-
pool: 5
|
6
4
|
username: <%= ENV.fetch('PAGEFLOW_DB_USER', 'root') %>
|
7
5
|
password: <%= ENV.fetch('PAGEFLOW_DB_PASSWORD', '') %>
|
6
|
+
pool: 5
|
8
7
|
<% if ENV['PAGEFLOW_DB_HOST'].present? %>
|
9
8
|
host: <%= ENV['PAGEFLOW_DB_HOST'] %>
|
10
9
|
port: <%= ENV.fetch('PAGEFLOW_DB_PORT', '3306') %>
|
11
|
-
<%
|
10
|
+
<% elsif File.socket?('/var/run/mysqld/mysqld.sock') %>
|
12
11
|
socket: /var/run/mysqld/mysqld.sock
|
12
|
+
<% elsif File.socket?('/tmp/mysql.sock') %>
|
13
|
+
socket: /tmp/mysql.sock
|
14
|
+
<% else %>
|
15
|
+
host: localhost
|
16
|
+
port: 3306
|
13
17
|
<% end %>
|
14
18
|
|
19
|
+
development:
|
20
|
+
<<: *common
|
21
|
+
database: development
|
22
|
+
|
15
23
|
test:
|
16
|
-
|
17
|
-
encoding: utf8
|
24
|
+
<<: *common
|
18
25
|
database: test
|
19
|
-
pool: 5
|
20
|
-
username: <%= ENV.fetch('PAGEFLOW_DB_USER', 'root') %>
|
21
|
-
password: <%= ENV.fetch('PAGEFLOW_DB_PASSWORD', '') %>
|
22
|
-
<% if ENV['PAGEFLOW_DB_HOST'].present? %>
|
23
|
-
host: <%= ENV['PAGEFLOW_DB_HOST'] %>
|
24
|
-
port: <%= ENV.fetch('PAGEFLOW_DB_PORT', '3306') %>
|
25
|
-
<% else %>
|
26
|
-
socket: /var/run/mysqld/mysqld.sock
|
27
|
-
<% end %>
|
data/pageflow/rails_version.rb
CHANGED
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: 12.
|
4
|
+
version: 12.1.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-11-08 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: 12.
|
19
|
+
version: 12.1.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: 12.
|
26
|
+
version: 12.1.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mysql2
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
version: '0'
|
74
74
|
requirements: []
|
75
75
|
rubyforge_project:
|
76
|
-
rubygems_version: 2.
|
76
|
+
rubygems_version: 2.7.0
|
77
77
|
signing_key:
|
78
78
|
specification_version: 4
|
79
79
|
summary: Spec support for Pageflow extensions.
|