best_boy 2.2.2 → 2.2.3

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
  SHA1:
3
- metadata.gz: 5de6db4bc26dbd536478fcaa38803139e7d5590e
4
- data.tar.gz: 1a4890988826c2380d0bcaba84cd5f32115390d3
3
+ metadata.gz: 00c48525e82d4a49337c3940ecf10eb160d8dd1a
4
+ data.tar.gz: 412a38e42807d9fe19fa22667bc668feff7833c3
5
5
  SHA512:
6
- metadata.gz: 70152fc6fba8f7c7d3922d7512c73f712f29c5dfc3c83f50a893c154a557cbbdc521ddf81c6179c7b6161baf40040bbd4f35e515bd11ce87585b1ff7af66ca30
7
- data.tar.gz: da9eadefd4720057c55c473a48e1b9aa61d6e1bc3b41fb4209b20ce4b7a1ef2534e3d5e60067aa4015f5728e20cba8a6541b99bf57a7e3315940cfe45bdbfe21
6
+ metadata.gz: 43395b950a37ae16e7ae958e4c252b37d4651cdcb828bfdbd092d1542e2f7122202e1541e53effd78ec457af1920b0b8e84cffe7b5e66f92135bf0f9db76c91c
7
+ data.tar.gz: d687c76b054a487e8f27a8f165dc8ad30c205d284971526c97e89447a8ea56599f83b301910fc62a0b91c775b58384a85314873ae9ee1514213b64ac23ea2a85
data/README.md CHANGED
@@ -62,6 +62,12 @@ Run the migration
62
62
 
63
63
  Changelog
64
64
  ---------
65
+ #### 2.2.3
66
+ * Rename ``report``method to a more best_boy specific ``trigger_best_boy_event_report`
67
+
68
+ #### 2.2.2
69
+ * Fix dependency bug with kaminari
70
+
65
71
  #### 2.2.1
66
72
  * flexibilized report creation method to create reports for a specific date
67
73
  * no compatibility with Ruby 1.9.3
@@ -28,7 +28,7 @@ module BestBoy
28
28
  create_best_boy_event_with_type(type, source)
29
29
  end
30
30
 
31
- def report(klass: self.class.to_s, type: '', source: nil, date: Time.zone.now)
31
+ def trigger_best_boy_event_report(klass: self.class.to_s, type: '', source: nil, date: Time.zone.now)
32
32
  BestBoy::MonthReport.current_or_create_for(klass, type, source, date).increment!(:occurrences)
33
33
  BestBoy::DayReport.current_or_create_for(klass, type, source, date).increment!(:occurrences)
34
34
  end
@@ -54,8 +54,8 @@ module BestBoy
54
54
  end
55
55
  best_boy_event.save
56
56
 
57
- report(type: type, source: source) if source.present?
58
- report(type: type, source: nil)
57
+ trigger_best_boy_event_report(type: type, source: source) if source.present?
58
+ trigger_best_boy_event_report(type: type, source: nil)
59
59
  end
60
60
 
61
61
  end
@@ -1,3 +1,3 @@
1
1
  module BestBoy
2
- VERSION = '2.2.2'
2
+ VERSION = '2.2.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: best_boy
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christoph Seydel, Carsten Zimmermann, Robin Neumann, Daniel Schoppmann