cruj_cruj_cruj_visagio 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0168f1b620e8207bca74b3c0a791f80c21f0a17bb4543f2cdc1871bb5577898c'
4
- data.tar.gz: ca650d8c1767bfaebe1079b7a0b6cbcf95d6c8c18227912561338e3955ac619b
3
+ metadata.gz: 6a38ee4063d59b2de4ebaceaf0fc9fa93aeb3bb25483cbdf3c599046435c46e6
4
+ data.tar.gz: e843e01e6347b1ee214e1b4875136375ebd9416b38949e2c9793ab192e386a85
5
5
  SHA512:
6
- metadata.gz: c2f5b03e537b40992b01017eb286b0597103b030bd73ed7c1e6ad6c0bfc72ac88a516f8ba95c95ed4add4ca2ddffcba93d2dc017671b6a97778f2d43b111249d
7
- data.tar.gz: a05acf1be2b6de81bd052faf4b9b4d789337f58c9ed4f6120aeda477cebd6255c7a4bf730a1b4c3c56de2dc6d83065af8ec8be0c1ffaf4f1505080a18188a233
6
+ metadata.gz: 37d378c47f4f4a541b68bd63ec96c3706f30aa19850023ce807c6eb99063a0eba5ababe792af31d3aeb124cdb46e8693859d950ccab5fbe2549d00e34011d49c
7
+ data.tar.gz: 3a1810e5b07cb5d7bf1000f80c6950d2029138d8346bfb2af1cbdc950c8741a3eed7e862be78141fda87d1388cc4043f83b3f499ba44a826d1d1578af674dd03
@@ -94,7 +94,11 @@ class CrujCrujCrujController < ApplicationController
94
94
  end
95
95
 
96
96
  def safe_parameters
97
- params.require(snake_case_model_name).permit!
97
+ if Rails::VERSION::MAJOR < 4
98
+ params[snake_case_model_name]
99
+ else
100
+ params.require(snake_case_model_name).permit!
101
+ end
98
102
  end
99
103
 
100
104
  def find_resource
@@ -1,3 +1,3 @@
1
1
  module CrujCrujCruj
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cruj_cruj_cruj_visagio
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Visagio