mongoid-simple-tags 0.1.0 → 0.1.1
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/README.rdoc +1 -1
- data/VERSION +1 -1
- data/lib/mongoid-simple-tags.rb +1 -1
- data/mongoid-simple-tags.gemspec +1 -1
- data/spec/mongoid-simple-tags_spec.rb +6 -0
- metadata +5 -3
data/README.rdoc
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/lib/mongoid-simple-tags.rb
CHANGED
data/mongoid-simple-tags.gemspec
CHANGED
@@ -38,6 +38,12 @@ describe "A Taggable model" do
|
|
38
38
|
user.tags.should_not be_nil
|
39
39
|
user.tags.should eql([])
|
40
40
|
end
|
41
|
+
|
42
|
+
it "returns an empty array even if tag_list is equal to nil" do
|
43
|
+
user.tag_list = nil
|
44
|
+
user.tags.should_not be_nil
|
45
|
+
user.tags.should eql([])
|
46
|
+
end
|
41
47
|
end
|
42
48
|
|
43
49
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongoid-simple-tags
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-02-
|
12
|
+
date: 2013-02-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
@@ -88,4 +88,6 @@ rubygems_version: 1.8.23
|
|
88
88
|
signing_key:
|
89
89
|
specification_version: 3
|
90
90
|
summary: MongoID simple tags for RAILS
|
91
|
-
test_files:
|
91
|
+
test_files:
|
92
|
+
- spec/mongoid-simple-tags_spec.rb
|
93
|
+
- spec/spec_helper.rb
|