engine_cart 0.4.0 → 0.4.1
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/README.md +10 -1
- data/lib/engine_cart/tasks/engine_cart.rake +1 -0
- data/lib/engine_cart/version.rb +1 -1
- 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: 3b4c343f882f6a39250e8904c87795aa8c88d400
|
4
|
+
data.tar.gz: 47301fcca406dc70759b1ed72c00bb1e7f80e6d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18fed66978a246772fcf0854f3f362bc018c4a8e8a627b9319972e85be8115f315ee56aa138bc6a26d9e4ab27af3c9125258d27d5da83eeedac7e0158d275981
|
7
|
+
data.tar.gz: 23813481ca32e16802b25024f66b9f76110768e2b0a526157e67a24d2230ec96ba6cbcff20a50a4b106d97bc9bc1a924e51a82b288b67bf8c05c42f53a8ad361
|
data/README.md
CHANGED
@@ -31,6 +31,14 @@ Or install it yourself as:
|
|
31
31
|
|
32
32
|
Engine Cart comes with a generator to set up your engine to use Engine Cart. It is also packaged as a rake task:
|
33
33
|
|
34
|
+
In your Rakefile add:
|
35
|
+
|
36
|
+
```ruby
|
37
|
+
require 'engine_cart/rake_task'
|
38
|
+
```
|
39
|
+
|
40
|
+
then you can call:
|
41
|
+
|
34
42
|
```
|
35
43
|
$ rake engine_cart:prepare
|
36
44
|
```
|
@@ -45,9 +53,10 @@ task :ci => ['engine_cart:generate'] do
|
|
45
53
|
end
|
46
54
|
```
|
47
55
|
|
48
|
-
And in your e.g.
|
56
|
+
And in your e.g. spec\_helper.rb (or rails\_helper.rb), initialize EngineCart:
|
49
57
|
|
50
58
|
```ruby
|
59
|
+
require 'engine_cart'
|
51
60
|
EngineCart.load_application!
|
52
61
|
```
|
53
62
|
|
@@ -49,6 +49,7 @@ namespace :engine_cart do
|
|
49
49
|
gemfile_extras_path = File.expand_path("Gemfile.extra", EngineCart.templates_path)
|
50
50
|
|
51
51
|
f.write <<-EOF
|
52
|
+
#{File.read(gemfile_extras_path) if File.exists?(gemfile_extras_path)}
|
52
53
|
gem '#{EngineCart.current_engine_name}', :path => '#{File.expand_path('.')}'
|
53
54
|
EOF
|
54
55
|
end
|
data/lib/engine_cart/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: engine_cart
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Beer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
107
|
version: '0'
|
108
108
|
requirements: []
|
109
109
|
rubyforge_project:
|
110
|
-
rubygems_version: 2.
|
110
|
+
rubygems_version: 2.4.5
|
111
111
|
signing_key:
|
112
112
|
specification_version: 4
|
113
113
|
summary: Helper for testing Rails Engines sanely
|