key_struct 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -46,9 +46,19 @@ The gem actually provides two types of KeyStruct classes
46
46
  KeyStruct.accesor(*keys) # aliased as KeyStruct[]
47
47
  KeyStruct.reader(*keys) # class has readers but not writers
48
48
 
49
- == Tested on
49
+ == Installation
50
50
 
51
- MRI 1.9.2, 1.9.3
51
+ Install via:
52
+
53
+ % gem install key_struct
54
+
55
+ or in your Gemfile:
56
+
57
+ gem "key_struct"
58
+
59
+ == Versions
60
+
61
+ Requires ruby >= 1.9.2. (Has been tested on MRI 1.9.2 and MRI 1.9.3)
52
62
 
53
63
  == History
54
64
 
data/key_struct.gemspec CHANGED
@@ -19,6 +19,7 @@ Gem::Specification.new do |gem|
19
19
  gem.require_paths = ["lib"]
20
20
  gem.version = KeyStruct::VERSION
21
21
 
22
+ gem.required_ruby_version = ">= 1.9.2"
22
23
  gem.add_development_dependency 'rspec'
23
24
  gem.add_development_dependency 'simplecov'
24
25
  gem.add_development_dependency 'simplecov-gem-adapter'
@@ -1,3 +1,3 @@
1
1
  module KeyStruct
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,61 +1,59 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: key_struct
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
4
5
  prerelease:
5
- version: 0.0.1
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - ronen barzel
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-11-18 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2011-11-19 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: rspec
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70176913804560 !ruby/object:Gem::Requirement
19
17
  none: false
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
24
22
  type: :development
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: simplecov
28
23
  prerelease: false
29
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70176913804560
25
+ - !ruby/object:Gem::Dependency
26
+ name: simplecov
27
+ requirement: &70176913804080 !ruby/object:Gem::Requirement
30
28
  none: false
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
- version: "0"
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
35
33
  type: :development
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
- name: simplecov-gem-adapter
39
34
  prerelease: false
40
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *70176913804080
36
+ - !ruby/object:Gem::Dependency
37
+ name: simplecov-gem-adapter
38
+ requirement: &70176913803620 !ruby/object:Gem::Requirement
41
39
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- version: "0"
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
46
44
  type: :development
47
- version_requirements: *id003
48
- description: Defines KeyStruct analogous to Struct, but constructor takes keyword arguments
49
- email:
45
+ prerelease: false
46
+ version_requirements: *70176913803620
47
+ description: Defines KeyStruct analogous to Struct, but constructor takes keyword
48
+ arguments
49
+ email:
50
50
  - ronen@barzel.org
51
51
  executables: []
52
-
53
52
  extensions: []
54
-
55
- extra_rdoc_files:
53
+ extra_rdoc_files:
56
54
  - LICENSE
57
55
  - README.rdoc
58
- files:
56
+ files:
59
57
  - .gitignore
60
58
  - Gemfile
61
59
  - LICENSE
@@ -68,31 +66,28 @@ files:
68
66
  - spec/spec_helper.rb
69
67
  homepage: http://github.com/ronen/key_struct
70
68
  licenses: []
71
-
72
69
  post_install_message:
73
70
  rdoc_options: []
74
-
75
- require_paths:
71
+ require_paths:
76
72
  - lib
77
- required_ruby_version: !ruby/object:Gem::Requirement
73
+ required_ruby_version: !ruby/object:Gem::Requirement
78
74
  none: false
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: "0"
83
- required_rubygems_version: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - ! '>='
77
+ - !ruby/object:Gem::Version
78
+ version: 1.9.2
79
+ required_rubygems_version: !ruby/object:Gem::Requirement
84
80
  none: false
85
- requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- version: "0"
81
+ requirements:
82
+ - - ! '>='
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
89
85
  requirements: []
90
-
91
86
  rubyforge_project:
92
- rubygems_version: 1.8.11
87
+ rubygems_version: 1.8.10
93
88
  signing_key:
94
89
  specification_version: 3
95
90
  summary: Defines KeyStruct analogous to Struct, but constructor takes keyword arguments
96
- test_files:
91
+ test_files:
97
92
  - spec/key_struct_spec.rb
98
93
  - spec/spec_helper.rb