fullstack 0.1.12 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.12
1
+ 0.1.13
data/fullstack.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "fullstack"
8
- s.version = "0.1.12"
8
+ s.version = "0.1.13"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["mcasimir"]
@@ -13,6 +13,7 @@ module Fullstack
13
13
 
14
14
  def devise
15
15
  generate "devise:install"
16
+ gsub_file('config/initializers/devise.rb', "\"please-change-me-at-config-initializers-devise@example.com\"", "Settings.app.email")
16
17
  generate "remoting:install --host='#{host}' --user='#{user}'"
17
18
  end
18
19
 
@@ -34,7 +35,7 @@ eos
34
35
  inject_into_file("config/environments/production.rb", :after => "Application.configure do\n") do
35
36
  <<-eos
36
37
 
37
- config.action_mailer.default_url_options = { :host => "#{host}" }
38
+ config.action_mailer.default_url_options = { :host => Settings.app.host }
38
39
  config.action_mailer.delivery_method = :sendmail
39
40
  config.action_mailer.raise_delivery_errors = false
40
41
 
@@ -1,4 +1,6 @@
1
- site:
1
+ app:
2
2
  title: "<%= title %>"
3
3
  slogan: "<%= slogan %>"
4
- email: "<%= email %>"
4
+ email: "<%= email %>"
5
+ host: "<%= host %>"
6
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fullstack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -495,7 +495,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
495
495
  version: '0'
496
496
  segments:
497
497
  - 0
498
- hash: -3595498919046398333
498
+ hash: 3368099614076513690
499
499
  required_rubygems_version: !ruby/object:Gem::Requirement
500
500
  none: false
501
501
  requirements: