are_you_sure 0.2.3 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4b79d33eff3c159003a98392ff3f40dc08e87006
4
- data.tar.gz: ed901c28aec68756407a100535e352bc5b7471b5
3
+ metadata.gz: de00e5fb663d9ace3aa180eb39ecc7dd2c58b1f1
4
+ data.tar.gz: 25f53d102a404aa5c590136c8ba33d04d30e2eb8
5
5
  SHA512:
6
- metadata.gz: 6b10345b2bc8bab7ac468d05876ce5753473fbad9733296cb8c77a4bf497876065a1308673112272e5793ae5dddb2073650b2ea2458558ca00eb2155edf40304
7
- data.tar.gz: 40195a238b47001e05b88abec56c66f27e002f3cb9492aa265a68b6d603993ecdb0457290e6731dcc99c139ac128cea3faf6caadd68cefac67b410dd669d4607
6
+ metadata.gz: 96027e8b14c7983a905295495f2670284a12426623b52b92b5959b79d0397202db70de0ec7a2f634bce6b929b475ba48e2a5915f5a5da56f9f53482bdabc4c44
7
+ data.tar.gz: a71a2c05c25b5ef50f2d91d98ce6375d93fd448cbcee53aa3f3044d12f8a602078295883f3e985406ea08ac9d4b4dca54693b18b8823c424744ffa4364e0bf21
@@ -21,7 +21,8 @@ module AreYouSure
21
21
  cancel_path = options.delete(:to) || @template.polymorphic_path(@object, action: @object.persisted? ? :edit : :new)
22
22
  @template.link_to(
23
23
  value || I18n.t('are_you_sure.helpers.cancel', default: 'Cancel'),
24
- cancel_path
24
+ cancel_path,
25
+ options
25
26
  )
26
27
  end
27
28
 
@@ -1,3 +1,3 @@
1
1
  module AreYouSure
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: are_you_sure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - haazime
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-29 00:00:00.000000000 Z
11
+ date: 2014-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -74,6 +74,10 @@ executables: []
74
74
  extensions: []
75
75
  extra_rdoc_files: []
76
76
  files:
77
+ - MIT-LICENSE
78
+ - README.rdoc
79
+ - Rakefile
80
+ - lib/are_you_sure.rb
77
81
  - lib/are_you_sure/action_controller_extensions/confirmation_helper.rb
78
82
  - lib/are_you_sure/action_view_extensions/form_helper.rb
79
83
  - lib/are_you_sure/confirmable.rb
@@ -82,11 +86,7 @@ files:
82
86
  - lib/are_you_sure/form_builders/input_form_builder.rb
83
87
  - lib/are_you_sure/railtie.rb
84
88
  - lib/are_you_sure/version.rb
85
- - lib/are_you_sure.rb
86
89
  - lib/tasks/are_you_sure_tasks.rake
87
- - MIT-LICENSE
88
- - Rakefile
89
- - README.rdoc
90
90
  homepage: https://github.com/haazime/are_you_sure
91
91
  licenses: []
92
92
  metadata: {}
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  version: '0'
107
107
  requirements: []
108
108
  rubyforge_project:
109
- rubygems_version: 2.1.11
109
+ rubygems_version: 2.2.2
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: Confirmation for Rails app