build-environment 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d63dc4795e7ecd921983627f39645f7b1c4cbd1e
|
4
|
+
data.tar.gz: 822896b39bf081d65c6b9f0f2c02617e923aadb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 062f483a5c33512b0293a9f1275a0f00018b5b01926c71677119a8a314ebfb45f970458787fd19e2de0bd47917bd7ab94fb550fac367bd41fd557b8b5e619020
|
7
|
+
data.tar.gz: ce5774ab9d41601bc361613d973a462995f5abcc78cef75936515f8f3c46bdafb0510e78287538d46be7fe6177d5a26a7c5daae61634ccd2a9cb33cd6c5d1c62
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright,
|
1
|
+
# Copyright, 2016, by Samuel G. D. Williams. <http://www.codeotaku.com>
|
2
2
|
#
|
3
3
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
4
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -33,5 +33,11 @@ module Build::ChecksumSpec
|
|
33
33
|
|
34
34
|
expect(e.checksum).to be == "0e29e95023819e0ecd2850edece5851a"
|
35
35
|
end
|
36
|
+
|
37
|
+
it "should handle both string and symbol keys" do
|
38
|
+
e = Build::Environment.hash(:a => 20, "b" => 10)
|
39
|
+
|
40
|
+
expect(e.checksum).to be == "613a92db2cc6a94709ce3174f01c29fe"
|
41
|
+
end
|
36
42
|
end
|
37
43
|
end
|