wref 0.0.3 → 0.0.4
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.
- data/VERSION +1 -1
- data/lib/wref.rb +1 -1
- data/spec/wref_spec.rb +5 -2
- data/wref.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
data/lib/wref.rb
CHANGED
data/spec/wref_spec.rb
CHANGED
@@ -28,11 +28,14 @@ describe "Wref" do
|
|
28
28
|
#Test each-method.
|
29
29
|
count = 0
|
30
30
|
str_col = ""
|
31
|
-
|
31
|
+
key_col = ""
|
32
|
+
map.each do |key, a_str|
|
32
33
|
count += 1
|
33
34
|
str_col << a_str
|
35
|
+
key_col << key.to_s
|
34
36
|
end
|
35
37
|
|
38
|
+
raise "Expected key-collection to be '56' but it wasnt: #{key_col}" if key_col != "56"
|
36
39
|
raise "Expected collection to be 'Testtrala' but it wasnt: #{str_col}" if str_col != "Testtrala"
|
37
40
|
raise "Expected count 2 but it wasnt: #{count}" if count != 2
|
38
41
|
|
@@ -50,7 +53,7 @@ describe "Wref" do
|
|
50
53
|
|
51
54
|
#Test each-method.
|
52
55
|
count = 0
|
53
|
-
map.each do |a_str|
|
56
|
+
map.each do |key, a_str|
|
54
57
|
count += 1
|
55
58
|
end
|
56
59
|
|
data/wref.gemspec
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: wref
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Kasper Johansen
|
@@ -93,7 +93,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
hash:
|
96
|
+
hash: 2862739513814942165
|
97
97
|
segments:
|
98
98
|
- 0
|
99
99
|
version: "0"
|