wicked 1.3.3 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +3 -3
- data/lib/wicked/controller/concerns/render_redirect.rb +1 -1
- data/lib/wicked/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 483905a170cbf0f6edace70c1673ba2c6cbcbeb6df0765ce8f86f73c5cf884f7
|
4
|
+
data.tar.gz: 6f9f288d5c14e26082666345d4e02191c62135743860bc4a15931fe2659132c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cf319e58176f0985c111a4513f29580d5a3aa4161da881781021c77b6131f72166f00a8d68638938158030948c1b4e97ddd0ce5a8e95cb76557eb801c29de81
|
7
|
+
data.tar.gz: 6187eb1522ae0998571f21aa8580707445771f84a2d6d27d2aa3358c1508a9200e55f61050cb0be967580c305ec5e25a02be6c79f370d3b7b5f762ecb61d0c31
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -245,10 +245,10 @@ end
|
|
245
245
|
|
246
246
|
```ruby
|
247
247
|
# Test find_friends block of show action
|
248
|
-
get :show, id: :find_friends
|
248
|
+
get :show, params: { id: :find_friends }
|
249
249
|
|
250
250
|
# Test find_friends block of update action
|
251
|
-
|
251
|
+
patch :update, params: {'id' => 'find_friends', "user" => { "id" => @user.id.to_s }}
|
252
252
|
```
|
253
253
|
|
254
254
|
### Internationalization of URLS (I18n)
|
@@ -466,7 +466,7 @@ This project rocks and uses MIT-LICENSE.
|
|
466
466
|
|
467
467
|
## Compatibility
|
468
468
|
|
469
|
-
Refer to the Travis CI test matrix for test using your version of Ruby and Rails. If there is a newer Ruby or Rails you don't see on there, please add an entry to the
|
469
|
+
Refer to the Travis CI test matrix for test using your version of Ruby and Rails. If there is a newer Ruby or Rails you don't see on there, please add an entry to the Appraisals file, then run `$ appraisals install` and update the `.travis.yml` file and send me a pull request.
|
470
470
|
|
471
471
|
Note: Rails 3.0 support is only for Ruby 1.9.3 or JRuby, not Ruby 2.0.0 or newer.
|
472
472
|
|
@@ -16,7 +16,7 @@ module Wicked::Controller::Concerns::RenderRedirect
|
|
16
16
|
def process_resource!(resource, options = {})
|
17
17
|
return unless resource
|
18
18
|
|
19
|
-
if options[:context]
|
19
|
+
if options[:context]
|
20
20
|
did_save = resource.save(context: options[:context])
|
21
21
|
else
|
22
22
|
did_save = resource.save
|
data/lib/wicked/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wicked
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Schneeman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -232,8 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
232
232
|
- !ruby/object:Gem::Version
|
233
233
|
version: '0'
|
234
234
|
requirements: []
|
235
|
-
|
236
|
-
rubygems_version: 2.7.6
|
235
|
+
rubygems_version: 3.0.3
|
237
236
|
signing_key:
|
238
237
|
specification_version: 4
|
239
238
|
summary: Use Wicked to turn your controller into a wizard
|