mongoid-permalinks 0.2.0 → 0.3.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.
@@ -1,5 +1,5 @@
1
1
  module Mongoid
2
2
  module Permalinks
3
- VERSION = '0.2.0'
3
+ VERSION = '0.3.0'
4
4
  end
5
5
  end
@@ -1,4 +1,5 @@
1
- require './lib/mongoid/permalinks/version'
1
+ $: << File.expand_path('../lib', __FILE__)
2
+ require 'mongoid/permalinks/version'
2
3
 
3
4
  Gem::Specification.new do |gem|
4
5
  gem.name = 'mongoid-permalinks'
@@ -1,4 +1,4 @@
1
- require File.expand_path('../spec_helper', __FILE__)
1
+ require_relative 'spec_helper'
2
2
 
3
3
  describe Mongoid::Permalinks do
4
4
  it 'adds permalink field' 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/permalinks'
7
+ require 'mongoid/permalinks'
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 }
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: mongoid-permalinks
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.0
5
+ version: 0.3.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-27 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