corn_starch 1.1.26 → 1.1.27

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: 3a71cdc5daad01306535933164b27630ca4231a3
4
- data.tar.gz: ff06271dee7cfe37f0e19fa4a118b94cb22543f3
3
+ metadata.gz: e66e5281d787644f3c1586e7963aabb4ec389c99
4
+ data.tar.gz: d2882d2a7063215dd9e3022557a0841a08a30ba5
5
5
  SHA512:
6
- metadata.gz: 8db7e126df657524e23fb2a0fe46adffac4251629eabe6f8d1c1de7a26dcfe7437a64e1c8c91b37552ffc54bc2e8b793ea4a50a319b91b799563620325836013
7
- data.tar.gz: 360df1ca8dda98c04c5de9be94fd2ba6de232036849d299860fca3013b8edbaf849707f491eb7a45f0403f7c685c26022793f9ad7cee0c943734dc5353c8505d
6
+ metadata.gz: 0d6e139d18b9e60f428fc70e785e0051f0f4105a2fea078d9451c8c46d3db00da05b056ec9db6da065ad6adaf9cf6a545155ff22302a81c3299723edca220480
7
+ data.tar.gz: 86ce52486d44c59276878982208857e6afc3f1fc6e60cabaa53cb5c53b6b6917a88473883363ee7c0b05893a5840e882f3715f559d315a5bf23a059faad84704
@@ -61,7 +61,7 @@ module CornStarch
61
61
  @pagination[:recs_per_page] = (session[:pagination][:recs_per_page] || CORNSTARCH_CONF[:pagination][:records_per_page][:default]).to_i
62
62
 
63
63
  # DEBUG
64
- puts "================== FILTER : #{@pagination}"
64
+ puts "================== FILTER : #{@pagination.inspect}"
65
65
 
66
66
  end
67
67
 
@@ -156,7 +156,7 @@ module CornStarch
156
156
  @pagination[:pg_count] = (total / @pagination[:recs_per_page]) + (((total % @pagination[:recs_per_page]) > 0) ? 1 : 0)
157
157
 
158
158
  # DEBUG
159
- puts "================== PAGINATION : #{@pagination}"
159
+ puts "================== PAGINATION : #{@pagination.inspect}"
160
160
 
161
161
  # Compute Page Range
162
162
  range_start = current - (CORNSTARCH_CONF[:pagination][:page_range] / 2)
@@ -14,6 +14,9 @@ CORNSTARCH_CONF = YAML::load_file CORNSTARCH_CONF_FILE if File.exist? CORNSTARCH
14
14
  CORNSTARCH_CONF ||= {}
15
15
  CORNSTARCH_CONF.deep_symbolize_keys!
16
16
 
17
+ # DEBUG
18
+ puts "=========== CONFIG (loaded from file) : #{CORNSTARCH_CONF.inspect}"
19
+
17
20
  ######################
18
21
  # Configure Defaults #
19
22
  ######################
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.1.26'
2
+ VERSION = '1.1.27'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corn_starch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.26
4
+ version: 1.1.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse