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 +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +3 -3
- data/CHANGELOG.md +6 -1
- data/README.md +3 -10
- data/features/commands.feature +6 -6
- data/features/env.feature +1 -1
- data/features/gemfile.feature +1 -1
- data/features/readme.feature +1 -1
- data/lib/pah/files/Gemfile +21 -19
- data/lib/pah/files/README.md +2 -3
- data/lib/pah/templates/canonical_host.rb +1 -1
- data/lib/pah/version.rb +3 -3
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9e2ca0f111a63544cf4ee0702de50a80a0486c3
|
4
|
+
data.tar.gz: 64cb3b14530c5437c6fe3871b6348bdcbd967fe0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 039c174e96df2b05db280abcfb76efb2def4ae23a35445d39f57fd343a1607b7967bec9e7dbf43870874f04ea4c017d967452ae6484265b2c5e6e81e6aed75aa
|
7
|
+
data.tar.gz: 589521a3a9b71326ce82db2b4db448dd11267763e962e1a27482c320d5aa52df750ef76120e4a9843949b5a2447d42310b8ab7ee1e7915787326533499fd5c39
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.2.0
|
data/.travis.yml
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
- 2.
|
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
|
8
|
-
- export
|
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 (
|
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.
|
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
|
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
|
data/features/commands.feature
CHANGED
@@ -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.
|
8
|
-
Rails version: 4.
|
9
|
-
Ruby version: 2.
|
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.
|
16
|
-
Rails version: 4.
|
17
|
-
Ruby version: 2.
|
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
data/features/gemfile.feature
CHANGED
data/features/readme.feature
CHANGED
data/lib/pah/files/Gemfile
CHANGED
@@ -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.
|
7
|
-
gem 'jquery-rails', '
|
8
|
-
gem 'turbolinks', '2.5.
|
9
|
-
gem 'jbuilder', '2.2.
|
10
|
-
gem 'slim-rails', '
|
11
|
-
gem 'pg', '0.
|
12
|
-
gem 'sass-rails',
|
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.
|
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.
|
18
|
-
gem 'neat', '1.7.
|
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.
|
28
|
-
gem 'rollbar', '1.
|
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 '
|
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.
|
36
|
+
gem 'better_errors', '2.1.1'
|
38
37
|
gem 'binding_of_caller', '0.7.2'
|
39
|
-
gem 'letter_opener', '1.
|
38
|
+
gem 'letter_opener', '1.3.0'
|
40
39
|
gem 'bullet', '4.14.0'
|
41
|
-
gem 'quiet_assets', '1.0
|
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.
|
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.
|
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
|
data/lib/pah/files/README.md
CHANGED
@@ -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. `$
|
25
|
-
5. `$ bundle exec rake
|
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',
|
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
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.
|
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:
|
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.
|
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.
|
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.
|
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.
|
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
|