impressionist 1.6.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/README.md +3 -1
- data/app/controllers/impressionist_controller.rb +5 -2
- data/lib/impressionist/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a445d7fd882f04a0003cf8553f2d7608a643d3e4
|
4
|
+
data.tar.gz: 7a982955b57950705007755f1c41e5c27de01c35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b7e6eb3bac2c3503f15dd3c18fcff82dc224eafcde0fba390941c825b2165c3552c7ff62b7cce6388e4fab1ea16480a9a167e3eb42d9490ef1ee3845d93e244
|
7
|
+
data.tar.gz: 2f10faf5b36044447f9e8de02868a71873647d4bb64ec001f55ab4c8f5100a61fffb21bc4a4c8fee1f2ae37ffe46955277f74b9e8433df773179b554bb6f1973
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -246,8 +246,10 @@ Want to run the tests? Ok mummy
|
|
246
246
|
|
247
247
|
Contributors
|
248
248
|
------------
|
249
|
+
WE ARE CURRENTLY LOOKING FOR SOMEONE TO HELP MAINTAIN THIS REPOSITORY. IF YOU ARE INTERESTED, MESSAGE @johnmcaliley.
|
250
|
+
|
249
251
|
* [johnmcaliley - creator](https://github.com/johnmcaliley)
|
250
|
-
* [jgrau
|
252
|
+
* [jgrau](https://github.com/jgrau)
|
251
253
|
* [acnalesso](https://github.com/acnalesso)
|
252
254
|
* [coryschires](https://github.com/coryschires)
|
253
255
|
* [georgmittendorfer](https://github.com/georgmittendorfer)
|
@@ -51,7 +51,7 @@ module ImpressionistController
|
|
51
51
|
|
52
52
|
# creates a statment hash that contains default values for creating an impression via an AR relation.
|
53
53
|
def associative_create_statement(query_params={})
|
54
|
-
filter =
|
54
|
+
filter = ActiveSupport::ParameterFilter.new(Rails.application.config.filter_parameters)
|
55
55
|
query_params.reverse_merge!(
|
56
56
|
:controller_name => controller_name,
|
57
57
|
:action_name => action_name,
|
@@ -138,7 +138,10 @@ module ImpressionistController
|
|
138
138
|
# str = request.session_options[:id]
|
139
139
|
# logger.debug "Encoding: #{str.encoding.inspect}"
|
140
140
|
# # request.session_options[:id].encode("ISO-8859-1")
|
141
|
-
request.session_options[:id]
|
141
|
+
id = request.session_options[:id]
|
142
|
+
# rack 2.0.8 releases new version of session id, id.to_s will raise error!
|
143
|
+
id = id.cookie_value if Rack::Session::SessionId.const_defined?(:ID_VERSION) && Rack::Session::SessionId::ID_VERSION == 2
|
144
|
+
id
|
142
145
|
end
|
143
146
|
|
144
147
|
def params_hash
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: impressionist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- johnmcaliley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|