best_boy 2.1.4 → 2.2.0

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: 530485c8a6a8e6dd348781770d3e01ae65823aff
4
- data.tar.gz: 71f4eae9ea849d7f00c871a91515e603c7ccc3fb
3
+ metadata.gz: df256db90741885d7f20f019b73c86e8f851fefd
4
+ data.tar.gz: ae53aea37dfaead5373d31a14281eeedfa59f34d
5
5
  SHA512:
6
- metadata.gz: 17c1c0bdb6fc7c32b964215153bdf5cdc74ca9acba042d4b90a28ad473e86b1e882bff9ac86b850cace7f08ac52d8a87b2914dc32a390291670c3e0fa3a7f240
7
- data.tar.gz: e7ee3fb16e1a1cf00b1713bcba216db27e3ed9408d0f7efd78c129ee71297a23ba94b561e026c0635ddb8d983eb019d032250c135f5fefafd0e64df6e9f564c1
6
+ metadata.gz: 9ad46cda0b5953f853af5d3797932510d8f299c3e2b4cc035f24d0a9f1790da9d340c5a0cbfaa59fea3c70bf96ef185a6e9784825ef5bbc96d27707062aaa0ab
7
+ data.tar.gz: 1420badd4a1bac8e586d1ea7362af3fea44a18543c539dfc76ce766af58336fe72527e97a0ac55edc79260dcc318c6b1baee47165427d2f6fe3662f321a0de63
data/README.md CHANGED
@@ -61,8 +61,12 @@ Run the migration
61
61
 
62
62
  Changelog
63
63
  ---------
64
+ #### 2.2.0
65
+ * Updated dependencies for rspec and kaminari
66
+ * Make recover_report_history rake task a noop for no previously tracked BestBoyEvents
67
+
64
68
  #### 2.1.4
65
- * Bugfix for report recovery rake task
69
+ * Bugfix for report recovery rake task
66
70
 
67
71
  #### 2.1.3
68
72
  * Compatible with Rails 4.1
@@ -77,10 +81,10 @@ Changelog
77
81
  * Avoid potential name clashes for callbacks switch ([#10](https://github.com/Absolventa/best_boy/issues/10))
78
82
 
79
83
 
80
- Update in Version 2
84
+ Upgrading to Version 2
81
85
  --------------------------------
82
86
 
83
- From Version 2.x on BestBoy uses aggregated tables for the admin panel. You need
87
+ From v2.x, BestBoy uses aggregated tables for the admin panel. You need
84
88
  to copy the new migrations to your app by running
85
89
 
86
90
  rails g best_boy --asset
@@ -90,7 +94,11 @@ reject this pressing 'n' for not overwriting your settings. Don't forget to run
90
94
 
91
95
  rake db:migrate
92
96
 
93
- in context of your mother app afterwards. See also section "Some thoughts about Performance"
97
+ and
98
+
99
+ rake best_boy:recover_report_history
100
+
101
+ in the context of your mother app afterwards. See also section "Some thoughts about Performance"
94
102
  for more details about new data organization.
95
103
 
96
104
 
@@ -213,7 +221,7 @@ Contributors in alphabetic order
213
221
  * [carpodaster](https://github.com/carpodaster)
214
222
  * [cseydel](https://github.com/cseydel)
215
223
  * [danscho](https://github.com/danscho)
216
- * [neumanrq](https://github.com/neumannrq)
224
+ * [neumanrq](https://github.com/neumanrq)
217
225
 
218
226
  Thanks
219
227
  ------
@@ -1,3 +1,3 @@
1
1
  module BestBoy
2
- VERSION = "2.1.4"
2
+ VERSION = '2.2.0'
3
3
  end
@@ -2,6 +2,8 @@ namespace :best_boy do
2
2
  desc "Creates consistent structure of DayReports and MonthReports for a given set of events"
3
3
  task :recover_report_history, [:date] => :environment do |t, args|
4
4
 
5
+ next unless BestBoyEvent.any?
6
+
5
7
  # helper methods
6
8
  #
7
9
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: best_boy
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.4
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christoph Seydel, Robin Neumann, Daniel Schoppmann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-06 00:00:00.000000000 Z
11
+ date: 2014-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: 0.14.1
40
40
  - - <
41
41
  - !ruby/object:Gem::Version
42
- version: '0.16'
42
+ version: 0.16.1
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: 0.14.1
50
50
  - - <
51
51
  - !ruby/object:Gem::Version
52
- version: '0.16'
52
+ version: 0.16.1
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: google_visualr
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -84,14 +84,14 @@ dependencies:
84
84
  requirements:
85
85
  - - ~>
86
86
  - !ruby/object:Gem::Version
87
- version: '2.14'
87
+ version: 3.0.2
88
88
  type: :development
89
89
  prerelease: false
90
90
  version_requirements: !ruby/object:Gem::Requirement
91
91
  requirements:
92
92
  - - ~>
93
93
  - !ruby/object:Gem::Version
94
- version: '2.14'
94
+ version: 3.0.2
95
95
  - !ruby/object:Gem::Dependency
96
96
  name: shoulda
97
97
  requirement: !ruby/object:Gem::Requirement