licensee 9.3.0 → 9.3.1
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_field.rb +1 -0
- data/lib/licensee/version.rb +1 -1
- data/spec/licensee/license_field_spec.rb +5 -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: 686c1d6bcdeb0ba5e6ea53812e3e264926c71cdd
|
4
|
+
data.tar.gz: f252392d65e2e9ec2af84850558bc7c583e1b5c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74d3e52865c1cc086f8c8bdc16e9ad66c0722f40d73ef0d1a00abddce3e5a1df7cfd2798699ee2f1f6f52889700e007269bdd245fc7d1172593015e85969a3f7
|
7
|
+
data.tar.gz: ad46ba133915e82c14ce7ac1909abca10794b30e535da4e2b233b4c57ba9cbc6762d92dfd6ac211458b5740ac5088ea6074c7640dc01c6192d48a3eadce9eb70
|
data/lib/licensee/version.rb
CHANGED
@@ -55,4 +55,9 @@ RSpec.describe Licensee::LicenseField do
|
|
55
55
|
expect(field.name).to eql('foo')
|
56
56
|
expect(field.description).to eql('bar')
|
57
57
|
end
|
58
|
+
|
59
|
+
it "doesn't error for licenses without bodies" do
|
60
|
+
other = Licensee::License.find('other')
|
61
|
+
expect(other.fields).to be_empty
|
62
|
+
end
|
58
63
|
end
|