pah 0.0.21 → 0.0.22

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: 82af1b3c9d0fc895805fa986582e027916b4d5f8
4
- data.tar.gz: 11b3142d89ee4a7487955083b1838f9327b6d2fb
3
+ metadata.gz: 1baaeefe178390a92b2b147b9fed786f918af531
4
+ data.tar.gz: a1f31d22dbc8df6ce2c62a201455dcc2110ddeac
5
5
  SHA512:
6
- metadata.gz: ac99987a1ed8a1726659b7ec300cf1b0d160c3ee81b2c616b2a2b60e345fffb99801f1bb136a5c5e4f2df538d122d115eb42adf22efb176fa9bb25e8df360f92
7
- data.tar.gz: d1ff3acf5446c5c5c99cfb1dd471b01f08475decb032137bd507ecf29c9499e9c669c1f1e5faf56ced9718d980b8f5da600a8350f5242a7c237961b5e9f17142
6
+ metadata.gz: f9aa48e4000debd8029e2348a308daa8d58467f162da72f270cb2782d420fe7d34966a6d90b4f33d607327287f0f6b7dcd48dde97534ab336f36b907be214200
7
+ data.tar.gz: 97e7947fa48abbdf4bd9ce77472f0f78ed2440af60fc9fc91021a5cc934dd527a779abdbc237699442341a86268b143e94d3252a483419710a96a14d0d66ecac
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.2.0
1
+ 2.2.1
data/.travis.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.2.0
3
+ - 2.2.1
4
4
  before_script:
5
5
  - git config --global user.email "johndoe@example.com"
6
6
  - git config --global user.name "John Doe"
data/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Changelog
2
2
 
3
- ## 0.0.22 (Unreleased)
3
+ ## 0.0.23 (Unreleased)
4
4
 
5
5
  ### features
6
6
 
@@ -8,6 +8,19 @@
8
8
 
9
9
  ### bug fixes
10
10
 
