backframe 0.0.14 → 0.0.15

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: 21ef40afe4b8a9b5aea34dae0d739625dd5cbec4
4
- data.tar.gz: e1bbbd7efa50b76af0585849e09a6764a392f93b
3
+ metadata.gz: 5a0cb7ec694d7cec60f2069d51291a8f25d5cefd
4
+ data.tar.gz: 210c8c8c45b6f3a0b1d3371de9c5b86b79c66409
5
5
  SHA512:
6
- metadata.gz: 4365b6368f2fc9f7c932b13b26269de4c2a569966a3d991968a854d97b86f7ba070071ac7887e254fcbbdbc62c39f734333090e09ff0649fd0970654f211721d
7
- data.tar.gz: 498c1605c001d044ff4165bebe2d5ee261ddfd33f135f0318508533967924de7133fbc9646a1e5efcb2f0eaba80e04ad9bcb6f1e1943546cfb5c3c95e813a619
6
+ metadata.gz: 52cb91c7381a0c3fe2a2165d447dac083edf2ecc68e82f4e6362d383e570246ae8e9e2fb64f0f50681860cd8b4a93aa3d8f58aa6c18ade85cb6bd95924f608eb
7
+ data.tar.gz: a61d905b0fa3d8b4dda1abbba84eb44fb13a4b0f01d6ca8c9d0cdfad96bdc738b5230fba0db87f935ab87f77bd6b08041c7ea2d9ba54f9f2901df7e008a06a28
@@ -41,7 +41,7 @@ module Backframe
41
41
  scope :#{field}_is, -> (*options) { where('#{field} IN (?)', (options.is_a?(Array) ? options : [options])) }
42
42
 
43
43
  def #{field}_is?(*options)
44
- (options.is_a?(Array) ? options : [options])include?(self.#{field})
44
+ (options.is_a?(Array) ? options : [options]).include?(self.#{field})
45
45
  end
46
46
  EOV
47
47
 
@@ -49,7 +49,7 @@ module Backframe
49
49
  scope :#{field}_not, -> (*options) { where('#{field} NOT IN (?)', (options.is_a?(Array) ? options : [options])) }
50
50
 
51
51
  def #{field}_not?(*options)
52
- !(options.is_a?(Array) ? options : [options])include?(self.#{field})
52
+ !(options.is_a?(Array) ? options : [options]).include?(self.#{field})
53
53
  end
54
54
  EOV
55
55
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Backframe
4
- VERSION = '0.0.14'
4
+ VERSION = '0.0.15'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backframe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Kops