microscope 0.5.1 → 0.5.2

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: 5895b7cb7f78b5949fbc6ed893ec2ce8572cc966
4
- data.tar.gz: 26d3e1ec93726e9224d0ff99a4383318932606fe
3
+ metadata.gz: 81b294b8462eb03ab74fca0b27959a77b87bb010
4
+ data.tar.gz: 8f7f4334cc65cc34ab1f35da5fcf4c7afaeb9320
5
5
  SHA512:
6
- metadata.gz: 93107c9b07a8fd1c3f5191fe49a7cefc03db714131f003926bcdc09d944f3d5effaaf4e07b647ecd6b8f50fdb3e344f359901dadb6640b3f3e85008dde4f391c
7
- data.tar.gz: e3444a475a126c37c4c5f4ffbdba31edadc18012aa39f696d1c6953f4d77fce431c799392e16d8e352dc6ba3669518ccfa2cbac4769d66ed0e3788592bdba19f
6
+ metadata.gz: 09b3471cabc1469f2741374d6b549a1208aaf3501797bf06dd05d1a274472ea32a8cdb40792649fdda7a91ae1c509d6fd9522bcb573e9ceff387c6c73a063ff5
7
+ data.tar.gz: e2e9f91784041a92efc3c23b34b29fbf0d20177ec790f2ae76a9ab7a6bcbcbfca1d5f4dfe5628a75d6b04744e705dde51e1f568a9cf33fef7e9d1ae1a6d96f6b
@@ -121,6 +121,7 @@ spat: spit
121
121
  split: split
122
122
  spread: spread
123
123
  sprung: spring
124
+ started: start
124
125
  stood: stand
125
126
  stolen: steal
126
127
  stuck: stick
@@ -16,7 +16,7 @@ module Microscope
16
16
  if Microscope.irregular_verbs.include?(participle)
17
17
  Microscope.irregular_verbs[participle]
18
18
  elsif participle =~ /ed$/
19
- participle.sub(/ed$/, '')
19
+ participle.sub(/d$/, '')
20
20
  else
21
21
  participle
22
22
  end
@@ -1,3 +1,3 @@
1
1
  module Microscope
2
- VERSION = '0.5.1'
2
+ VERSION = '0.5.2'
3
3
  end
@@ -5,6 +5,7 @@ describe Microscope::InstanceMethod::DatetimeInstanceMethod do
5
5
  run_migration do
6
6
  create_table(:events, force: true) do |t|
7
7
  t.datetime :started_at, default: nil
8
+ t.datetime :featured_at, default: nil
8
9
  end
9
10
  end
10
11
 
@@ -41,5 +42,7 @@ describe Microscope::InstanceMethod::DatetimeInstanceMethod do
41
42
 
42
43
  let(:event) { Event.create(started_at: nil) }
43
44
  it { expect { event.start! }.to change { event.reload.started_at }.from(nil).to(stubbed_date) }
45
+ it { expect(event).to respond_to(:start!) }
46
+ it { expect(event).to respond_to(:feature!) }
44
47
  end
45
48
  end
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.1
4
+ version: 0.5.2
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: 2013-11-05 00:00:00.000000000 Z
12
+ date: 2014-01-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport