instantiator 0.0.6 → 0.0.7

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: af262bbc3c788aa4907e352a59c22f0600e0ab3b
4
+ data.tar.gz: 6c1630e88112775427b4df4b6912a8e5cece4b34
5
+ SHA512:
6
+ metadata.gz: 263fc60970e27f981839c17fe8aa118c11fae730f613e0277c1f679dff460b9b357bc9a5f22a713fd05fba724ab4779d5269d117e469f9eaee0b2ceddb44c0f3
7
+ data.tar.gz: fd1060b1073108ca5099bda92642b67a7e5f0ef1e6c7ef5242f63d7b01d0e037d6e4ef53ca33189ed27436d1b0ba36d82d3300a0f8e6910807e684b4bf82cba8
@@ -1,3 +1,15 @@
1
+ language: ruby
2
+ before_install:
3
+ - gem install bundler
1
4
  rvm:
2
- - 1.8.6
3
- - 1.8.7
5
+ - 1.8
6
+ - 1.9
7
+ - 2.0
8
+ - 2.1
9
+ - 2.2
10
+ - 2.3
11
+ - jruby-9.1.5.0
12
+ - rbx-3.9
13
+ matrix:
14
+ allow_failures:
15
+ - rvm: rbx-3.9
@@ -0,0 +1,21 @@
1
+ == Licence (MIT)
2
+
3
+ Copyright (c) 2011 James Mead
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## Instantiator
1
+ ## Instantiator [![Build Status](https://travis-ci.org/floehopper/instantiator.svg?branch=master)](https://travis-ci.org/floehopper/instantiator) [![Gem Version](https://badge.fury.io/rb/instantiator.png)](http://badge.fury.io/rb/instantiator)
2
2
 
3
3
  I want to be able to instantiate an arbitrary Ruby class without knowing anything about the constructor.
4
4
 
@@ -13,7 +13,7 @@ The initial requirement for this has come from my [Introspection](https://github
13
13
  end
14
14
 
15
15
  require "instantiator"
16
-
16
+
17
17
  instance = ArbitraryClass.instantiate
18
-
19
- p instance.class # => ArbitraryClass
18
+
19
+ p instance.class # => ArbitraryClass
@@ -19,5 +19,12 @@ Gem::Specification.new do |s|
19
19
 
20
20
  s.add_dependency("blankslate")
21
21
 
22
- s.add_development_dependency("rake")
22
+ if RUBY_VERSION < '1.9.3'
23
+ s.add_development_dependency "rake", "~> 10.0"
24
+ else
25
+ s.add_development_dependency "rake"
26
+ end
27
+ if RUBY_VERSION > '2.2'
28
+ s.add_development_dependency "test-unit"
29
+ end
23
30
  end
@@ -1,3 +1,3 @@
1
1
  module Instantiator
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,63 +1,53 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: instantiator
3
- version: !ruby/object:Gem::Version
4
- hash: 19
5
- prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 6
10
- version: 0.0.6
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.7
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - James Mead
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2011-08-12 00:00:00 +01:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
11
+ date: 2016-10-31 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
22
14
  name: blankslate
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
27
17
  - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 3
30
- segments:
31
- - 0
32
- version: "0"
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
33
20
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: rake
37
21
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
41
31
  - - ">="
42
- - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
- version: "0"
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
47
34
  type: :development
48
- version_requirements: *id002
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
49
41
  description:
50
- email:
42
+ email:
51
43
  - james@floehopper.org
52
44
  executables: []
53
-
54
45
  extensions: []
55
-
56
46
  extra_rdoc_files: []
57
-
58
- files:
59
- - .gitignore
60
- - .travis.yml
47
+ files:
48
+ - ".gitignore"
49
+ - ".travis.yml"
50
+ - COPYING.txt
61
51
  - Gemfile
62
52
  - README.md
63
53
  - Rakefile
@@ -69,41 +59,30 @@ files:
69
59
  - test/instantiator_test.rb
70
60
  - test/method_invocation_sink_test.rb
71
61
  - test/test_helper.rb
72
- has_rdoc: true
73
- homepage: ""
62
+ homepage: ''
74
63
  licenses: []
75
-
64
+ metadata: {}
76
65
  post_install_message:
77
66
  rdoc_options: []
78
-
79
- require_paths:
67
+ require_paths:
80
68
  - lib
81
- required_ruby_version: !ruby/object:Gem::Requirement
82
- none: false
83
- requirements:
69
+ required_ruby_version: !ruby/object:Gem::Requirement
70
+ requirements:
84
71
  - - ">="
85
- - !ruby/object:Gem::Version
86
- hash: 3
87
- segments:
88
- - 0
89
- version: "0"
90
- required_rubygems_version: !ruby/object:Gem::Requirement
91
- none: false
92
- requirements:
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
74
+ required_rubygems_version: !ruby/object:Gem::Requirement
75
+ requirements:
93
76
  - - ">="
94
- - !ruby/object:Gem::Version
95
- hash: 3
96
- segments:
97
- - 0
98
- version: "0"
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
99
79
  requirements: []
100
-
101
80
  rubyforge_project: instantiator
102
- rubygems_version: 1.6.2
81
+ rubygems_version: 2.2.5
103
82
  signing_key:
104
- specification_version: 3
83
+ specification_version: 4
105
84
  summary: Instantiate an arbitrary Ruby class
106
- test_files:
85
+ test_files:
107
86
  - test/instantiator_test.rb
108
87
  - test/method_invocation_sink_test.rb
109
88
  - test/test_helper.rb