frenchy 0.6.0 → 0.6.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b997d6d2702753a71cb04388c829b32cc68b53b1
4
- data.tar.gz: 238f61662629cc797ffed1845a47598384539247
3
+ metadata.gz: 138c95435cc74894cf8df639fc13c0778cc3ac92
4
+ data.tar.gz: '09a619f4b0f0f98e0986a946ede910d61bfde470'
5
5
  SHA512:
6
- metadata.gz: b9e395f9728e47492a1873a9b3813b7f673c05d0dbb4ec6df929808e557fd14bcd7947159c1159001ea7b8f52f162b297e72ee7d139025ee748ec7af30422524
7
- data.tar.gz: cb5c37306cb4b97b1bc51fdf0e35a72762c6864768f3747e8734d118e5eabd82eb28faa49d2fa0b75200cd73a766586b8dc7afb9b744dd6b74e09e9fa21d06d0
6
+ metadata.gz: d87c907a2ed667b3920775aa6cfd023134a4d88faeae7261418c7821758823b078b81b3c9c7e3e4d5ea2a8a67840cab0410b5f24fd189f3d685699746989d85c
7
+ data.tar.gz: a0ada1f16dceaea56217eeec439633b428cf3a3d7ae2c0c059eae9bb907d86f9b0becfe2ab5b18998a374149e26b1e650674a2ce450d31782c4582c246311c75
@@ -1,3 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.3.0
3
+ - 2.3.4
4
+ - 2.4.1
@@ -7,7 +7,7 @@ module Frenchy
7
7
  module ClassMethods
8
8
  # Find record(s) using the default endpoint and flexible input
9
9
  def find(params={})
10
- params = {"id" => params.to_s} if [Fixnum, String].any? {|c| params.is_a? c }
10
+ params = {"id" => params.to_s} if [Integer, String].any? {|c| params.is_a? c }
11
11
  find_with_endpoint("default", params)
12
12
  end
13
13
 
@@ -1,3 +1,3 @@
1
1
  module Frenchy
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
@@ -250,7 +250,7 @@ describe Frenchy::Model do
250
250
  expect(v.other_priority).to eql(Box::Priority::NORMAL)
251
251
  end
252
252
 
253
- it "accepts fixnums" do
253
+ it "accepts integers" do
254
254
  v = Box.new(priority: 2)
255
255
  expect(v.priority).to eql(Box::Priority::EXPRESS)
256
256
  expect(v.priority.to_i).to eql(2)
@@ -307,4 +307,4 @@ describe Frenchy::Model do
307
307
  end
308
308
  end
309
309
  end
310
- end
310
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frenchy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Coene
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-27 00:00:00.000000000 Z
11
+ date: 2017-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  version: '0'
182
182
  requirements: []
183
183
  rubyforge_project:
184
- rubygems_version: 2.5.2
184
+ rubygems_version: 2.6.11
185
185
  signing_key:
186
186
  specification_version: 4
187
187
  summary: Opinionated JSON API modeling framework for Ruby.