svelte 0.1.2 → 0.1.3

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: d6cff0fad1d961e2571a8350b9cd95a62a747de6
4
- data.tar.gz: 0be3fbf04bc59ef79f3612c42de69ae1c431344f
3
+ metadata.gz: 9f96d2b8c2757e7266dd0d5d80249d41b2b36e7e
4
+ data.tar.gz: 46ac26ab58580f7179539d3f863db5701126afcc
5
5
  SHA512:
6
- metadata.gz: 3b20201350834b0ed61d8b3b860c1c85e37e6210d253e535063757b4cdfef818b39392d8af86e691bab5c8fcb73b83c15584d964047f8a53b013d53f95e3b287
7
- data.tar.gz: bca9c1f96514a08659c287e5f6288331efe323a339a17ea8a1fa607f4cb70d89c99129ddc8559cbbd67096348a570701a797573867cb105bd76e3e9c57774269
6
+ metadata.gz: e19dbe1a45c516de1cc9856b29cf68836969a2001fb3e81ce28dc3940dead603a0294cd2fcf0b01b5c043acf35fb0570f61f951b480424a47b86da09d3f4c728
7
+ data.tar.gz: e6081d50c15f64b2f0293cd00ddd5683648b492afae7c13bad6184406180fa65a77c2e6c2f06c825533733682b6abd12d56a5242d122e76ad241e552dfa70e44
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.2.4
1
+ 2.3.0
data/README.md CHANGED
@@ -4,7 +4,7 @@ Svelte is a Swagger-to-Ruby object mapper.
4
4
 
5
5
  It reads a Swagger specification file in JSON, and automatically generates Resource Classes with static methods to represent the various HTTP endpoints.
6
6
 
7
- [![Build Status](https://secure.travis-ci.org/savonrb/savon.png?branch=master)](http://travis-ci.org/savonrb/savon)
7
+ [![Build Status](https://secure.travis-ci.org/notonthehighstreet/svelte.png?branch=master)](http://travis-ci.org/notonthehighstreet/svelte)
8
8
  [![Code Climate](https://codeclimate.com/github/notonthehighstreet/svelte/badges/gpa.svg)](https://codeclimate.com/github/notonthehighstreet/svelte)
9
9
 
10
10
  ## Installation
@@ -16,7 +16,7 @@ module Svelte
16
16
  # `Svelte::Service::Comments`
17
17
  # @note Either `url` or `json` need to be provided. `url` will take
18
18
  # precedence over `json`
19
- def create(url:, json:, module_name:, options:)
19
+ def create(url: nil, json: nil, module_name:, options: {})
20
20
  json = get_json(url: url) if url
21
21
  SwaggerBuilder.new(raw_hash: JSON.parse(json.to_s),
22
22
  module_name: module_name,
@@ -1,4 +1,4 @@
1
1
  module Svelte
2
2
  # Version
3
- VERSION = '0.1.2'.freeze
3
+ VERSION = '0.1.3'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: svelte
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - notonthehighstreet.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-19 00:00:00.000000000 Z
11
+ date: 2016-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -211,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
211
  version: '0'
212
212
  requirements: []
213
213
  rubyforge_project:
214
- rubygems_version: 2.4.8
214
+ rubygems_version: 2.5.1
215
215
  signing_key:
216
216
  specification_version: 4
217
217
  summary: Dynamic Ruby API Client from Swagger JSON Spec