abstract_feature_branch 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 451914f38c3eb82bf78fcf7549db4dbcaeab5103
4
- data.tar.gz: df3f6c916c67c6774bd3db2077676e5cd67e1f06
5
- SHA512:
6
- metadata.gz: 5a04bab0e3a6fc22f177d2b63d11abd6589d7fccff5699381614ba05974a1d58b6f75c7e031c4fe73c999702c275549182dd318bc268ceb890cf1c2ffc9e0cbe
7
- data.tar.gz: 509c4250df3b21ac9d9b17d05afbfcfd0ed86681e1f8308c9727e271b10315b1f818160ac8d8499dfe7202c16a8c09eb920c47072513bf1195da61f6043d05fb
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ OTZmZjg1MjYyZWNiOWEyOGU1YmFiYWI3YmEwYWYwNGVhYWNmMzAyYg==
5
+ data.tar.gz: !binary |-
6
+ YzlhNjZiOWJhNjE3NDMxMGYzOTY3MDRlZDM3OTI2NDA5YzQ0MzcyZg==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ ZTk0NjE0Njk4MDIwNTg5NTA0ZmQzM2JkOGJiNGUzN2JhYWM1ZmE0Mjg3OTFi
10
+ OTkyODlhZjNkNDQxZDYxMTA3NGRmZDU2NzdmYzc4NmVhMTk5ZTk4YTAxZTFk
11
+ YTFkZTNhZWUxZGQxMDg5NGYwNDJmYWQ3ZmE4ZjNjMjEyMjZkNjM=
12
+ data.tar.gz: !binary |-
13
+ ODViYmE4NTg4ZmRjZDY5MmM5MTAyNDIzYWY0ZmM3Njg1M2UxZTEyZTQ3ODNh
14
+ MzkxNzE0NjY1ZjljYmE1OGZiZmRkODhlZTRiZDgwNzhkNmIyYzFmOWFhN2Fj
15
+ NzE0ZDdkMGM1NzIxMTRhMmUzZjhlN2U2NzNkZTE1NzIyZjQzYTM=
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  Abstract Feature Branch
2
2
  =======================
3
+ [![Gem Version](https://badge.fury.io/rb/abstract_feature_branch.png)](http://badge.fury.io/rb/abstract_feature_branch)
3
4
 
4
5
  abstract_feature_branch is a Rails gem that enables developers to easily branch by
5
6
  abstraction as per this pattern: http://paulhammant.com/blog/branch_by_abstraction.html
@@ -31,8 +32,8 @@ Setup
31
32
  -----
32
33
 
33
34
  1. Configure Rubygem
34
- - Rails (~> 4.0.0 or ~> 3.0): Add the following to Gemfile <pre>gem 'abstract_feature_branch', '0.6.3'</pre>
35
- - Rails (~> 2.0): Add the following to config/environment.rb <pre>config.gem 'absract_feature_branch', :version => '0.6.3'</pre>
35
+ - Rails (~> 4.0.0 or ~> 3.0): Add the following to Gemfile <pre>gem 'abstract_feature_branch', '0.6.4'</pre>
36
+ - Rails (~> 2.0): Add the following to config/environment.rb <pre>config.gem 'absract_feature_branch', :version => '0.6.4'</pre>
36
37
  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
38
  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
39
 
@@ -253,7 +254,7 @@ the former if overlap in features occurs:
253
254
  Release Notes
254
255
  -------------
255
256
 
256
- Version 0.6.1 - 0.6.3:
257
+ Version 0.6.1 - 0.6.4:
257
258
  - Fixed issues including making feature configuration files optional (in case one wants to get rid of <code>features.local.yml</code> or even <code>features.yml</code>)
258
259
 
259
260
  Version 0.6.0:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.3
1
+ 0.6.4
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "abstract_feature_branch"
8
- s.version = "0.6.3"
8
+ s.version = "0.6.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Annas \"Andy\" Maleh"]
@@ -38,7 +38,7 @@ Gem::Specification.new do |s|
38
38
  s.homepage = "http://github.com/AndyObtiva/abstract_feature_branch"
39
39
  s.licenses = ["MIT"]
40
40
  s.require_paths = ["lib"]
41
- s.rubygems_version = "2.0.6"
41
+ s.rubygems_version = "2.0.7"
42
42
  s.summary = "abstract_feature_branch is a Rails gem that enables developers to easily branch by abstraction as per this pattern: http://paulhammant.com/blog/branch_by_abstraction.html"
43
43
 
44
44
  if s.respond_to? :specification_version then
@@ -1,6 +1,7 @@
1
1
  require 'rubygems'
2
2
  require 'bundler'
3
3
  require 'yaml'
4
+ YAML::ENGINE.yamler = "syck"
4
5
  begin
5
6
  Bundler.setup(:default)
6
7
  rescue Bundler::BundlerError => e
@@ -74,11 +75,11 @@ module AbstractFeatureBranch
74
75
  end
75
76
 
76
77
  def self.booleanize_values(hash)
77
- Hash[hash.map {|k, v| [k, v.downcase == 'true']}]
78
+ Hash[hash.map {|k, v| [k, v.to_s.downcase == 'true']}]
78
79
  end
79
80
 
80
81
  def self.downcase_keys(hash)
81
- Hash[hash.map {|k, v| [k.downcase, v]}]
82
+ Hash[hash.map {|k, v| [k.to_s.downcase, v]}]
82
83
  end
83
84
 
84
85
  def self.downcase_feature_hash_keys(hash)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abstract_feature_branch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Annas "Andy" Maleh
@@ -66,17 +66,28 @@ dependencies:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
68
  version: 1.8.8
69
- description: |
70
- It gives ability to wrap blocks of code with an abstract feature branch name, and then
69
+ description: ! 'It gives ability to wrap blocks of code with an abstract feature branch
70
+ name, and then
71
+
71
72
  specify which features to be switched on or off in a configuration file.
72
73
 
73
- The goal is to build out future features with full integration into the codebase, thus
74
+
75
+ The goal is to build out future features with full integration into the codebase,
76
+ thus
77
+
74
78
  ensuring no delay in integration in the future, while releasing currently done features
75
- at the same time. Developers then disable future features until they are ready to be
79
+
80
+ at the same time. Developers then disable future features until they are ready to
81
+ be
82
+
76
83
  switched on in production, but do enable them in staging and locally.
77
84
 
85
+
78
86
  This gives developers the added benefit of being able to switch a feature off after
87
+
79
88
  release should big problems arise for a high risk feature.
89
+
90
+ '
80
91
  email:
81
92
  executables: []
82
93
  extensions: []
@@ -112,19 +123,19 @@ require_paths:
112
123
  - lib
113
124
  required_ruby_version: !ruby/object:Gem::Requirement
114
125
  requirements:
115
- - - '>='
126
+ - - ! '>='
116
127
  - !ruby/object:Gem::Version
117
128
  version: '0'
118
129
  required_rubygems_version: !ruby/object:Gem::Requirement
119
130
  requirements:
120
- - - '>='
131
+ - - ! '>='
121
132
  - !ruby/object:Gem::Version
122
133
  version: '0'
123
134
  requirements: []
124
135
  rubyforge_project:
125
- rubygems_version: 2.0.6
136
+ rubygems_version: 2.0.7
126
137
  signing_key:
127
138
  specification_version: 4
128
- summary: 'abstract_feature_branch is a Rails gem that enables developers to easily
139
+ summary: ! 'abstract_feature_branch is a Rails gem that enables developers to easily
129
140
  branch by abstraction as per this pattern: http://paulhammant.com/blog/branch_by_abstraction.html'
130
141
  test_files: []