pah 0.0.19 → 0.0.20

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
2
  SHA1:
3
- metadata.gz: 5d4df6a429d510293022ab28e25ef317a353b7a3
4
- data.tar.gz: 783e97620a7957ddc43a7d06c42e0f2b61576f64
3
+ metadata.gz: a9e2ca0f111a63544cf4ee0702de50a80a0486c3
4
+ data.tar.gz: 64cb3b14530c5437c6fe3871b6348bdcbd967fe0
5
5
  SHA512:
6
- metadata.gz: 3b97989269f15499695eee26ee830c2fddb0500ee255371713a47401ca7d9dc0f54b19cf83ba5963254189c495a0e75d39e07186b5c88fb204c66c43c7d9d4b6
7
- data.tar.gz: a1c5e1f8d2bd3ce33e780e3758c3aefc80d03c28203c90fb3279186ae8742f9d239bcf77611597f61e94dadb9aa194ae541d231dd70af657dec994ca2454df86
6
+ metadata.gz: 039c174e96df2b05db280abcfb76efb2def4ae23a35445d39f57fd343a1607b7967bec9e7dbf43870874f04ea4c017d967452ae6484265b2c5e6e81e6aed75aa
7
+ data.tar.gz: 589521a3a9b71326ce82db2b4db448dd11267763e962e1a27482c320d5aa52df750ef76120e4a9843949b5a2447d42310b8ab7ee1e7915787326533499fd5c39
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.1.5
1
+ 2.2.0
data/.travis.yml CHANGED
@@ -1,8 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.5
3
+ - 2.2.0
4
4
  before_script:
5
5
  - git config --global user.email "johndoe@example.com"
6
6
  - git config --global user.name "John Doe"
7
- - echo 'export rvm_ignore_gemset_flag=1' >> $HOME/.rvmrc
8
- - export rvm_ignore_gemset_flag=1
7
+ - echo 'export rvm_ignore_gemsets_flag=1' >> $HOME/.rvmrc
8
+ - export rvm_ignore_gemsets_flag=1
data/CHANGELOG.md CHANGED
@@ -1,9 +1,14 @@
1
1
  # Changelog
2
2
 
3
- ## 0.0.20 (unreleased)
3
+ ## 0.0.20 (January 16,2015)
4
4
 
5
5
  ### features
6
6
 
7
+ - Changed Ruby version to 2.2.0
8
+ - Changed Rails version to 4.2.0
9
+ - Changed rails-slim version to 3.0.1 due conflict with rails 4.2.0
10
+ - Update the Gemfile to most recent gems
11
+
7
12
  ### improvements
8
13
 
9
14
  ### bug fixes
data/README.md CHANGED
@@ -29,8 +29,6 @@ bundle install
29
29
  bundle exec ./bin/pah ~/path/to/project
30
30
  ```
31
31
 
32
- If you're using [RVM see those tips](https://github.com/Helabs/pah/wiki/Using-Pah-with-RVM).
33
-
34
32
  ## Usage
35
33
 
36
34
  Run:
@@ -39,18 +37,13 @@ Run:
39
37
  $ pah projectname
40
38
  ```
41
39
 
42
- This will create a Rails 4.1.8 app with Ruby 2.1.5. 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.0. This script creates a new git repository in the folder `projectname`.
43
41
 
44
42
  :warning: PAH is not meant to be used against an existing repo.
45
43
 
46
44
  ### RVM
47
45
 
48
- If you're using RVM, create and use a gemset (with the project name) before running PAH:
49
-
50
- ```bash
51
- $ rvm use 2.1.5@projectname --create
52
- $ pah projectname
53
- ```
46
+ If you're using [RVM see those tips](https://github.com/Helabs/pah/wiki/Using-Pah-with-RVM).
54
47
 
55
48
  PAH automatically create the .ruby-version and .ruby-gemset files.
56
49
 
