impressionist 1.3.0 → 1.3.1
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.
|
@@ -78,7 +78,7 @@ module ImpressionistController
|
|
|
78
78
|
# creates a statment hash that contains default values for creating an impression.
|
|
79
79
|
def direct_create_statement(query_params={})
|
|
80
80
|
query_params.reverse_merge!(
|
|
81
|
-
:impressionable_type =>
|
|
81
|
+
:impressionable_type => controller_name.singularize.camelize,
|
|
82
82
|
:impressionable_id=> params[:id]
|
|
83
83
|
)
|
|
84
84
|
associative_create_statement(query_params)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: impressionist
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-05-
|
|
12
|
+
date: 2013-05-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: httpclient
|
|
@@ -312,7 +312,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
312
312
|
version: '0'
|
|
313
313
|
segments:
|
|
314
314
|
- 0
|
|
315
|
-
hash: -
|
|
315
|
+
hash: -3050381414605741262
|
|
316
316
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
317
317
|
none: false
|
|
318
318
|
requirements:
|