roxml 4.1.0 → 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/roxml/definition.rb +1 -1
- data/roxml.gemspec +3 -3
- data/spec/definition_spec.rb +6 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27c567c0681f6d38e5b3741668cde44eee9b32f150d9a11d52ea5d0c1c8a4551
|
4
|
+
data.tar.gz: 8f964263300741e8973287b94a7496050e2432a436bab8064b41ac2b07050860
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77d2448797f6c7055531b4ced3df08bf0012dbcc3d93042583aaaad4b593a46bbd765cfeb0738c6e5630b78528058f60d35fe9f7d4ce6bd6ce65355961c916bc
|
7
|
+
data.tar.gz: '08e0090edc8a2090a39d0f3675e363ae92983581cdfe9449a7c12eb9228b178ef750a56addcfb6bcd1a90c07d924b5faa73a6bb8b60729ba14f87ca5fef366a4'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.1.
|
1
|
+
4.1.1
|
data/lib/roxml/definition.rb
CHANGED
data/roxml.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: roxml 4.1.
|
5
|
+
# stub: roxml 4.1.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "roxml".freeze
|
9
|
-
s.version = "4.1.
|
9
|
+
s.version = "4.1.1"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
13
13
|
s.authors = ["Ben Woosley".freeze, "Zak Mandhro".freeze, "Anders Engstrom".freeze, "Russ Olsen".freeze]
|
14
|
-
s.date = "2020-06
|
14
|
+
s.date = "2020-07-06"
|
15
15
|
s.description = "ROXML is a Ruby library designed to make it easier for Ruby developers to work with XML.\nUsing simple annotations, it enables Ruby classes to be mapped to XML. ROXML takes care\nof the marshalling and unmarshalling of mapped attributes so that developers can focus on\nbuilding first-class Ruby classes. As a result, ROXML simplifies the development of\nRESTful applications, Web Services, and XML-RPC.\n".freeze
|
16
16
|
s.email = "ben.woosley@gmail.com".freeze
|
17
17
|
s.extra_rdoc_files = [
|
data/spec/definition_spec.rb
CHANGED
@@ -426,7 +426,6 @@ describe ROXML::Definition do
|
|
426
426
|
end
|
427
427
|
|
428
428
|
describe "options" do
|
429
|
-
|
430
429
|
shared_examples_for "boolean option" do
|
431
430
|
it "should be recognized" do
|
432
431
|
ROXML::Definition.new(:author, :from => :content, @option => true).respond_to?(:"#{@option}?")
|
@@ -468,4 +467,10 @@ describe ROXML::Definition do
|
|
468
467
|
it_should_behave_like "boolean option"
|
469
468
|
end
|
470
469
|
end
|
470
|
+
|
471
|
+
describe 'frozen_string_literal behavior' do
|
472
|
+
it 'should not raise error' do
|
473
|
+
expect { ROXML::Definition.new(:element, :from => '@somewhere'.freeze) }.not_to raise_error(FrozenError)
|
474
|
+
end
|
475
|
+
end
|
471
476
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roxml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Woosley
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2020-06
|
14
|
+
date: 2020-07-06 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activesupport
|