@@ -105,4 +98,4 @@ This gem was created and is maintained by [HE:labs](https://github.com/Helabs).
105
98
  [gemnasium]: https://gemnasium.com/Helabs/pah
106
99
  [gemnasium_badge]: http://img.shields.io/gemnasium/Helabs/pah.svg?style=flat
107
100
  [travis]: https://travis-ci.org/Helabs/pah
108
- [travis_badge]: http://img.shields.io/travis/Helabs/pah.svg?style=flat
101
+ [travis_badge]: http://img.shields.io/travis/Helabs/pah/master.svg?style=flat
@@ -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.19
8
- Rails version: 4.1.8
9
- Ruby version: 2.1.5
7
+ Pah version: 0.0.20
8
+ Rails version: 4.2.0
9
+ Ruby version: 2.2.0
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.19
16
- Rails version: 4.1.8
17
- Ruby version: 2.1.5
15
+ Pah version: 0.0.20
16
+ Rails version: 4.2.0
17
+ Ruby version: 2.2.0
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.1.5
9
+ 2.2.0
10
10
 
11
11
  """
12
12
  Then I have the file .ruby-gemset and contents of this file should be:
@@ -6,6 +6,6 @@ Feature: Gemfile
6
6
  Scenario: Correct gems on gemfile
7
7
  Then I have the file Gemfile and contents of this file should include:
8
8
  """
9
- gem 'rails', '4.1.8'
9
+ gem 'rails', '4.2.0'
10
10
  """
11
11
 
@@ -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.1.5
14
+ Ruby 2.2.0
15
15
  """
@@ -3,19 +3,19 @@ ruby 'RUBY_VERSION'
3
3
 
4
4
  gem 'rails', 'RAILS_VERSION'
5
5
  gem 'puma', '2.10.2'
6
- gem 'secure_headers', '1.3.4'
7
- gem 'jquery-rails', '3.1.2'
8
- gem 'turbolinks', '2.5.2'
9
- gem 'jbuilder', '2.2.5'
10
- gem 'slim-rails', '2.1.5'
11
- gem 'pg', '0.17.1'
12
- gem 'sass-rails', github: 'rails/sass-rails', ref: '57ec3397ff99655890895df29a7bf3f683410256'
6
+ gem 'secure_headers', '1.4.1'
7
+ gem 'jquery-rails', '4.0.3'
8
+ gem 'turbolinks', '2.5.3'
9
+ gem 'jbuilder', '2.2.6'
10
+ gem 'slim-rails', '3.0.1'
11
+ gem 'pg', '0.18.1'
12
+ gem 'sass-rails', '5.0.1'
13
13
  gem 'coffee-rails', '4.1.0'
14
- gem 'uglifier', '2.5.3'
14
+ gem 'uglifier', '2.7.0'
15
15
  gem 'simple_form', '3.1.0'
16
16
  gem 'flutie', '2.0.0'
17
- gem 'bourbon', '4.0.2'
18
- gem 'neat', '1.7.0'
17
+ gem 'bourbon', '4.1.1'
18
+ gem 'neat', '1.7.1'
19
19
  gem 'bitters', '0.10.1'
20
20
  gem 'refills', '0.0.2'
21
21
  gem 'normalize-rails', '3.0.1'
@@ -24,21 +24,20 @@ group :production, :staging do
24
24
  gem 'rails_12factor', '0.0.3'
25
25
  gem 'rack-canonical-host', '0.1.0'
26
26
  gem 'rack-timeout', github: 'kch/rack-timeout', ref: '83ca9f5141c1fdcb626820b1601c406e3a3a560a'
27
- gem 'newrelic_rpm', '3.9.7.266'
28
- gem 'rollbar', '1.2.10'
27
+ gem 'newrelic_rpm', '3.9.9.275'
28
+ gem 'rollbar', '1.4.0'
29
29
  gem 'librato-rails', '0.11.1'
30
30
  end
31
31
 
32
32
  group :development do
33
- gem 'spring', '1.2.0'
34
- gem 'foreman', '0.76.0'
33
+ gem 'foreman', '0.77.0'
35
34
  gem 'jumpup', '0.0.8'
36
35
  gem 'jumpup-heroku', '0.0.5'
37
- gem 'better_errors', '2.0.0'
36
+ gem 'better_errors', '2.1.1'
38
37
  gem 'binding_of_caller', '0.7.2'
39
- gem 'letter_opener', '1.2.0'
38
+ gem 'letter_opener', '1.3.0'
40
39
  gem 'bullet', '4.14.0'
41
- gem 'quiet_assets', '1.0.3'
40
+ gem 'quiet_assets', '1.1.0'
42
41
  end
43
42
 
44
43
  group :test do
@@ -49,7 +48,7 @@ group :test do
49
48
  gem 'poltergeist', '1.5.1'
50
49
  gem 'vcr', '2.9.3'
51
50
  gem 'webmock', '1.20.4'
52
- gem 'database_cleaner', '1.3.0'
51
+ gem 'database_cleaner', '1.4.0'
53
52
  end
54
53
 
55
54
  group :development, :test do
@@ -57,5 +56,8 @@ group :development, :test do
57
56
  gem 'factory_girl_rails', '4.5.0'
58
57
  gem 'pry-rails', '0.3.2'
59
58
  gem 'dotenv-rails', '1.0.2'
60
- gem 'awesome_print', '1.2.0'
59
+ gem 'awesome_print', '1.6.1'
60
+ gem 'byebug', '3.5.1'
61
+ gem 'web-console', '2.0.0'
62
+ gem 'spring', '1.2.0'
61
63
  end
@@ -21,9 +21,8 @@ If you plan to **integrate** this project to Heroku, you'll need:
21
21
  1. Install the dependencies above
22
22
  2. `$ git clone <REPOSITORY_URL> PROJECT` - Clone the project
23
23
  3. `$ cd PROJECT` - Go into the project folder
24
- 4. `$ bundle install` - Install the gem dependencies
25
- 5. `$ bundle exec rake db:setup` - Setup the database
26
- 6. `$ bundle exec rake spec` - Run the specs to see if everything is working fine
24
+ 4. `$ bin/setup` - Run the setup script
25
+ 5. `$ bundle exec rake spec` - Run the specs to see if everything is working fine
27
26
 
28
27
  If everything goes OK, you can now run the project!
29
28
 
@@ -9,7 +9,7 @@ module Pah
9
9
  use Rack::CanonicalHost, ENV['CANONICAL_HOST'] if ENV['CANONICAL_HOST']
10
10
  CANONICAL
11
11
 
12
- inject_into_file 'config.ru', rack_canonical, after: "require ::File.expand_path('../config/environment', __FILE__)", verbose: false
12
+ inject_into_file 'config.ru', rack_canonical, after: "require ::File.expand_path('../config/environment', __FILE__)", verbose: false
13
13
 
14
14
  git add: 'config.ru'
15
15
  git_commit 'Add rack-canonical-host.'
data/lib/pah/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Pah
2
- VERSION = '0.0.19'
3
- RUBY_VERSION = '2.1.5'
4
- RAILS_VERSION = '4.1.8'
2
+ VERSION = '0.0.20'
3
+ RUBY_VERSION = '2.2.0'
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.19
4
+ version: 0.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - HE:labs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-12 00:00:00.000000000 Z
11
+ date: 2015-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.1.8
19
+ version: 4.2.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: 4.1.8
26
+ version: 4.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: colored
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -244,7 +244,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
244
244
  requirements:
245
245
  - - ">="
246
246
  - !ruby/object:Gem::Version
247
- version: 2.1.5
247
+ version: 2.2.0
248
248
  required_rubygems_version: !ruby/object:Gem::Requirement
249
249
  requirements:
250
250
  - - ">="
@@ -252,7 +252,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
252
252
  version: '0'
253
253
  requirements: []
254
254
  rubyforge_project:
255
- rubygems_version: 2.2.2
255
+ rubygems_version: 2.4.5
256
256
  signing_key:
257
257
  specification_version: 4
258
258
  summary: A rails application template which born from Startup DEV and now is used