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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9a751217585460ca2e749d175117289a4532701abffa52324990844a846261b
4
- data.tar.gz: 90a4e8a47bf58aaaa0e18087fb852ce713fb32e44415b89f53c464789ae91182
3
+ metadata.gz: 27c567c0681f6d38e5b3741668cde44eee9b32f150d9a11d52ea5d0c1c8a4551
4
+ data.tar.gz: 8f964263300741e8973287b94a7496050e2432a436bab8064b41ac2b07050860
5
5
  SHA512:
6
- metadata.gz: d324b1250fb8ea144973326709e936caddd309d75a03f1801f1e45c8a972c9051982ce127fcf828627d865073e8f10767b76fc9157a564fdf326a98f01b11e98
7
- data.tar.gz: b8f5ab9bc99c0c772db74fd999b02ae315da623aaaefaf12170d6a294fd38de489e53b51b53a128cd8e204c6a53d73bd9b5544f633bd83fdbe7918386b696bf0
6
+ metadata.gz: 77d2448797f6c7055531b4ced3df08bf0012dbcc3d93042583aaaad4b593a46bbd765cfeb0738c6e5630b78528058f60d35fe9f7d4ce6bd6ce65355961c916bc
7
+ data.tar.gz: '08e0090edc8a2090a39d0f3675e363ae92983581cdfe9449a7c12eb9228b178ef750a56addcfb6bcd1a90c07d924b5faa73a6bb8b60729ba14f87ca5fef366a4'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.1.0
1
+ 4.1.1
@@ -60,7 +60,7 @@ module ROXML
60
60
  @sought_type = :namespace
61
61
  elsif opts[:from].to_s.starts_with?('@')
62
62
  @sought_type = :attr
63
- opts[:from].sub!('@', '')
63
+ opts[:from] = opts[:from].sub('@', '')
64
64
  end
65
65
 
66
66
  @name = @attr_name = accessor.to_s.chomp('?')
@@ -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.0 ruby lib
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.0"
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-10"
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 = [
@@ -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.0
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-10 00:00:00.000000000 Z
14
+ date: 2020-07-06 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activesupport