characterizable 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.12
1
+ 0.0.13
@@ -1,63 +1,63 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{characterizable}
8
- s.version = "0.0.12"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Andy Rossmeissl", "Seamus Abshere"]
12
- s.date = %q{2010-07-21}
13
- s.description = %q{Characterize the relationship between "attributes" (getters/setters) of instances of a class}
14
- s.email = %q{seamus@abshere.net}
15
- s.extra_rdoc_files = [
16
- "LICENSE",
17
- "README.rdoc"
18
- ]
19
- s.files = [
20
- ".document",
21
- ".gitignore",
22
- "LICENSE",
23
- "README.rdoc",
24
- "Rakefile",
25
- "VERSION",
26
- "characterizable.gemspec",
27
- "lib/characterizable.rb",
28
- "test/helper.rb",
29
- "test/test_characterizable.rb"
30
- ]
31
- s.homepage = %q{http://github.com/seamusabshere/characterizable}
32
- s.rdoc_options = ["--charset=UTF-8"]
33
- s.require_paths = ["lib"]
34
- s.rubygems_version = %q{1.3.7}
35
- s.summary = %q{Characterize instances of a class}
36
- s.test_files = [
37
- "test/helper.rb",
38
- "test/test_characterizable.rb"
39
- ]
40
-
41
- if s.respond_to? :specification_version then
42
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
43
- s.specification_version = 3
44
-
45
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
46
- s.add_runtime_dependency(%q<blockenspiel>, [">= 0.3.2"])
47
- s.add_runtime_dependency(%q<activesupport>, [">= 2.3.5"])
48
- s.add_development_dependency(%q<to_json_fix>, [">= 0.0.1"])
49
- s.add_development_dependency(%q<shoulda>, [">= 0"])
50
- else
51
- s.add_dependency(%q<blockenspiel>, [">= 0.3.2"])
52
- s.add_dependency(%q<activesupport>, [">= 2.3.5"])
53
- s.add_dependency(%q<to_json_fix>, [">= 0.0.1"])
54
- s.add_dependency(%q<shoulda>, [">= 0"])
55
- end
56
- else
57
- s.add_dependency(%q<blockenspiel>, [">= 0.3.2"])
58
- s.add_dependency(%q<activesupport>, [">= 2.3.5"])
59
- s.add_dependency(%q<to_json_fix>, [">= 0.0.1"])
60
- s.add_dependency(%q<shoulda>, [">= 0"])
61
- end
62
- end
63
-
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{characterizable}
8
+ s.version = "0.0.13"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Andy Rossmeissl", "Seamus Abshere"]
12
+ s.date = %q{2010-08-12}
13
+ s.description = %q{Characterize the relationship between "attributes" (getters/setters) of instances of a class}
14
+ s.email = %q{seamus@abshere.net}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".gitignore",
22
+ "LICENSE",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "characterizable.gemspec",
27
+ "lib/characterizable.rb",
28
+ "test/helper.rb",
29
+ "test/test_characterizable.rb"
30
+ ]
31
+ s.homepage = %q{http://github.com/seamusabshere/characterizable}
32
+ s.rdoc_options = ["--charset=UTF-8"]
33
+ s.require_paths = ["lib"]
34
+ s.rubygems_version = %q{1.3.6}
35
+ s.summary = %q{Characterize instances of a class}
36
+ s.test_files = [
37
+ "test/helper.rb",
38
+ "test/test_characterizable.rb"
39
+ ]
40
+
41
+ if s.respond_to? :specification_version then
42
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
43
+ s.specification_version = 3
44
+
45
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
46
+ s.add_runtime_dependency(%q<blockenspiel>, [">= 0.3.2"])
47
+ s.add_runtime_dependency(%q<activesupport>, [">= 2.3.5"])
48
+ s.add_development_dependency(%q<to_json_fix>, [">= 0.0.1"])
49
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
50
+ else
51
+ s.add_dependency(%q<blockenspiel>, [">= 0.3.2"])
52
+ s.add_dependency(%q<activesupport>, [">= 2.3.5"])
53
+ s.add_dependency(%q<to_json_fix>, [">= 0.0.1"])
54
+ s.add_dependency(%q<shoulda>, [">= 0"])
55
+ end
56
+ else
57
+ s.add_dependency(%q<blockenspiel>, [">= 0.3.2"])
58
+ s.add_dependency(%q<activesupport>, [">= 2.3.5"])
59
+ s.add_dependency(%q<to_json_fix>, [">= 0.0.1"])
60
+ s.add_dependency(%q<shoulda>, [">= 0"])
61
+ end
62
+ end
63
+
@@ -74,14 +74,14 @@ module Characterizable
74
74
  def _take_snapshot
75
75
  target.characterizable_base.characteristics.each do |_, c|
76
76
  if c.known?(target)
77
- if c.effective?(target)
77
+ #if c.effective?(target)
78
78
  self[c.name] = c.value(target)
79
- elsif !c.untrumped?(target)
80
- trumped_keys.push c.name
81
- elsif !c.revealed?(target)
82
- wasted_keys.push c.name
83
- lacking_keys.push c.prerequisite
84
- end
79
+ #elsif !c.untrumped?(target)
80
+ # trumped_keys.push c.name
81
+ #elsif !c.revealed?(target)
82
+ # wasted_keys.push c.name
83
+ # lacking_keys.push c.prerequisite
84
+ #end
85
85
  end
86
86
  end
87
87
  end
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: characterizable
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 0
9
- - 12
10
- version: 0.0.12
8
+ - 13
9
+ version: 0.0.13
11
10
  platform: ruby
12
11
  authors:
13
12
  - Andy Rossmeissl
@@ -16,18 +15,16 @@ autorequire:
16
15
  bindir: bin
17
16
  cert_chain: []
18
17
 
19
- date: 2010-07-21 00:00:00 -05:00
18
+ date: 2010-08-12 00:00:00 -05:00
20
19
  default_executable:
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency
23
22
  name: blockenspiel
24
23
  prerelease: false
25
24
  requirement: &id001 !ruby/object:Gem::Requirement
26
- none: false
27
25
  requirements:
28
26
  - - ">="
29
27
  - !ruby/object:Gem::Version
30
- hash: 23
31
28
  segments:
32
29
  - 0
33
30
  - 3
@@ -39,11 +36,9 @@ dependencies:
39
36
  name: activesupport
40
37
  prerelease: false
41
38
  requirement: &id002 !ruby/object:Gem::Requirement
42
- none: false
43
39
  requirements:
44
40
  - - ">="
45
41
  - !ruby/object:Gem::Version
46
- hash: 9
47
42
  segments:
48
43
  - 2
49
44
  - 3
@@ -55,11 +50,9 @@ dependencies:
55
50
  name: to_json_fix
56
51
  prerelease: false
57
52
  requirement: &id003 !ruby/object:Gem::Requirement
58
- none: false
59
53
  requirements:
60
54
  - - ">="
61
55
  - !ruby/object:Gem::Version
62
- hash: 29
63
56
  segments:
64
57
  - 0
65
58
  - 0
@@ -71,11 +64,9 @@ dependencies:
71
64
  name: shoulda
72
65
  prerelease: false
73
66
  requirement: &id004 !ruby/object:Gem::Requirement
74
- none: false
75
67
  requirements:
76
68
  - - ">="
77
69
  - !ruby/object:Gem::Version
78
- hash: 3
79
70
  segments:
80
71
  - 0
81
72
  version: "0"
@@ -111,27 +102,23 @@ rdoc_options:
111
102
  require_paths:
112
103
  - lib
113
104
  required_ruby_version: !ruby/object:Gem::Requirement
114
- none: false
115
105
  requirements:
116
106
  - - ">="
117
107
  - !ruby/object:Gem::Version
118
- hash: 3
119
108
  segments:
120
109
  - 0
121
110
  version: "0"
122
111
  required_rubygems_version: !ruby/object:Gem::Requirement
123
- none: false
124
112
  requirements:
125
113
  - - ">="
126
114
  - !ruby/object:Gem::Version
127
- hash: 3
128
115
  segments:
129
116
  - 0
130
117
  version: "0"
131
118
  requirements: []
132
119
 
133
120
  rubyforge_project:
134
- rubygems_version: 1.3.7
121
+ rubygems_version: 1.3.6
135
122
  signing_key:
136
123
  specification_version: 3
137
124
  summary: Characterize instances of a class