impressionist 1.4.7 → 1.4.8

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: 21d3757724d47e6661766a7c05a6d356718fe45e
4
- data.tar.gz: bd7700838203dbb58c7f73c64315fb7ab85e1f49
3
+ metadata.gz: 378fa0c1c197f3f8d61405b0d428030623399fa6
4
+ data.tar.gz: 6402c5a7b2d24e96508c8a542477a511a177880b
5
5
  SHA512:
6
- metadata.gz: 17efd95cec969a5ab546f2e4947c4ea04e2db002c96f335965b562e994c00ec307cb364587a873bdac50c4e1781f030724b988a5ddd66f39c3bbcd4611d81af4
7
- data.tar.gz: e574582253eeed54ef6d2d490b123f38bb1c4445db87bf9a281fadaf26914de1b4ead38465aaec9978f0eaab73ab71bee1a9c42b364336bfc8a80519e069f940
6
+ metadata.gz: 8975592f31430d6b25c1ce41c1b65a2ba1738393f7994e8279107092f767ecc9d12b52ca9a33db2b720a53d4a649b214ba13284b68b1157a7a42dee3e0ffce28
7
+ data.tar.gz: 02c8c83a590b7b4c78fc2c20df4cf193dda31951d215be8d0901a03ea4ed7274d1089c715d24fd0eabcfacfcd19d8c221c7ca78a321bb12956190adabd9e5a6c
@@ -1,3 +1,12 @@
1
+ == 1.4.7 (2013-08-30)
2
+ * Fixed #103 - Allow impressions to be saved without a Model
3
+ * Fixed #104 - Wrong Documentation
4
+ * (@acnalesso)
5
+
6
+ == 1.4.6 (2013-08-17)
7
+ * Fixed 106
8
+ * Count unique records in Rails 4
9
+
1
10
  == 1.4.5 (2013-07-17)
2
11
  * Fixed update_counters raising an exception #97
3
12
 
@@ -28,7 +28,6 @@ module Impressionist
28
28
  to_s.safe_constantize || false
29
29
  end
30
30
 
31
- # default mode is ERROR
32
31
  def impressionist_log(str, mode=:error)
33
32
  Rails.logger.send(mode.to_s, str)
34
33
  end
@@ -15,9 +15,9 @@ module Impressionist
15
15
  receiver.belongs_to(:impressionable, :polymorphic => true)
16
16
  end
17
17
 
18
- # returns done if thruthy
19
18
  def set
20
- :done if (include_attr_acc? && define_belongs_to)
19
+ define_belongs_to
20
+ include_attr_acc?
21
21
  end
22
22
 
23
23
  private
@@ -1,6 +1,6 @@
1
1
  # Note
2
2
  # If impressionist_counter_cache_options[:counter_cache] is false(default)
3
- # it won't event run this class
3
+ # it won't even run this class
4
4
  module Impressionist
5
5
 
6
6
  class UpdateCounters
@@ -1,3 +1,3 @@
1
1
  module Impressionist
2
- VERSION = "1.4.7"
2
+ VERSION = "1.4.8"
3
3
  end
@@ -50,6 +50,7 @@ module Impressionist
50
50
  end
51
51
 
52
52
  end
53
+ # returns done if thruthy
53
54
 
54
55
  end
55
56
  end
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: 1.4.7
4
+ version: 1.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - johnmcaliley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-30 00:00:00.000000000 Z
11
+ date: 2013-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient