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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 4bafbbbc6658d5d7868d2f50aade15d78591b83e
4
- data.tar.gz: afbcce3584b4a6fcd39533f6c1119b032136a3af
2
+ SHA256:
3
+ metadata.gz: d4e7e933531bd4c3bbf24d8a54d84339a6c2c6dd47b12bb4defb45b2c1486696
4
+ data.tar.gz: 381ffa9ad933d83f9e4b6868c9ada6b9de517125916f5ee9214d1fb5e1b5069e
5
5
  SHA512:
6
- metadata.gz: d9de5193c848f47e2740f365e73e6514cf4b977722c07e9929c503f83c6051d8d3e768552bbbe63dacddd909c566a4d126cc4c514385483ad15eb46d2406e6e6
7
- data.tar.gz: e8ea53995dc0fc08a88abc936bc8ac6d70a2f19313e28a9465050dc6c00183b8038dbd262ac73f9542b3ee0575e14947d3b85fd089e422fb2808dd5418fab981
6
+ metadata.gz: 13330c440ec4c5890cd69148119b6b892a7b343ba491da000b0acaaf2160e540bb502201364b5f5ba7f01bd29969fa4e68b85dff6d99ea36eff4b7c005220439
7
+ data.tar.gz: 9f3cc71fcf52d1b2c0502b560b6cc221e6e906af150b0ca1399368787dc80b6aec79b501fe66985773b9c3416df67942cf91f60eaa586ddc91a1a51b1cd56d27
@@ -9,9 +9,8 @@ module Pageflow
9
9
  if File.exist?(directory)
10
10
  puts("Dummy directory #{directory} exists.")
11
11
  else
12
- travis_fold('setup_dummy') do
13
- system("bundle exec rails new #{directory} --template #{template_path} #{rails_new_options}")
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
- development:
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
- <% else %>
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
- adapter: mysql2
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 %>
@@ -5,7 +5,7 @@ module Pageflow
5
5
  RAILS_VERSION_FILE = File.expand_path('../../../../.rails_version')
6
6
 
7
7
  def detect
8
- from_env || from_file || '4.2.6'
8
+ from_env || from_file || '4.2.9'
9
9
  end
10
10
 
11
11
  private
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.0.0
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-10 00:00:00.000000000 Z
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.0.0
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.0.0
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.6.8
76
+ rubygems_version: 2.7.0
77
77
  signing_key:
78
78
  specification_version: 4
79
79
  summary: Spec support for Pageflow extensions.