wagon_rails 0.4.4 → 0.4.5

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: 0ba116e82293e08bdb66abf7e45f84b94d1dbab6
4
- data.tar.gz: b079515bf7dde618d2b187243ff2cdf1f90b5b68
3
+ metadata.gz: e458fb32b803cee5752b38d1b4495534ffd1a3c0
4
+ data.tar.gz: 89ba7a5db760eb51fed6f9dd48e49926fc16428f
5
5
  SHA512:
6
- metadata.gz: eeac743f94dad21d250252bbada19636192f984d6a04dd839cb9f5a59c25e4d3933dd23eaafbde3c2122fc89304b853365bd05bf0226c90958a1c8939bf3dc7c
7
- data.tar.gz: a53b1d688fdddc6d907fa7eadbfb36bfedc003038f146bc3a9a46c1b78ccc0eceb3fa95575ea47284ac2bd64363fb8e7f2ffab956802d03dd50582b11837af4d
6
+ metadata.gz: ecb3379164c74e240974ee032a93d07717cdf842fac1d31558dbefd8cd7efcd34ebbfe822fd6ba457e86c0599f8dcf42bb1ab0d41188fa42e6cbe7bb79b5305f
7
+ data.tar.gz: 94b247f3e1b7c627a4a9ef9258c77040d040eb20c0c264e6fad3adeb200cad365afc696615577224d2e5ae401ece964f57cfbc9495c71c741d1cfa72e45b0ff0
data/CHANGELOG.md ADDED
@@ -0,0 +1,6 @@
1
+ # CHANGELOG
2
+
3
+ ## [0.4.5] - 2015-02-28
4
+
5
+ ### Added
6
+ - Enable embed authenticity token in remote forms in `config/application.rb`
@@ -31,6 +31,14 @@ module WagonRails
31
31
  inject_into_class "config/application.rb", "Application", config
32
32
  end
33
33
 
34
+ def enable_embed_authenticity_token_in_remote_forms
35
+ config = <<-RUBY
36
+ config.embed_authenticity_token_in_remote_forms = true
37
+ RUBY
38
+
39
+ inject_into_class "config/application.rb", "Application", config
40
+ end
41
+
34
42
  def configure_generators
35
43
  config = <<-RUBY
36
44
 
@@ -91,6 +91,7 @@ module WagonRails
91
91
 
92
92
  def configure_app
93
93
  say 'Configuring app'
94
+ build :enable_embed_authenticity_token_in_remote_forms
94
95
  build :configure_action_mailer
95
96
  build :configure_rack_timeout
96
97
  build :configure_simple_form
@@ -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.4.4"
4
+ VERSION = "0.4.5"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wagon_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - ssaunier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-25 00:00:00.000000000 Z
11
+ date: 2015-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -66,6 +66,7 @@ extra_rdoc_files:
66
66
  files:
67
67
  - ".gitignore"
68
68
  - ".ruby-version"
69
+ - CHANGELOG.md
69
70
  - Gemfile
70
71
  - Gemfile.lock
71
72
  - LICENSE