spyke 5.3.0 → 5.3.1

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
- SHA1:
3
- metadata.gz: 00c19525c5f1a175a8bb69815c18493d61a0ae9c
4
- data.tar.gz: f3b903bd7a4ae21e974fe3a1a77e75adff7c104a
2
+ SHA256:
3
+ metadata.gz: 3a8f605cd12c22641c85ffdaf643cead8ef8eab997e347075596a7b7c9149e0c
4
+ data.tar.gz: 97caf4cac49eb5e66164193845e5a5bb60069cc910f349de38eaf01e0d7fd57c
5
5
  SHA512:
6
- metadata.gz: 23693dddb0c0b1f7f5afc44b7015de2eb4e1fbd28ae847685690ddf0f5c957a1f0cee01e63566827f987ee95d84aab6ea1b9019145f98ba3aaa397a53fbe899b
7
- data.tar.gz: 10d722d8f55f915520a2c95a42e9545afe712599a6a8c8859674ded1f7548582f759eee2f285a18882aaa691aeda55b2eb7f0d9ee4cacbae4f9a4c667442a92f
6
+ metadata.gz: 1afad1b576ca01dd62b642da238ad80f2048da50a73ca387ed8df541a005601ba55a2c4769c881e991f79d40adbfa0992377989881dc49ce12c58174265ffd36
7
+ data.tar.gz: 6e99ad81b53c136acadb85bc5363510067cb7704bbdc74a8ad1c84c0b79ff0079ac5029e5aa6aa65b74e24446068d01e568fb4258080bdf4202ccb4c75303be9
@@ -2,4 +2,5 @@ notifications:
2
2
  email: false
3
3
  rvm:
4
4
  - 2.3.1
5
+ - 2.5.1
5
6
  sudo: false
data/README.md CHANGED
@@ -6,7 +6,6 @@
6
6
  Interact with remote <strong>REST services</strong> in an <strong>ActiveRecord-like</strong> manner.
7
7
  <br /><br />
8
8
  <a href="https://rubygems.org/gems/spyke"><img src="https://badge.fury.io/rb/spyke.svg?style=flat" alt="Gem Version"></a>
9
- <a href='https://gemnasium.com/balvig/spyke'><img src="https://gemnasium.com/balvig/spyke.svg" /></a>
10
9
  <a href="https://codeclimate.com/github/balvig/spyke"><img src="https://codeclimate.com/github/balvig/spyke/badges/gpa.svg" /></a>
11
10
  <a href='https://coveralls.io/r/balvig/spyke?branch=master'><img src='https://img.shields.io/coveralls/balvig/spyke.svg?style=flat' /></a>
12
11
  <a href="https://travis-ci.org/balvig/spyke"><img src="https://travis-ci.org/balvig/spyke.svg?branch=master" /></a>
@@ -79,7 +79,7 @@ module Spyke
79
79
  end
80
80
 
81
81
  def default_uri
82
- "#{model_name.element.pluralize}/(:#{primary_key})"
82
+ "#{model_name.element.pluralize}(/:#{primary_key})"
83
83
  end
84
84
  end
85
85
 
@@ -1,3 +1,3 @@
1
1
  module Spyke
2
- VERSION = '5.3.0'
2
+ VERSION = '5.3.1'
3
3
  end
@@ -135,9 +135,9 @@ module Spyke
135
135
 
136
136
  def test_inspect
137
137
  recipe = Recipe.new(id: 2, title: 'Pizza', description: 'Delicious')
138
- assert_equal '#<Recipe(recipes/(:id)) id: 2 title: "Pizza" description: "Delicious">', recipe.inspect
138
+ assert_equal '#<Recipe(recipes(/:id)) id: 2 title: "Pizza" description: "Delicious">', recipe.inspect
139
139
  recipe = Recipe.new
140
- assert_equal '#<Recipe(recipes/(:id)) id: nil >', recipe.inspect
140
+ assert_equal '#<Recipe(recipes(/:id)) id: nil >', recipe.inspect
141
141
  user = Recipe.new.build_user
142
142
  assert_equal '#<User(users/:uuid) id: nil >', user.inspect
143
143
  group = Recipe.new.groups.build
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spyke
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.3.0
4
+ version: 5.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Balvig
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-02 00:00:00.000000000 Z
11
+ date: 2018-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -316,7 +316,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
316
316
  version: '0'
317
317
  requirements: []
318
318
  rubyforge_project:
319
- rubygems_version: 2.6.13
319
+ rubygems_version: 2.7.6
320
320
  signing_key:
321
321
  specification_version: 4
322
322
  summary: Interact with REST services in an ActiveRecord-like manner