microscope 0.5.8 → 0.5.9
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.
- checksums.yaml +4 -4
- data/lib/microscope/instance_method/date_instance_method.rb +1 -0
- data/lib/microscope/instance_method/datetime_instance_method.rb +1 -0
- data/lib/microscope/version.rb +1 -1
- data/spec/microscope/instance_method/date_instance_method_spec.rb +1 -0
- data/spec/microscope/instance_method/datetime_instance_method_spec.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5c15a13db4226f85ae4256a01386c7054343e9d
|
4
|
+
data.tar.gz: 1be103a979a7d29d1e84e192e2edd45c56bf150b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa444471fcd5c5f4d845a7daeeba91c9f3f1cc8f51b0694bf5badfce6e6d8cc8a0aa8970bd8bbd9bfa8f947fa5f29948d01a3142d000e788deaec28f6aacf198
|
7
|
+
data.tar.gz: 11339212101082f71e99742c9da6d1c0aa5133ec2a0d3f7abdecd9d8304c8e6c96ba83d5e52f649115b3280545fa39a2a54faedebfa3c04b8783d6d687ab5999
|
data/lib/microscope/version.rb
CHANGED
@@ -64,6 +64,7 @@ describe Microscope::InstanceMethod::DateInstanceMethod do
|
|
64
64
|
context 'with negative result' do
|
65
65
|
let(:event) { Event.create(started_on: 2.months.ago) }
|
66
66
|
it { expect(event).to_not be_not_started }
|
67
|
+
it { expect(event).to respond_to(:unstarted?) }
|
67
68
|
end
|
68
69
|
|
69
70
|
context 'with positive result' do
|
@@ -53,6 +53,7 @@ describe Microscope::InstanceMethod::DatetimeInstanceMethod do
|
|
53
53
|
context 'with negative result' do
|
54
54
|
let(:event) { Event.create(started_at: 2.months.ago) }
|
55
55
|
it { expect(event).to_not be_not_started }
|
56
|
+
it { expect(event).to respond_to(:unstarted?) }
|
56
57
|
end
|
57
58
|
|
58
59
|
context 'with positive result' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: microscope
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Prévost
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-04-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -202,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
202
202
|
version: '0'
|
203
203
|
requirements: []
|
204
204
|
rubyforge_project:
|
205
|
-
rubygems_version: 2.
|
205
|
+
rubygems_version: 2.2.0
|
206
206
|
signing_key:
|
207
207
|
specification_version: 4
|
208
208
|
summary: Microscope adds useful scopes targeting ActiveRecord boolean and datetime
|