wagon_rails 0.3.0 → 0.4.0

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: 807a8268e88ebfb6063a8be92095868266ba6a1b
4
- data.tar.gz: 02691fd720145e6cd0b9f332eee7e1bef4d58983
3
+ metadata.gz: 8be18dd408eece1c59bfee8be1f610fb5d67f3d2
4
+ data.tar.gz: 3e2e9a0ccc8b32d15dd6764ca1eecb8906bb35b5
5
5
  SHA512:
6
- metadata.gz: db6cc82cc5cd7f227c6bbd2b850dccd3b23591a2af074013f66e8fe68de767c4e98d342feeb5e1d15b0009953e76ea132bc307e28001d4e820c5b4e6b2881028
7
- data.tar.gz: 30471d3412ec272dbb5e4834b27582691b6ce9e9c567e4436058523b46266b01724c0d03327e746f1e2656f681e32bab8e95d256d4250fae709b6194b500c4da
6
+ metadata.gz: b8a8ce2ed54b032a5fd03d1f70c1bb8a4e55ee7a405f2820d21257735f9106b4c1a1c83bc3bf7c6e2a8df538cdf8cf4ecba7206ce3ba78dcdacff463b982f35f
7
+ data.tar.gz: 456374bd9ea4f8619e171e091e13a2777cc516258187e4fffc04d9409a864aaa9a6c566e3ba074d68999743d1b1c349acb7d37d6eab9e00a9514da1ae133562d
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Wagon Rails
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/wagon_rails.svg)](http://badge.fury.io/rb/wagon_rails)
4
+
3
5
  Wagon Rails is the base Rails application used by [Le Wagon](http://www.lewagon.org/en)'s students during the 9-week FullStack bootcamp. It's the scripted version of [lewagon/rails-kickoff](http://github.com/lewagon/rails-kickoff) where you would manually copy/paste commands to achieve the same result as justone.
4
6
 
5
7
  ## Installation
@@ -13,6 +15,7 @@ $ gem install wagon_rails
13
15
  Then run:
14
16
 
15
17
  ```bash
18
+ $ cd ~/code/YOUR_GITHUB_NICKNAME
16
19
  $ wagon_rails new YOUR_PROJECT_NAME
17
20
  ```
18
21
 
@@ -208,6 +208,8 @@ module WagonRails
208
208
  production:
209
209
  HOST: https://<%= #{heroku_app_name} %>.herokuapp.com
210
210
  EOF
211
+
212
+ append_file "config/application.yml", host
211
213
  end
212
214
 
213
215
  def push_env_to_heroku
@@ -43,9 +43,9 @@ module WagonRails
43
43
  invoke :setup_auth
44
44
  invoke :setup_database
45
45
  invoke :create_github_repo
46
+ invoke :create_heroku_app
46
47
  invoke :first_commit
47
48
  invoke :first_push
48
- invoke :create_heroku_app
49
49
  invoke :outro
50
50
  end
51
51
 
@@ -136,6 +136,7 @@ module WagonRails
136
136
  build :set_heroku_remote
137
137
  build :provide_deploy_script
138
138
  build :add_host_to_application_yml
139
+ build :push_env_to_heroku
139
140
  build :commit, "Add heroku deploy script"
140
141
  end
141
142
  end
@@ -1,5 +1,5 @@
1
1
  module WagonRails
2
2
  RAILS_VERSION = "4.2.0"
3
3
  RUBY_VERSION = IO.read("#{File.dirname(__FILE__)}/../../.ruby-version").strip
4
- VERSION = "0.3.0"
4
+ VERSION = "0.4.0"
5
5
  end
@@ -1,6 +1,7 @@
1
1
  # This file is not versioned by git, so not shared on GitHub
2
2
  # If you add something here, inform your colleagues over a **secure** channel.
3
3
 
4
- S3_BUCKET_NAME: "TODO"
5
- AWS_ACCESS_KEY_ID: "TODO"
6
- AWS_SECRET_ACCESS_KEY: "TODO"
4
+ # Uncomment these 3 lines to use Paperclip and AWS to store file uploads
5
+ # S3_BUCKET_NAME: "TODO"
6
+ # AWS_ACCESS_KEY_ID: "TODO"
7
+ # AWS_SECRET_ACCESS_KEY: "TODO"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wagon_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ssaunier