sprig-reap 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sprig.rb +5 -0
- data/lib/sprig/reap.rb +1 -0
- data/lib/sprig/reap/version.rb +1 -1
- data/spec/db/activerecord.db +0 -0
- data/spec/lib/sprig_spec.rb +18 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f72d013c5b2bbf87257269498744996d79443026
|
4
|
+
data.tar.gz: 57f5ec7ef4b336f5fada9d80e44e3968d6060495
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11beed039a533edd3ad4d9a39ea237fd1c2f1a9e55c281950dc7e0d57c21c68b7d5466dd30e3435371346f7c5e5c480dff1508442cb14c209f87a478d8b03279
|
7
|
+
data.tar.gz: 73d1507a59b8c44690fc676f6e9e1ba6c15711ca8ba33b2ab697dfe8eb29252fc8daff5f042c0a3f7ec9a6ab355060858047f5ae4e2651c60a6d148d766fa229
|
data/lib/sprig.rb
ADDED
data/lib/sprig/reap.rb
CHANGED
data/lib/sprig/reap/version.rb
CHANGED
data/spec/db/activerecord.db
CHANGED
Binary file
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Sprig do
|
4
|
+
describe ".reap" do
|
5
|
+
let(:options) do
|
6
|
+
{
|
7
|
+
such: 'options',
|
8
|
+
very: 'wow'
|
9
|
+
}
|
10
|
+
end
|
11
|
+
|
12
|
+
it "calls Sprig::Reap.reap with the given options" do
|
13
|
+
Sprig::Reap.should_receive(:reap).with(options)
|
14
|
+
|
15
|
+
described_class.reap(options)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sprig-reap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Stenberg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -109,6 +109,7 @@ files:
|
|
109
109
|
- lib/sprig/reap/tsortable_hash.rb
|
110
110
|
- lib/sprig/reap/version.rb
|
111
111
|
- lib/sprig/reap.rb
|
112
|
+
- lib/sprig.rb
|
112
113
|
- lib/tasks/reap.rake
|
113
114
|
- MIT-LICENSE
|
114
115
|
- Rakefile
|
@@ -127,6 +128,7 @@ files:
|
|
127
128
|
- spec/lib/sprig/reap/record_spec.rb
|
128
129
|
- spec/lib/sprig/reap/seed_file_spec.rb
|
129
130
|
- spec/lib/sprig/reap_spec.rb
|
131
|
+
- spec/lib/sprig_spec.rb
|
130
132
|
- spec/spec_helper.rb
|
131
133
|
- spec/support/file_setup.rb
|
132
134
|
- spec/support/rails_stubs.rb
|
@@ -169,6 +171,7 @@ test_files:
|
|
169
171
|
- spec/lib/sprig/reap/record_spec.rb
|
170
172
|
- spec/lib/sprig/reap/seed_file_spec.rb
|
171
173
|
- spec/lib/sprig/reap_spec.rb
|
174
|
+
- spec/lib/sprig_spec.rb
|
172
175
|
- spec/spec_helper.rb
|
173
176
|
- spec/support/file_setup.rb
|
174
177
|
- spec/support/rails_stubs.rb
|