platter 0.0.3 → 0.0.4
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 +4 -4
- data/lib/platter/app_builder.rb +12 -0
- data/lib/platter/generators/app_generator.rb +1 -0
- data/lib/platter/version.rb +2 -2
- data/templates/Gemfile.erb +1 -0
- metadata +4 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 84c526d7bc9e4aee3d4d0a400173bdab8fb8e7d5
|
|
4
|
+
data.tar.gz: ba51f7c814dccd80bc51753eaf459a3ff381e562
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3b588d29b10108df6b722d0f95d32a9ae807c54b960a5dd38f90ad497e7f3f460b214cb6274765781cbb45146686e8e6c748066863da222a1cc4abb475f9d225
|
|
7
|
+
data.tar.gz: 29afb5d063dcd8f74bc9ec280285a1d56b6eb37f3a282289bc427bb0873e9a7216e7565ed4d3a3b1a36685ed21ef6f05e801ea28ca70c7c3bf1f8b3737fbf63b
|
data/lib/platter/app_builder.rb
CHANGED
|
@@ -159,5 +159,17 @@ gem "active_model_serializers", github: "rails-api/active_model_serializers", br
|
|
|
159
159
|
end
|
|
160
160
|
end
|
|
161
161
|
|
|
162
|
+
def add_smtp_configuration_for_deployment
|
|
163
|
+
%w{ production staging }.each do |env|
|
|
164
|
+
inject_into_file "config/environments/#{env}.rb",
|
|
165
|
+
%Q{
|
|
166
|
+
|
|
167
|
+
# STMP configuration
|
|
168
|
+
config.action_mailer.default_url_options = { :host => ENV['HOST_DEFAULT_URL'], only_path: false }
|
|
169
|
+
config.action_mailer.delivery_method = :smtp
|
|
170
|
+
},
|
|
171
|
+
after: "config.active_record.dump_schema_after_migration = false"
|
|
172
|
+
end
|
|
173
|
+
end
|
|
162
174
|
end
|
|
163
175
|
end
|
data/lib/platter/version.rb
CHANGED
data/templates/Gemfile.erb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: platter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Icalia Labs
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-
|
|
12
|
+
date: 2015-10-31 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|
|
@@ -111,7 +111,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
111
111
|
requirements:
|
|
112
112
|
- - ">="
|
|
113
113
|
- !ruby/object:Gem::Version
|
|
114
|
-
version: 2.2.
|
|
114
|
+
version: 2.2.3
|
|
115
115
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
116
|
requirements:
|
|
117
117
|
- - ">="
|
|
@@ -119,9 +119,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
119
119
|
version: '0'
|
|
120
120
|
requirements: []
|
|
121
121
|
rubyforge_project:
|
|
122
|
-
rubygems_version: 2.4.
|
|
122
|
+
rubygems_version: 2.4.8
|
|
123
123
|
signing_key:
|
|
124
124
|
specification_version: 4
|
|
125
125
|
summary: A solution to create custom Rails apps used at @icalialabs
|
|
126
126
|
test_files: []
|
|
127
|
-
has_rdoc:
|