11
+ ## 0.0.22 (April 20,2015)
12
+
13
+ ### features
14
+
15
+ - Changed Ruby version to 2.2.1
16
+
17
+ ### improvements
18
+ - Update Puma configuration file and puma version
19
+
20
+ ### bug fixes
21
+ - Changed jumpup-heroku version to 0.0.6 [[GH-475](https://github.com/Helabs/pah/issues/475)]
22
+ - Update sass-rails. This fixes the bug `Sass::SyntaxError`
23
+
11
24
  ## 0.0.21 (March 19,2015)
12
25
 
13
26
  ### features
data/README.md CHANGED
@@ -37,7 +37,7 @@ Run:
37
37
  $ pah projectname
38
38
  ```
39
39
 
40
- This will create a Rails 4.2.0 app with Ruby 2.2.0. This script creates a new git repository in the folder `projectname`.
40
+ This will create a Rails 4.2.0 app with Ruby 2.2.1. This script creates a new git repository in the folder `projectname`.
41
41
 
42
42
  :warning: PAH is not meant to be used against an existing repo.
43
43
 
@@ -4,17 +4,17 @@ Feature: Commands
4
4
  When I run `pah --version`
5
5
  Then the output should contain:
6
6
  """
7
- Pah version: 0.0.20
7
+ Pah version: 0.0.22
8
8
  Rails version: 4.2.0
9
- Ruby version: 2.2.0
9
+ Ruby version: 2.2.1
10
10
  """
11
11
  Scenario: -v prompts the versions
12
12
  When I run `pah -v`
13
13
  Then the output should contain:
14
14
  """
15
- Pah version: 0.0.20
15
+ Pah version: 0.0.22
16
16
  Rails version: 4.2.0
17
- Ruby version: 2.2.0
17
+ Ruby version: 2.2.1
18
18
  """
19
19
  Scenario: without args prompt help
20
20
  When I run `pah`
data/features/env.feature CHANGED
@@ -6,7 +6,7 @@ Feature: Env files
6
6
  Scenario: Create env files
7
7
  Then I have the file .ruby-version and contents of this file should be:
8
8
  """
9
- 2.2.0
9
+ 2.2.1
10
10
 
11
11
  """
12
12
  Then I have the file .ruby-gemset and contents of this file should be:
@@ -11,5 +11,5 @@ Feature: README
11
11
  """
12
12
  Then I have the file README.md and contents of this file should include:
13
13
  """
14
- Ruby 2.2.0
14
+ Ruby 2.2.1
15
15
  """
@@ -2,14 +2,14 @@ source 'https://rubygems.org'
2
2
  ruby 'RUBY_VERSION'
3
3
 
4
4
  gem 'rails', 'RAILS_VERSION'
5
- gem 'puma', '2.10.2'
5
+ gem 'puma', '2.11.1'
6
6
  gem 'secure_headers', '1.4.1'
7
7
  gem 'jquery-rails', '4.0.3'
8
8
  gem 'turbolinks', '2.5.3'
9
9
  gem 'jbuilder', '2.2.6'
10
10
  gem 'slim-rails', '3.0.1'
11
11
  gem 'pg', '0.18.1'
12
- gem 'sass-rails', '5.0.1'
12
+ gem 'sass-rails', '5.0.3'
13
13
  gem 'coffee-rails', '4.1.0'
14
14
  gem 'uglifier', '2.7.0'
15
15
  gem 'simple_form', '3.1.0'
@@ -32,7 +32,7 @@ end
32
32
  group :development do
33
33
  gem 'foreman', '0.77.0'
34
34
  gem 'jumpup', '0.0.8'
35
- gem 'jumpup-heroku', '0.0.5'
35
+ gem 'jumpup-heroku', '0.0.6'
36
36
  gem 'better_errors', '2.1.1'
37
37
  gem 'binding_of_caller', '0.7.2'
38
38
  gem 'letter_opener', '1.3.0'
@@ -1,17 +1,17 @@
1
1
  # https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server
2
2
 
3
- workers Integer(ENV['PUMA_WORKERS'] || 3)
4
- threads Integer(ENV['MIN_THREADS'] || 1), Integer(ENV['MAX_THREADS'] || 16)
3
+ workers Integer(ENV['WEB_CONCURRENCY'] || 2)
4
+ threads_count = Integer(ENV['MAX_THREADS'] || 5)
5
+ threads threads_count, threads_count
5
6
 
6
7
  preload_app!
7
8
 
8
- rackup DefaultRackup
9
- port ENV['PORT'] || 3000
9
+ rackup DefaultRackup
10
+ port ENV['PORT'] || 3000
10
11
  environment ENV['RACK_ENV'] || 'development'
11
12
 
12
13
  on_worker_boot do
13
- # worker specific setup
14
- ActiveSupport.on_load(:active_record) do
15
- ActiveRecord::Base.establish_connection
16
- end
17
- end
14
+ # Worker specific setup for Rails 4.1+
15
+ # See: https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server#on-worker-boot
16
+ ActiveRecord::Base.establish_connection
17
+ end
data/lib/pah/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Pah
2
- VERSION = '0.0.21'
3
- RUBY_VERSION = '2.2.0'
2
+ VERSION = '0.0.22'
3
+ RUBY_VERSION = '2.2.1'
4
4
  RAILS_VERSION = '4.2.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pah
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.21
4
+ version: 0.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - HE:labs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-29 00:00:00.000000000 Z
11
+ date: 2015-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -253,7 +253,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
253
253
  requirements:
254
254
  - - ">="
255
255
  - !ruby/object:Gem::Version
256
- version: 2.2.0
256
+ version: 2.2.1
257
257
  required_rubygems_version: !ruby/object:Gem::Requirement
258
258
  requirements:
259
259
  - - ">="
@@ -261,7 +261,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
261
261
  version: '0'
262
262
  requirements: []
263
263
  rubyforge_project:
264
- rubygems_version: 2.4.5
264
+ rubygems_version: 2.4.6
265
265
  signing_key:
266
266
  specification_version: 4
267
267
  summary: A rails application template which born from Startup DEV and now is used