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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aefd592ca49ff880defe79c87d202f9309d19155
4
- data.tar.gz: 87c0a8f35ae8fc00915194443bc6e63d6d2b41f0
3
+ metadata.gz: f72d013c5b2bbf87257269498744996d79443026
4
+ data.tar.gz: 57f5ec7ef4b336f5fada9d80e44e3968d6060495
5
5
  SHA512:
6
- metadata.gz: a8f4110f827135c3674aff16b1b621db501bbd945c20619ec109ce2ccd3c3692462731e027961a578bd14e8309ae2db0059b189bc154f719bbb7cfe8b31022f3
7
- data.tar.gz: 5dfb7babbff4b81964232a81110ad19a0f52b231ad1b69d3914f469f9d82e33a23f70920b6a4b65b94755389559eb953fd54150e97b0f94c26fe92f9dd0074d2
6
+ metadata.gz: 11beed039a533edd3ad4d9a39ea237fd1c2f1a9e55c281950dc7e0d57c21c68b7d5466dd30e3435371346f7c5e5c480dff1508442cb14c209f87a478d8b03279
7
+ data.tar.gz: 73d1507a59b8c44690fc676f6e9e1ba6c15711ca8ba33b2ab697dfe8eb29252fc8daff5f042c0a3f7ec9a6ab355060858047f5ae4e2651c60a6d148d766fa229
@@ -0,0 +1,5 @@
1
+ module Sprig
2
+ def self.reap(opts = {})
3
+ Reap.reap(opts)
4
+ end
5
+ end
@@ -1,6 +1,7 @@
1
1
  require "sprig/reap/version"
2
2
 
3
3
  module Sprig::Reap
4
+ autoload :Sprig, 'sprig'
4
5
  autoload :TsortableHash, 'sprig/reap/tsortable_hash'
5
6
  autoload :Railtie, 'sprig/reap/railtie'
6
7
  autoload :Configuration, 'sprig/reap/configuration'
@@ -1,5 +1,5 @@
1
1
  module Sprig
2
2
  module Reap
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
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.2
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-17 00:00:00.000000000 Z
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