roar-rails 1.1.0 → 1.2.0

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
- SHA1:
3
- metadata.gz: ace7c60c6e76e0b30246d345fa21e8187e2007b9
4
- data.tar.gz: ac4249bc4fcb3d309ba932e1850c6e17baa0e991
2
+ SHA256:
3
+ metadata.gz: 72a50deaa37777184a20ec63694f99acd0b6abe45a59b26518c03ed9e47c6657
4
+ data.tar.gz: 152119dacff3fa7a2fd1c175627b5a559c4e035c017b174b00c616296faaadf9
5
5
  SHA512:
6
- metadata.gz: 71c22671c3d5bfecebb9b1f2984f1a04bb5c853ca5db85f39e62f4ae32b2711f9ebd85942cea807751b56f995d675df4692c12612b18d3f55c04873c82174222
7
- data.tar.gz: d77de20f05521b69c45d9d32c0832ed9338f638c42211a96583ded54778c709558cc9095c938b367f3329bd299bfdb6e18ddf7c37ce2373a5c3bdef81ae15225
6
+ metadata.gz: fb2d68fc5b0b7dd9086d8826c094eb35b1bff02c083aec98a109bdf77cc206202cdec3f6272823cd5e3b7592577204967da9edbb09303541efe7bb6e083b221e
7
+ data.tar.gz: a202eeddb9816a87f00d56f0333375f10783c403742fb05d545014c586c901b8f1a41c63a5c35dc547880cbe035bd09a89a206d86e36f6ad4892fb410fb01251
data/Appraisals CHANGED
@@ -47,3 +47,12 @@ appraise 'rails-5.0' do
47
47
  gem 'activerecord', '~> 5.0.0'
48
48
  gem 'minitest-rails', '~> 3.0'
49
49
  end
50
+
51
+ appraise 'rails-5.1' do
52
+ gem 'railties', '~> 5.1.0'
53
+ gem 'actionpack', '~> 5.1.0'
54
+
55
+ gem 'activemodel', '~> 5.1.0'
56
+ gem 'activerecord', '~> 5.1.0'
57
+ gem 'minitest-rails', '~> 3.0'
58
+ end
data/CHANGES.markdown CHANGED
@@ -1,3 +1,9 @@
1
+ ## Next
2
+
3
+ ## 1.2.0
4
+
5
+ * Relax version requirement for Roar
6
+
1
7
  ## 1.1.0
2
8
 
3
9
  **Roar 1.1 (and Representable 3.0) support** (see [Roar CHANGES](https://github.com/trailblazer/roar/blob/master/CHANGES.markdown#110))
data/README.markdown CHANGED
@@ -5,7 +5,7 @@ _Makes using Roar's representers in your Rails app fun._
5
5
  [![Build Status](https://travis-ci.org/apotonick/roar-rails.svg?branch=master)](https://travis-ci.org/apotonick/roar-rails)
6
6
  [![Gem Version](https://badge.fury.io/rb/roar-rails.svg)](http://badge.fury.io/rb/roar-rails)
7
7
 
8
- _roar-rails development will be discontinued in the future and we will encourage users to begin migrating to [Trailblazer](trailblazer.to) (and [trailblazer-rails](https://github.com/trailblazer/trailblazer-rails))._
8
+ _roar-rails development will be discontinued in the future and we will encourage users to begin migrating to [Trailblazer](http://trailblazer.to) (and [trailblazer-rails](https://github.com/trailblazer/trailblazer-rails))._
9
9
 
10
10
  ---
11
11
 
@@ -1,5 +1,5 @@
1
1
  module Roar
2
2
  module Rails
3
- VERSION = "1.1.0"
3
+ VERSION = "1.2.0"
4
4
  end
5
5
  end
data/lib/roar-rails.rb CHANGED
@@ -35,6 +35,10 @@ module Roar
35
35
  require 'roar/rails/rails4_2_strategy'
36
36
  when Gem::Version.new(5.0)
37
37
  require 'roar/rails/rails5_0_strategy'
38
+ when Gem::Version.new("5.1")
39
+ require 'roar/rails/rails5_0_strategy'
40
+ when Gem::Version.new("5.2")
41
+ require 'roar/rails/rails5_0_strategy'
38
42
  else
39
43
  # fallback to 4.0 strategy
40
44
  require 'roar/rails/rails4_0_strategy'
data/roar-rails.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
19
  s.require_paths = ["lib"]
20
20
 
21
- s.add_runtime_dependency "roar", '~> 1.1.0'
21
+ s.add_runtime_dependency "roar", "~> 1.2"
22
22
  s.add_runtime_dependency "test_xml", ">= 0.1.6" # TODO: remove dependency as most people don't use XML.
23
23
  s.add_runtime_dependency "actionpack"
24
24
  s.add_runtime_dependency "railties", ">= 3.0.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roar-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sutterer
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-25 00:00:00.000000000 Z
11
+ date: 2023-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: roar
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.1.0
19
+ version: '1.2'
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: 1.1.0
26
+ version: '1.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: test_xml
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -280,7 +280,7 @@ files:
280
280
  homepage: https://github.com/apotonick/roar-rails
281
281
  licenses: []
282
282
  metadata: {}
283
- post_install_message:
283
+ post_install_message:
284
284
  rdoc_options: []
285
285
  require_paths:
286
286
  - lib
@@ -295,9 +295,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
295
295
  - !ruby/object:Gem::Version
296
296
  version: '0'
297
297
  requirements: []
298
- rubyforge_project: roar-rails
299
- rubygems_version: 2.5.1
300
- signing_key:
298
+ rubygems_version: 3.3.18
299
+ signing_key:
301
300
  specification_version: 4
302
301
  summary: Use Roar in Rails.
303
302
  test_files: