mongoid-tags 0.1.1 → 0.2.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
- # 0.0.1 (December 22, 2012)
1
+ # 0.1.1 (December 22, 2012)
2
+ * Updated gemspec.
3
+
4
+ # 0.1.0 (December 22, 2012)
5
+ * Added integration specs.
6
+ * Added more infos to README.md.
2
7
 
3
- * First version.
8
+ # 0.0.1 (December 22, 2012)
9
+ * First version.
@@ -1,5 +1,5 @@
1
1
  module Mongoid
2
2
  module Tags
3
- VERSION = '0.1.1'
3
+ VERSION = '0.2.0'
4
4
  end
5
5
  end
data/mongoid-tags.gemspec CHANGED
@@ -1,4 +1,5 @@
1
- require './lib/mongoid/tags/version'
1
+ $: << File.expand_path('../lib', __FILE__)
2
+ require 'mongoid/tags/version'
2
3
 
3
4
  Gem::Specification.new do |gem|
4
5
  gem.name = 'mongoid-tags'
@@ -1,4 +1,4 @@
1
- require File.expand_path('../spec_helper', __FILE__)
1
+ require_relative 'spec_helper'
2
2
 
3
3
  describe 'Mongoid::Tags integration' do
4
4
  before do
data/spec/spec_helper.rb CHANGED
@@ -1,8 +1,10 @@
1
+ $: << File.expand_path('../../lib', __FILE__)
2
+
1
3
  require 'minitest/autorun'
2
4
  require 'minitest/pride'
3
5
  require 'minitest/spec'
4
6
 
5
- require './lib/mongoid/tags'
7
+ require 'mongoid/tags'
6
8
 
7
9
  # Load support *.rb files in ./support
8
- Dir[File.expand_path('../support/*.rb', __FILE__)].each { |file| require file }
10
+ Dir[File.expand_path('../support/*.rb', __FILE__)].each { |file| require_relative file }
data/spec/tags_spec.rb CHANGED
@@ -1,4 +1,4 @@
1
- require File.expand_path('../spec_helper', __FILE__)
1
+ require_relative 'spec_helper'
2
2
 
3
3
  describe Mongoid::Tags do
4
4
  describe :selector do
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: mongoid-tags
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.2.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Mario Uher
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-22 00:00:00.000000000 Z
12
+ date: 2012-12-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  version_requirements: !ruby/object:Gem::Requirement