rails_apps_composer 3.1.16 → 3.1.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/recipes/deployment.rb +0 -103
  3. data/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 51924c90aefee363418997b2604c9f36551fb398
4
- data.tar.gz: 2dbedeb4f949e6cae1401a4b9282c922f9863a44
3
+ metadata.gz: 192f5f51d6f9cde58caa6496eba8e4eb380b68ab
4
+ data.tar.gz: a1d68007907256ce445c46fdc003536228c44313
5
5
  SHA512:
6
- metadata.gz: f044c3a13037effab40ded2d06c1b385416eaa0d7ad5099bc9e1dc2b6f3ae3b5fde3833d0f6ff733fc46e533911466061296b4bc9a1aae36b65496bf95a104e4
7
- data.tar.gz: 9d9ca6e1b006234d6c8e10def890f7e1343c86c98266faa6e00d1cd0530c1e624a6747b576e67bb1a341bfda0d82a8a61e4d02fdc5e506bd71ae004a69b94b96
6
+ metadata.gz: 8066e1fd3d05b5ec01046c33942796863c496a8d6432809bcbbcfdbfee25368b2b17f206c226e3251e8218305583a5ef1c4747e60c0c6d79f6c8fa75cb2ef2e1
7
+ data.tar.gz: 4a77fd7be998a52edda3172f727d94e8b4340bcf6588a3981550708211de32cddc8836120336102170277019a354bfae4a4e68e8fa3b41a7a84e0bc724a2747a
@@ -12,109 +12,6 @@ if prefer :deployment, 'heroku'
12
12
  add_gem 'sqlite3', group: [:development, :test]
13
13
  add_gem 'pg', group: :production
14
14
  end
15
- stage_three do
16
- say_wizard "recipe stage three"
17
- case prefs[:email]
18
- when 'gmail'
19
- append_file 'app.json' do <<-TEXT
20
- "GMAIL_USERNAME": {
21
- "description": "Your Gmail address for sending mail.",
22
- "value": "user@example.com",
23
- "required": false
24
- },
25
- "GMAIL_PASSWORD": {
26
- "description": "Your Gmail password for sending mail.",
27
- "value": "changeme",
28
- "required": false
29
- },
30
- TEXT
31
- end
32
- when 'sendgrid'
33
- append_file 'app.json' do <<-TEXT
34
- "SENDGRID_USERNAME": {
35
- "description": "Your SendGrid address for sending mail.",
36
- "value": "user@example.com",
37
- "required": false
38
- },
39
- "SENDGRID_PASSWORD": {
40
- "description": "Your SendGrid password for sending mail.",
41
- "value": "changeme",
42
- "required": false
43
- },
44
- TEXT
45
- end
46
- when 'mandrill'
47
- append_file 'app.json' do <<-TEXT
48
- "MANDRILL_USERNAME": {
49
- "description": "Your Mandrill address for sending mail.",
50
- "value": "user@example.com",
51
- "required": false
52
- },
53
- "MANDRILL_APIKEY": {
54
- "description": "Your Mandrill API key for sending mail.",
55
- "value": "changeme",
56
- "required": false
57
- },
58
- TEXT
59
- end
60
- end
61
- if prefer :authentication, 'omniauth'
62
- append_file 'app.json' do <<-TEXT
63
- "OMNIAUTH_PROVIDER_KEY": {
64
- "description": "Credentials from Twitter, Facebook, or another provider.",
65
- "value": "some_long_key",
66
- "required": false
67
- },
68
- "OMNIAUTH_PROVIDER_SECRET": {
69
- "description": "Credentials from Twitter, Facebook, or another provider.",
70
- "value": "some_long_key",
71
- "required": false
72
- },
73
- TEXT
74
- end
75
- end
76
- if prefer :authentication, 'devise'
77
- append_file 'app.json' do <<-TEXT
78
- "ADMIN_EMAIL": {
79
- "description": "The administrator's email address for signing in.",
80
- "value": "user@example.com",
81
- "required": true
82
- },
83
- "ADMIN_PASSWORD": {
84
- "description": "The administrator's password for signing in.",
85
- "value": "changeme",
86
- "required": true
87
- },
88
- "DOMAIN_NAME": {
89
- "description": "Required for sending mail. Give an app name or use a custom domain.",
90
- "value": "myapp.herokuapp.com",
91
- "required": false
92
- },
93
- TEXT
94
- end
95
- end
96
- if (!prefs[:secrets].nil?)
97
- prefs[:secrets].each do |secret|
98
- append_file 'app.json' do <<-TEXT
99
- "#{secret.upcase}": {
100
- "description": "no description",
101
- "required": false
102
- },
103
- TEXT
104
- end
105
- end
106
- end
107
- append_file 'app.json' do <<-TEXT
108
- "RAILS_ENV": "production"
109
- }
110
- }
111
- TEXT
112
- end
113
- if File.exists?('db/migrate')
114
- gsub_file 'app.json', /"scripts": {/,
115
- "\"scripts\": {\"postdeploy\": \"bundle exec rake db:migrate; bundle exec rake db:seed\""
116
- end
117
- end
118
15
  end
119
16
 
120
17
  if prefer :deployment, 'capistrano3'
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "3.1.16"
2
+ VERSION = "3.1.17"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_apps_composer
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.16
4
+ version: 3.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Kehoe