mongoid-time_range 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 42533adde53219b0683bdccbd450ad52770135a6
4
- data.tar.gz: da95eff5f8eee018f51e91d4af22312cd55235cb
3
+ metadata.gz: 8dc349efc4024214e175e9d2c8c685fba52b8c74
4
+ data.tar.gz: 71762bfb6fdcef74b71d5703f12877aa53c00309
5
5
  SHA512:
6
- metadata.gz: 1034c7f4d369c874b2f8cdb7f44f23541ada721fd771e6eca15613cf2074c1cab7a68005fa2bd682618e428a2fd4f07d2b77ab3fadd3b77e31898e1011a0d519
7
- data.tar.gz: e7dbe735671ea3cc672f9a30e9d825092cf87d1bd9805283067c1873e7c615e1faff9d7268ac86ef5f0d7604065e784ee72f24929e114c31f76aa52bb9b1aec0
6
+ metadata.gz: 0626c0a5a852ace96dd924d9fd5ae437499c3d1792bcaece9c10776a33af174740295797c608ce601500ef240c4ebde5d765021351cc984a6284743b0f068ed3
7
+ data.tar.gz: 428606827076f99fc6e2bc8df7a13e5c8738a4340255ed3f62fefc199d2c1aee85e4a4788232df481c62b40fbeea49ac0cf507072bab82f22b2e473b56c069a5
@@ -1,5 +1,5 @@
1
1
  module Mongoid
2
2
  class TimeRange < Hash
3
- VERSION = '0.5.0'
3
+ VERSION = '0.5.1'
4
4
  end
5
5
  end
@@ -6,7 +6,7 @@ class Document
6
6
  field :range, type: Mongoid::TimeRange
7
7
  end
8
8
 
9
- class IntegrationTest < Minitest::Test
9
+ class IntegrationTest < Minitest::Unit::TestCase
10
10
  def test_it_initializes_with_nil
11
11
  assert_nil Document.create.range
12
12
  end
@@ -1,7 +1,7 @@
1
1
  require_relative 'test_helper'
2
2
  require 'mongoid/time_range/global'
3
3
 
4
- class RequireTest < Minitest::Test
4
+ class RequireTest < Minitest::Unit::TestCase
5
5
  def test_time_range_is_globally_available
6
6
  assert_equal ::TimeRange, Mongoid::TimeRange
7
7
  end
@@ -1,6 +1,6 @@
1
1
  require_relative 'test_helper'
2
2
 
3
- class TimeRangeTest < Minitest::Test
3
+ class TimeRangeTest < Minitest::Unit::TestCase
4
4
  def freeze_time(&block)
5
5
  Time.stub :now, Time.at(Time.now) do
6
6
  yield
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid-time_range
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mario Uher
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-04 00:00:00.000000000 Z
11
+ date: 2014-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mongoid
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.0'
27
27
  description: Mongoid::TimeRange defines a TimeRange type for your Mongoid apps.
@@ -30,7 +30,7 @@ executables: []
30
30
  extensions: []
31
31
  extra_rdoc_files: []
32
32
  files:
33
- - .gitignore
33
+ - ".gitignore"
34
34
  - CHANGELOG.md
35
35
  - Gemfile
36
36
  - README.md
@@ -53,17 +53,17 @@ require_paths:
53
53
  - lib
54
54
  required_ruby_version: !ruby/object:Gem::Requirement
55
55
  requirements:
56
- - - '>='
56
+ - - ">="
57
57
  - !ruby/object:Gem::Version
58
58
  version: '0'
59
59
  required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - '>='
61
+ - - ">="
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  requirements: []
65
65
  rubyforge_project:
66
- rubygems_version: 2.2.1
66
+ rubygems_version: 2.2.0
67
67
  signing_key:
68
68
  specification_version: 4
69
69
  summary: Time range type for Mongoid.