roar 1.1.0 → 1.1.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: a9315b89b6aa93848741828ab6a94e338677e397
4
- data.tar.gz: c373cdb3f85a40560502cd9ef09ad88363499394
2
+ SHA256:
3
+ metadata.gz: a6cecfd29cd502ae30718cbf9b8ca3a5befc380b0af976b547eafa0f70cfeae3
4
+ data.tar.gz: dbb230511da49e696f96259bc46f89a2f401f6cbe954dbe1f3c5768f4c65dbc2
5
5
  SHA512:
6
- metadata.gz: 059ab5ab647e9ec273976d485715dfed04895dc1538e8331025cea005995a1b9cf9cdb16c7e0ed34441f338594976e09c9ba48ccd071a2846aed5697a81f742c
7
- data.tar.gz: 93101c0816d59b8ffe8465eddb7d5882f132322b1c00f4e44dd960c4b840ac0ce52f4d647245ebdec52682fccfb88c0716ee1c1b4d998c46e5edc6d92753cd4a
6
+ metadata.gz: ef524e4b90b8cc57a6d36aedf89d4e378f08239e07344da0de0132e9aee99c27bbe885f16eaa3e8322158d23557e25b8bc507bbc3f5cf9e899352829fad299b7
7
+ data.tar.gz: e0316e4a6dd737d12df3dffda56996cd7f1c915d67b1c771f5c633de541869bce3d4e2077d529a27ef5c107d30e2cb741834e717769e72e183fe6222c5eadab3
File without changes
data/.travis.yml CHANGED
@@ -1,17 +1,16 @@
1
- sudo: false
2
- rvm:
3
- - 1.9.3
4
- - 2.1
5
- - 2.2.6
6
- - 2.3.1
7
- - 2.4.0
8
- - jruby-9.1.6.0
9
- - ruby-head
10
- gemfile:
11
- - Gemfile
12
- # - gemfiles/Gemfile.representable-2.4
1
+ language: ruby
13
2
  before_install:
14
3
  - gem install bundler
15
4
  matrix:
16
5
  allow_failures:
17
6
  - rvm: ruby-head
7
+ fast_finish: true
8
+ include:
9
+ - rvm: 2.3.8
10
+ - rvm: 2.4.6
11
+ - rvm: 2.5.5
12
+ - rvm: 2.6.3
13
+ - rvm: jruby-9.1.15.0
14
+ env:
15
+ - JRUBY_OPTS="--client -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-Xss2m -Xcompile.invokedynamic=false -J-Xmx1536m"
16
+ - rvm: ruby-head
data/CHANGES.markdown CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.1.1
2
+
3
+ * Allow Representable 3.x.
4
+
1
5
  # 1.1.0
2
6
 
3
7
  * Require Representable 3.0.x
data/Gemfile CHANGED
@@ -1,17 +1,10 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
- # Specify your gem's dependencies in roar.gemspec
4
- gemspec
3
+ ruby RUBY_VERSION
5
4
 
6
- install_if -> { RUBY_VERSION > '2.2.2' } do
7
- gem 'sinatra', '~> 2.0.0.beta2'
8
- gem 'sinatra-contrib', github: 'sinatra/sinatra'
9
- end
5
+ gemspec
10
6
 
11
- gem 'nokogiri', '~> 1.6.8'
7
+ gem "nokogiri", ">= 1.8.5"
12
8
 
13
- # gem "representable", path: "../representable"
14
- # gem "representable", github: "apotonick/representable"
15
- # gem "declarative", path: "../declarative"
16
9
  gem "minitest-line"
17
10
  gem "pry"
data/README.markdown CHANGED
@@ -67,6 +67,12 @@ The roar gem runs with all Ruby versions >= 1.9.3.
67
67
  gem 'roar'
68
68
  ```
69
69
 
70
+ To use roar with Ruby versions < 2.2.0, add a version pin to your Gemfile:
71
+
72
+ ```ruby
73
+ gem 'sinatra', '~> 1.4'
74
+ ```
75
+
70
76
  ### Dependencies
71
77
 
72
78
  Roar does not bundle dependencies for JSON and XML.
data/lib/roar/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Roar
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
data/roar.gemspec CHANGED
@@ -17,13 +17,15 @@ Gem::Specification.new do |s|
17
17
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
18
  s.require_paths = ["lib"]
19
19
 
20
- s.add_runtime_dependency "representable", "~> 3.0.0"
20
+ s.required_ruby_version = '>= 1.9.3'
21
21
 
22
- s.add_development_dependency "rake", ">= 0.10.1"
22
+ s.add_runtime_dependency "representable", "~> 3.0"
23
+
24
+ s.add_development_dependency "rake"
23
25
  s.add_development_dependency "test_xml", "0.1.6"
24
26
  s.add_development_dependency 'minitest', '>= 5.10'
25
- s.add_development_dependency "sinatra", '>= 2.0.0'
26
- s.add_development_dependency "sinatra-contrib", '>= 2.0.0'
27
+ s.add_development_dependency "sinatra"
28
+ s.add_development_dependency "sinatra-contrib"
27
29
  s.add_development_dependency "virtus", ">= 1.0.0"
28
30
  s.add_development_dependency "faraday"
29
31
  s.add_development_dependency "multi_json"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sutterer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-12 00:00:00.000000000 Z
11
+ date: 2021-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: representable
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.0
19
+ version: '3.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 3.0.0
26
+ version: '3.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.10.1
33
+ version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 0.10.1
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: test_xml
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,28 +72,28 @@ dependencies:
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: 2.0.0
75
+ version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: 2.0.0
82
+ version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: sinatra-contrib
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 2.0.0
89
+ version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: 2.0.0
96
+ version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: virtus
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -144,12 +144,12 @@ executables: []
144
144
  extensions: []
145
145
  extra_rdoc_files: []
146
146
  files:
147
+ - ".github/ISSUE_TEMPLATE.md"
147
148
  - ".gitignore"
148
149
  - ".travis.yml"
149
150
  - CHANGES.markdown
150
151
  - CONTRIBUTING.md
151
152
  - Gemfile
152
- - ISSUE_TEMPLATE.md
153
153
  - LICENSE
154
154
  - README.markdown
155
155
  - Rakefile
@@ -208,15 +208,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
208
208
  requirements:
209
209
  - - ">="
210
210
  - !ruby/object:Gem::Version
211
- version: '0'
211
+ version: 1.9.3
212
212
  required_rubygems_version: !ruby/object:Gem::Requirement
213
213
  requirements:
214
214
  - - ">="
215
215
  - !ruby/object:Gem::Version
216
216
  version: '0'
217
217
  requirements: []
218
- rubyforge_project:
219
- rubygems_version: 2.5.1
218
+ rubygems_version: 3.2.3
220
219
  signing_key:
221
220
  specification_version: 4
222
221
  summary: Parse and render REST API documents using representers.