abstract_feature_branch 0.6.1 → 0.6.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 +3 -3
- data/VERSION +1 -1
- data/abstract_feature_branch.gemspec +1 -1
- data/lib/generators/abstract_feature_branch/context_generator.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70434039046d4abb530e0cfd2119066f020e7088
|
4
|
+
data.tar.gz: 1290d3e5b1918f2d8a0b39c80f40f760b39964ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c407410469aced7ae3b7697a2721dd98d0286d8e625fb032aff73644e3da77ebe5d70075cb41118c35bc1e54e2c7b99ec73da205754754e0da32bd8b2660775
|
7
|
+
data.tar.gz: 024882e33b5920f5ec1eb329e60e1b281af9148f84d3a3841855a8ca7659be41084861b078c13ab72b5c82448036c564f8ce769897ae7b094071e7828eca0287
|
data/README.md
CHANGED
@@ -31,8 +31,8 @@ Setup
|
|
31
31
|
-----
|
32
32
|
|
33
33
|
1. Configure Rubygem
|
34
|
-
- Rails (~> 4.0.0 or ~> 3.0): Add the following to Gemfile <pre>gem 'abstract_feature_branch', '0.6.
|
35
|
-
- Rails (~> 2.0): Add the following to config/environment.rb <pre>config.gem 'absract_feature_branch', :version => '0.6.
|
34
|
+
- Rails (~> 4.0.0 or ~> 3.0): Add the following to Gemfile <pre>gem 'abstract_feature_branch', '0.6.2'</pre>
|
35
|
+
- Rails (~> 2.0): Add the following to config/environment.rb <pre>config.gem 'absract_feature_branch', :version => '0.6.2'</pre>
|
36
36
|
2. Generate <code>config/features.yml</code> and <code>config/features.local.yml</code> in your Rails app directory by running <pre>rails g abstract_feature_branch:install</pre>
|
37
37
|
3. (Optional) Generate <code>config/features/[context_path].yml</code> in your Rails app directory by running <pre>rails g abstract_feature_branch:context context_path</pre>
|
38
38
|
|
@@ -253,7 +253,7 @@ the former if overlap in features occurs:
|
|
253
253
|
Release Notes
|
254
254
|
-------------
|
255
255
|
|
256
|
-
Version 0.6.
|
256
|
+
Version 0.6.2:
|
257
257
|
- Added a context generator and support for reading feature configuration from context files config/features/**/*.yml and config/features/**/*.local.yml
|
258
258
|
|
259
259
|
Version 0.5.0:
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.2
|
@@ -3,7 +3,7 @@ module AbstractFeatureBranch
|
|
3
3
|
class ContextGenerator < Rails::Generators::NamedBase
|
4
4
|
source_root File.expand_path("../../templates", __FILE__)
|
5
5
|
|
6
|
-
desc "Creates a configuration file for a specific application context (e.g. admin). Takes context path as argument (e.g. admin or internal/wiki) to create config/features
|
6
|
+
desc "Creates a configuration file for a specific application context (e.g. admin). Takes context path as argument (e.g. admin or internal/wiki) to create config/features/[context_path].yml"
|
7
7
|
def copy_config
|
8
8
|
template "config/features.yml", "config/features/#{file_path}.yml"
|
9
9
|
end
|