bhf 0.4.0 → 0.4.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.
Files changed (2) hide show
  1. data/lib/bhf/platform.rb +3 -3
  2. metadata +3 -3
data/lib/bhf/platform.rb CHANGED
@@ -67,10 +67,10 @@ module Bhf
67
67
  end
68
68
 
69
69
 
70
- chain = if paginate_options && !sortable
71
- chain.page(paginate_options[:page]).per(paginate_options[:per_page])
70
+ if paginate_options && !sortable
71
+ chain = chain.page(paginate_options[:page]).per(paginate_options[:per_page])
72
72
  elsif chain == model
73
- chain.all
73
+ chain = chain.all
74
74
  end
75
75
 
76
76
  @objects = chain
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bhf
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 0
10
- version: 0.4.0
9
+ - 1
10
+ version: 0.4.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Anton Pawlik