licensee 4.2.3 → 4.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/licensee/license.rb +1 -1
- data/lib/licensee/version.rb +1 -1
- data/test/test_licensee_license.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4cb5e38f1cd304a7f3610e1f7e6dab39540fb5f
|
4
|
+
data.tar.gz: 5680e4a5987219b6ac315db16cac710d75626b21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5354a2d34d698d2cbad1634f41b987ccc7ab7724c3a0326eab2cb31f5c029c27ae40489017784dfcb7c79c9dbd045d91a1ced46cb26001dfa97f33a621049bd
|
7
|
+
data.tar.gz: 739bb188cdba12bf00a3a94e3a21a30f7df67f4324cabdcb3645f39d3d27d2ab565403c5725415de181f139d7cd9a1002c0bc9ad416578a5c887589cb84715e8
|
data/lib/licensee/license.rb
CHANGED
data/lib/licensee/version.rb
CHANGED
@@ -29,7 +29,9 @@ class TestLicenseeLicense < Minitest::Test
|
|
29
29
|
|
30
30
|
should "know if the license is featured" do
|
31
31
|
assert @license.featured?
|
32
|
+
assert_equal TrueClass, @license.featured?.class
|
32
33
|
refute Licensee::License.new("cc0").featured?
|
34
|
+
assert_equal FalseClass, Licensee::License.new("cc0").featured?.class
|
33
35
|
end
|
34
36
|
|
35
37
|
should "parse the license parts" do
|