sixarm_ruby_string_to_class 1.1.0 → 1.1.2

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9e7eae968f0aaf5bcb2ce951111c390516197a02
4
+ data.tar.gz: 748cd47ac92692276590a972f4fdd7b2aef7e4fe
5
+ SHA512:
6
+ metadata.gz: f9a03bc1e7ecd0a6b4922a020d080848df05eda196f761fe35d3ed336730738507e21f050f1bde5769efa246b5991dfd441bf33fe0fd2903833acc8785523da2
7
+ data.tar.gz: 3976467ccd1e605addd6d2f991ba88a81b8c9d74790cc8febb6309c512c8b8f70b394aef0192a9a8a0acaf51e5c34f6f601d4c8b833139ad32910f82bf39c06e
@@ -0,0 +1,4 @@
1
+ �p��:7���&�ȯ��_��S�+�`����c������^��N�{��y�g�BͲl�������S#�XA�B
2
+ �j�r�@��K~���ۖmO��3�j�_��k~�B�:/�|P?"�R�u�3/�0+Yը8К�z0��/��� �-'�6�.<��Y�zdbֵͮUJ�$Eǔ,���By�o���+�u%jc�y϶U\f���H���1տ|�F[��"����KX�}F+I��"'�ll��7����=����+��1�@z����K�_��c�l�]��!����x��Z���9I
3
+ ����8 ]��AO�7��"F!�~){�|��w��'�O��=�����3R>I��?n^F-z�k(�겼4
4
+ 0�� �^f
data.tar.gz.sig CHANGED
Binary file
data/Rakefile CHANGED
@@ -1,8 +1,10 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'rake'
3
- require 'rake/testtask'
2
+ require "rake"
3
+ require "rake/testtask"
4
+
5
+ task :default => :test
4
6
 
5
7
  Rake::TestTask.new(:test) do |t|
6
- t.libs << 'lib' << 'test'
7
- t.pattern = 'test/*.rb'
8
+ t.libs.push("lib", "test")
9
+ t.pattern = "test/**/*.rb"
8
10
  end
metadata CHANGED
@@ -1,78 +1,181 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sixarm_ruby_string_to_class
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
5
- prerelease:
4
+ version: 1.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - SixArm
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain:
12
- - !binary |-
13
- LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURCRENDQW0yZ0F3SUJB
14
- Z0lKQUtQd0VFVFU1YkhvTUEwR0NTcUdTSWIzRFFFQkJRVUFNR0F4Q3pBSkJn
15
- TlYKQkFZVEFsVlRNUk13RVFZRFZRUUlFd3BEWVd4cFptOXlibWxoTVJZd0ZB
16
- WURWUVFIRXcxVFlXNGdSbkpoYm1OcApjMk52TVE4d0RRWURWUVFLRXdaVGFY
17
- aEJjbTB4RXpBUkJnTlZCQU1UQ25OcGVHRnliUzVqYjIwd0hoY05NVEF4Ck1q
18
- RXpNak15TnpFeldoY05NVE13T1RBNE1qTXlOekV6V2pCZ01Rc3dDUVlEVlFR
19
- R0V3SlZVekVUTUJFR0ExVUUKQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFV
20
- RUJ4TU5VMkZ1SUVaeVlXNWphWE5qYnpFUE1BMEdBMVVFQ2hNRwpVMmw0UVhK
21
- dE1STXdFUVlEVlFRREV3cHphWGhoY20wdVkyOXRNSUdmTUEwR0NTcUdTSWIz
22
- RFFFQkFRVUFBNEdOCkFEQ0JpUUtCZ1FDOTRtRDlKRHdCc3Vuc09JMFZSM0NY
23
- WGJPV2c5Y1dhV2Npd0Z5Sk5GaU03QTlJOEtQTGZYVXcKUUM0Y3pVZTVadUc0
24
- V0h2aW5yV2hrckNLKzFkV0Jxb0VDbHhkRi9Gb0tPNWErdG9uR0Nqam1meTgx
25
- Sm1Gamp5eAplVHNqc0h5dncrUWlrOWtwZjlhajYrcG5rTnJWc3dnTkhWZWEy
26
- bzl5YWJiRWlTNlZTZUpXb1FJREFRQUJvNEhGCk1JSENNQjBHQTFVZERnUVdC
27
- QlF6UEp0cW1TZ2M1M2VETjdhU3pEUXdyOVRBTERDQmtnWURWUjBqQklHS01J
28
- R0gKZ0JRelBKdHFtU2djNTNlRE43YVN6RFF3cjlUQUxLRmtwR0l3WURFTE1B
29
- a0dBMVVFQmhNQ1ZWTXhFekFSQmdOVgpCQWdUQ2tOaGJHbG1iM0p1YVdFeEZq
30
- QVVCZ05WQkFjVERWTmhiaUJHY21GdVkybHpZMjh4RHpBTkJnTlZCQW9UCkJs
31
- TnBlRUZ5YlRFVE1CRUdBMVVFQXhNS2MybDRZWEp0TG1OdmJZSUpBS1B3RUVU
32
- VTViSG9NQXdHQTFVZEV3UUYKTUFNQkFmOHdEUVlKS29aSWh2Y05BUUVGQlFB
33
- RGdZRUFvb0VleFAvb1BhbTFUUDcxU3l1aHhNYit1VHJaYlNRZQpqVkIrRXhS
34
- d1dhZEd3YU5QVUE1NmQzOXF3YXZ3UCtpdSszSnBlb25OTVZ2YldYRjVuYUNY
35
- L2RORkllUkVIekVSClpEUlFZTXFydTlURU1uYTZIRDl6cGNzdEY3dndUaEdv
36
- dmxPUSszWTZwbFE0bk16aXBYY1o5VEhxczY1UElMMHEKZWFid3BDYkFvcG89
37
- Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
38
- date: 2012-03-20 00:00:00.000000000 Z
39
- dependencies: []
40
- description:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIGCTCCA/GgAwIBAgIJAK3igyLv2hNNMA0GCSqGSIb3DQEBBQUAMGAxCzAJBgNV
14
+ BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNp
15
+ c2NvMQ8wDQYDVQQKEwZTaXhBcm0xEzARBgNVBAMTCnNpeGFybS5jb20wHhcNMTUw
16
+ MzE0MjA0MTE5WhcNMTcxMjA4MjA0MTE5WjBgMQswCQYDVQQGEwJVUzETMBEGA1UE
17
+ CBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2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
+ VQQKEwZTaXhBcm0xEzARBgNVBAMTCnNpeGFybS5jb22CCQCt4oMi79oTTTAMBgNV
34
+ HRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4ICAQCYcCnvJpEhpo5mdVM8JDUuUZFt
35
+ qP2Kvj9J6tqugO+cuUF2S/ro4gdEQhl7Gv6+DCWHd0FQWJBSXMsZ9a6RhFGAcE5C
36
+ egK706Gh40yNeobd1aoUh+Pn17kYH2WSBRC+KsIvhZaAnra/1JPZItoge64GS+lM
37
+ PJJbVrtSati++s39wnss1QlMy9TXoesmR8vqsOU0XdCnK5hOun5RA8SYDWLffsfG
38
+ E3hvCg4C5viEkPY0YdC0KMSqs5kIA2nCUiqpkwIOa36rVEwiKiU7OCfE3u3baDpL
39
+ FlfMBznZKOdxDFAmNaxvXBe2XeTzrZPvJtnNLWL6K4LaBHhq3bBdh1Hge0iMkpQ7
40
+ RTIGlfhlIFkMV3wT0LTsNznUPsoo6e+IW/tDrk23mrNRY6QynTETb+QVIevuzD9m
41
+ Drcxp/zlVhud+a0ezdnyNvF520arJWvqA4GrOo8F+TT2vVrjscgYjiVGdSq+8wQv
42
+ Efa5jhe8QwG7R1rdpMMP5yBSAqWuFBczMveX5j4rp9Ifw5/XsZbgwcmdm26bjhzh
43
+ w2grAHIhvR9mztm6uXQlZhv1fu3P+RWHDSYhnZSCJSCdxPzQJ1mG5T5ahiL3HvCZ
44
+ 2AC9FOGkybW6DJEFSFFMlNk0IILsa/gNp8ufGuTVLWF9FUUdMNK+TMbghnifT8/1
45
+ n+ES/gQPOnvmVkLDGw==
46
+ -----END CERTIFICATE-----
47
+ date: 2017-08-13 00:00:00.000000000 Z
48
+ dependencies:
49
+ - !ruby/object:Gem::Dependency
50
+ name: minitest
51
+ requirement: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: 5.7.0
56
+ - - "<"
57
+ - !ruby/object:Gem::Version
58
+ version: '6'
59
+ type: :development
60
+ prerelease: false
61
+ version_requirements: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: 5.7.0
66
+ - - "<"
67
+ - !ruby/object:Gem::Version
68
+ version: '6'
69
+ - !ruby/object:Gem::Dependency
70
+ name: sixarm_ruby_minitest_extensions
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '='
74
+ - !ruby/object:Gem::Version
75
+ version: 1.0.5
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 1.0.5
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">"
88
+ - !ruby/object:Gem::Version
89
+ version: 10.4.2
90
+ - - "<"
91
+ - !ruby/object:Gem::Version
92
+ version: '11'
93
+ type: :development
94
+ prerelease: false
95
+ version_requirements: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - ">"
98
+ - !ruby/object:Gem::Version
99
+ version: 10.4.2
100
+ - - "<"
101
+ - !ruby/object:Gem::Version
102
+ version: '11'
103
+ - !ruby/object:Gem::Dependency
104
+ name: simplecov
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: 0.10.0
110
+ - - "<"
111
+ - !ruby/object:Gem::Version
112
+ version: '2'
113
+ type: :development
114
+ prerelease: false
115
+ version_requirements: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ version: 0.10.0
120
+ - - "<"
121
+ - !ruby/object:Gem::Version
122
+ version: '2'
123
+ - !ruby/object:Gem::Dependency
124
+ name: coveralls
125
+ requirement: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: 0.8.2
130
+ - - "<"
131
+ - !ruby/object:Gem::Version
132
+ version: '2'
133
+ type: :development
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: 0.8.2
140
+ - - "<"
141
+ - !ruby/object:Gem::Version
142
+ version: '2'
143
+ description: String#to_class method to convert a string to a class.
41
144
  email: sixarm@sixarm.com
42
145
  executables: []
43
146
  extensions: []
44
147
  extra_rdoc_files: []
45
148
  files:
46
- - .gemtest
47
149
  - Rakefile
48
- - README.md
49
- - VERSION
50
150
  - lib/sixarm_ruby_string_to_class.rb
51
- - test/sixarm_ruby_string_to_class_test.rb
52
151
  homepage: http://sixarm.com/
53
- licenses: []
152
+ licenses:
153
+ - Apache-2.0
154
+ - Artistic-2.0
155
+ - BSD-3-Clause
156
+ - GPL-3.0
157
+ - MIT
158
+ - MPL-2.0
159
+ metadata: {}
54
160
  post_install_message:
55
161
  rdoc_options: []
56
162
  require_paths:
57
163
  - lib
58
164
  required_ruby_version: !ruby/object:Gem::Requirement
59
- none: false
60
165
  requirements:
61
- - - ! '>='
166
+ - - ">="
62
167
  - !ruby/object:Gem::Version
63
168
  version: '0'
64
169
  required_rubygems_version: !ruby/object:Gem::Requirement
65
- none: false
66
170
  requirements:
67
- - - ! '>='
171
+ - - ">="
68
172
  - !ruby/object:Gem::Version
69
173
  version: '0'
70
174
  requirements: []
71
175
  rubyforge_project:
72
- rubygems_version: 1.8.19
176
+ rubygems_version: 2.6.12
73
177
  signing_key:
74
- specification_version: 3
75
- summary: SixArm.com » Ruby » String#to_class method to convert a string to a class.
178
+ specification_version: 4
179
+ summary: SixArm.com Ruby String#to_class method
76
180
  test_files:
77
- - test/sixarm_ruby_string_to_class_test.rb
78
- has_rdoc: true
181
+ - lib/sixarm_ruby_string_to_class.rb
metadata.gz.sig CHANGED
@@ -1 +1,2 @@
1
- -��C38N����6'Jy���z�,� N[\.\l8F���tPgA��T�hx���`���x]Q���7��� q��,m�rL��8,���.��'���L��y���c,p�Ҹ$���aW,j���Y&q��
1
+ ���9 k2��y�������V��0��b�xN!_�\��mA��pU(��ڵ�Τi��b=�v�>�(y�?W�����9����JR���v�X����H+`-Z���6�+9Q.�ԒZ'�����N_I,��Ք�ײ~���=�_QQb̋YW��=ވ*P�܆4ض����
2
+ [��K$�83��=��I�l�S��Q_h�4mu�%Nծ;��[�L%*TL&B�r0�L�ôO9|d��A��`����7����{��Ͳ�n�#H��l��E�ү1��`�q۳����[4�W� ۹�I��0z?��#Ή�[�}�14ÆqZf��Y�{��O�GJ�pE
data/.gemtest DELETED
File without changes
data/README.md DELETED
@@ -1,93 +0,0 @@
1
- # SixArm.com » Ruby » <br> String#to_class method to convert a string to a class.
2
-
3
- * Docs: <http://sixarm.com/sixarm_ruby_string_to_class/doc>
4
- * Repo: <http://github.com/sixarm/sixarm_ruby_string_to_class>
5
- * Email: Joel Parker Henderson, <joel@sixarm.com>
6
-
7
-
8
- ## Introduction
9
-
10
- Ruby String#to_class method to convert from a String to a class
11
-
12
- Example:
13
-
14
- "Foo".to_class #=> Foo class
15
-
16
- From Mirage at http://infovore.org/archives/2006/08/02/getting-a-class-object-in-ruby-from-a-string-containing-that-classes-name/
17
-
18
-
19
- ## Quickstart
20
-
21
- Install:
22
-
23
- gem install sixarm_ruby_string_to_class
24
-
25
- Bundler:
26
-
27
- gem "sixarm_ruby_string_to_class", "=1.1.0"
28
-
29
- Require:
30
-
31
- require "sixarm_ruby_string_to_class"
32
-
33
-
34
- ## Install with high security (optional)
35
-
36
- To enable high security for all our gems:
37
-
38
- wget http://sixarm.com/sixarm.pem
39
- gem cert --add sixarm.pem
40
- gem sources --add http://sixarm.com
41
-
42
- To install with high security:
43
-
44
- gem install sixarm_ruby_ --test --trust-policy HighSecurity
45
-
46
-
47
- ## Examples
48
-
49
- "Foo".to_class #=> Foo class
50
- "MyModule::MyClass".to_class #=> MyModule::MyClass class
51
-
52
-
53
- ## More
54
-
55
- For docs go to <http://sixarm.com/sixarm_ruby_string_to_class/doc>
56
-
57
- Want to help? We're happy to get pull requests.
58
-
59
-
60
-
61
- ## Changes
62
-
63
- * 2012-03-18 1.1.0 Upgrade for Ruby 1.9.3, minitest/spec, and improved docs.
64
- * 2011-10-06 1.0.4 Updates for gem publishing
65
-
66
-
67
- ## License
68
-
69
- You may choose any of these open source licenses:
70
-
71
- * Apache License
72
- * BSD License
73
- * CreativeCommons License, Non-commercial Share Alike
74
- * GNU General Public License Version 2 (GPL 2)
75
- * GNU Lesser General Public License (LGPL)
76
- * MIT License
77
- * Perl Artistic License
78
- * Ruby License
79
-
80
- The software is provided "as is", without warranty of any kind,
81
- express or implied, including but not limited to the warranties of
82
- merchantability, fitness for a particular purpose and noninfringement.
83
-
84
- In no event shall the authors or copyright holders be liable for any
85
- claim, damages or other liability, whether in an action of contract,
86
- tort or otherwise, arising from, out of or in connection with the
87
- software or the use or other dealings in the software.
88
-
89
- This license is for the included software that is created by SixArm;
90
- some of the included software may have its own licenses, copyrights,
91
- authors, etc. and these do take precedence over the SixArm license.
92
-
93
- Copyright (c) 2005-2012 Joel Parker Henderson
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 1.0.4
@@ -1,41 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
4
- SimpleCov.start
5
- require 'sixarm_ruby_string_to_class'
6
-
7
- describe String do
8
-
9
- describe "#to_class" do
10
-
11
- it "string to top level class" do
12
- "A".to_class.must_equal A
13
- end
14
-
15
- it "string to module::class" do
16
- "B::BB".to_class.must_equal B::BB
17
- end
18
-
19
- it "string to module::module::class" do
20
- "C::CC::CCC".to_class.must_equal C::CC::CCC
21
- end
22
-
23
- end
24
-
25
- end
26
-
27
- class A
28
- end
29
-
30
- module B
31
- class BB
32
- end
33
- end
34
-
35
- module C
36
- module CC
37
- class CCC
38
- end
39
- end
40
- end
41
-