rostruct 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/rostruct.rb +1 -1
  4. data/rostruct.gemspec +64 -0
  5. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e997ae5db89989e82d5fd1c073e6de90ba48eddc
4
- data.tar.gz: 1734b381403c15165636170e14979a4cbb719f05
3
+ metadata.gz: 898dc64c34e058c0a04a1e8d7279cbd112d89e50
4
+ data.tar.gz: e238e1914ee6fb5db75d893d625e82efbfec579e
5
5
  SHA512:
6
- metadata.gz: 4ea277b584fa9169f449e51ce7f21318f0b52350846d36e5f9974d803eb59dbb5eac98a8dd6582beb72b62db85f30318ff8458cd656efc7a62cf0c570316a076
7
- data.tar.gz: 96c881c756b17c0a0b04b588b0055e0fe5bf15eb0bf51fa7f34f00404aea89ede555028cbbe7ff1b1eb6d75d5fe7e5ee0ab2b454ec14fb3d223fcd71f2f0925b
6
+ metadata.gz: 722ee1c03a638d1f0c9ac40436511fad3e2adb1f6ed4406784b06379b624103d5874d3dc36f645a621c483cbda5b4cf085b8d1a5427c8352ea215fdbe9f08689
7
+ data.tar.gz: 73f1c9f38c47e898c859b164d951398267f7cdf4c32f6728093511763886756e3e9cbde225bac18cfa9285b8c6cc9934b252e2b51ea19d50d3c8fb5621fa0ebd
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
data/lib/rostruct.rb CHANGED
@@ -6,7 +6,7 @@ class ROstruct
6
6
 
7
7
  options.each do |key, value|
8
8
  if value.is_a?(Hash)
9
- value = ROStruct.new(value)
9
+ value = ROstruct.new(value)
10
10
  end
11
11
 
12
12
  send("#{key}=", value)
data/rostruct.gemspec ADDED
@@ -0,0 +1,64 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+ # stub: rostruct 0.1.1 ruby lib
6
+
7
+ Gem::Specification.new do |s|
8
+ s.name = "rostruct"
9
+ s.version = "0.1.1"
10
+
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib"]
13
+ s.authors = ["Brett Cassette"]
14
+ s.date = "2015-11-15"
15
+ s.description = "Convert hashes within hashes to open structs."
16
+ s.email = "brett.shollenberger@gmail.com"
17
+ s.extra_rdoc_files = [
18
+ "LICENSE.txt",
19
+ "README.rdoc"
20
+ ]
21
+ s.files = [
22
+ ".document",
23
+ "Gemfile",
24
+ "Gemfile.lock",
25
+ "LICENSE.txt",
26
+ "README.rdoc",
27
+ "Rakefile",
28
+ "VERSION",
29
+ "lib/rostruct.rb",
30
+ "rostruct.gemspec"
31
+ ]
32
+ s.homepage = "http://github.com/brettshollenberger/rostruct"
33
+ s.licenses = ["MIT"]
34
+ s.rubygems_version = "2.4.5"
35
+ s.summary = "Recursive open struct implementation"
36
+
37
+ if s.respond_to? :specification_version then
38
+ s.specification_version = 4
39
+
40
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
41
+ s.add_runtime_dependency(%q<activesupport>, [">= 2.3.5"])
42
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
43
+ s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
44
+ s.add_development_dependency(%q<bundler>, ["~> 1.0"])
45
+ s.add_development_dependency(%q<jeweler>, ["~> 2.0.1"])
46
+ s.add_development_dependency(%q<simplecov>, [">= 0"])
47
+ else
48
+ s.add_dependency(%q<activesupport>, [">= 2.3.5"])
49
+ s.add_dependency(%q<shoulda>, [">= 0"])
50
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
51
+ s.add_dependency(%q<bundler>, ["~> 1.0"])
52
+ s.add_dependency(%q<jeweler>, ["~> 2.0.1"])
53
+ s.add_dependency(%q<simplecov>, [">= 0"])
54
+ end
55
+ else
56
+ s.add_dependency(%q<activesupport>, [">= 2.3.5"])
57
+ s.add_dependency(%q<shoulda>, [">= 0"])
58
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
59
+ s.add_dependency(%q<bundler>, ["~> 1.0"])
60
+ s.add_dependency(%q<jeweler>, ["~> 2.0.1"])
61
+ s.add_dependency(%q<simplecov>, [">= 0"])
62
+ end
63
+ end
64
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rostruct
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Cassette
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-22 00:00:00.000000000 Z
11
+ date: 2015-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -110,6 +110,7 @@ files:
110
110
  - Rakefile
111
111
  - VERSION
112
112
  - lib/rostruct.rb
113
+ - rostruct.gemspec
113
114
  homepage: http://github.com/brettshollenberger/rostruct
114
115
  licenses:
115
116
  - MIT