engine_cart 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +22 -2
- data/lib/engine_cart/version.rb +1 -1
- data/lib/{rails_engine_testing.rb → engine_cart.rb} +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fd5cf56f5fd88e6c9c18b2fe3151450027a1492
|
4
|
+
data.tar.gz: 5956ec04b0713e1c2d7ca8de696efd823aca7e10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c865ee31d20c689fdeb02f5222ead8797cf11942f3548e911985a08af6529c09ae9c3e18e410f6530a8a14aeca44416e3321f32c013c6f65035a27e53080742
|
7
|
+
data.tar.gz: b53c73fd101daaeb7d828765b11b11935c2175bb7d0394b389f1b69d96d66c214d176b754ead3de6f5a62ecaf41c576fadf0bd1761ba2eedf2346c15f469925c
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@ TODO: Write a gem description
|
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
-
Add this line to your
|
7
|
+
Add this line to your engines's Gemfile:
|
8
8
|
|
9
9
|
gem 'engine_cart'
|
10
10
|
|
@@ -16,9 +16,29 @@ Or install it yourself as:
|
|
16
16
|
|
17
17
|
$ gem install engine_cart
|
18
18
|
|
19
|
+
|
19
20
|
## Usage
|
20
21
|
|
21
|
-
|
22
|
+
Add this to your Rakefile:
|
23
|
+
|
24
|
+
# Path to the test app
|
25
|
+
# TEST_APP = 'spec/internal'
|
26
|
+
# Path to files to include in the test app
|
27
|
+
# TEST_APP_TEMPLATES = 'spec/test_app_templates'
|
28
|
+
require 'engine_cart/rake_task'
|
29
|
+
|
30
|
+
In your rake tasks, you can require the test app get build first:
|
31
|
+
|
32
|
+
task :ci => ['engine_cart:generate'] do
|
33
|
+
# run the tests
|
34
|
+
end
|
35
|
+
|
36
|
+
|
37
|
+
And in your e.g. spec_helper:
|
38
|
+
|
39
|
+
require 'engine_cart'
|
40
|
+
EngineCart.load_application!
|
41
|
+
|
22
42
|
|
23
43
|
## Contributing
|
24
44
|
|
data/lib/engine_cart/version.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: engine_cart
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Beer
|
@@ -51,10 +51,10 @@ files:
|
|
51
51
|
- README.md
|
52
52
|
- Rakefile
|
53
53
|
- engine_cart.gemspec
|
54
|
+
- lib/engine_cart.rb
|
54
55
|
- lib/engine_cart/rake_task.rb
|
55
56
|
- lib/engine_cart/tasks/engine_cart.rake
|
56
57
|
- lib/engine_cart/version.rb
|
57
|
-
- lib/rails_engine_testing.rb
|
58
58
|
homepage: https://github.com/cbeer/engine_cart
|
59
59
|
licenses:
|
60
60
|
- MIT
|