arturo 2.2.0 → 2.2.1

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: 4e9f81e2563e07812dc7a9b810dab0962f595d1e
4
- data.tar.gz: df8febe2d13852e7ac498e6cf62ce3b7b9ac2223
3
+ metadata.gz: cd5201df73af9a6db5aaa38b4b5b0160468d99d9
4
+ data.tar.gz: b258eb891e26752ba7805a3084fba51a68f26264
5
5
  SHA512:
6
- metadata.gz: 130abc91076a6b2733c0e16e8f883a1244ac5ad860608eb6aa01f05eda9fc5c7e67e0cc704972e94c1f8714e6f93cd1513236072701ac30b14a0dcdf4183ca28
7
- data.tar.gz: 635ddae0758b15185767ad4094f5d91f44828bb6cde56b8f85289f9ba52aebb72af04c89f74b7da126cd7b0f48390d139e501244f32c017e9dac59fc623a888d
6
+ metadata.gz: be0f8455254d602bfdff668832ac16841b02a8766ff1f07ef0316225daac901152c9835daf846135650366830c7211c004fdf73ee8ef290f8d89d8f28d5d489e
7
+ data.tar.gz: 7f360f151001440b08c2589909c2caa33d64acf76408f908c79599dd8e0c42d885cc9c4242bbbc34be801de73a52bb36cbcd90ec4211e1cd9dce68528a9b5943
data/README.md CHANGED
@@ -302,6 +302,6 @@ on [Sliders](http://en.wikipedia.org/wiki/Sliders).
302
302
 
303
303
  ## Quality Metrics
304
304
 
305
- [![Build Status](https://travis-ci.org/jamesarosen/arturo.png?branch=master)](https://travis-ci.org/jamesarosen/arturo)
305
+ [![Build Status](https://travis-ci.org/zendesk/arturo.png?branch=master)](https://travis-ci.org/zendesk/arturo)
306
306
 
307
- [![Code Quality](https://codeclimate.com/github/jamesarosen/arturo.png)](https://codeclimate.com/github/jamesarosen/arturo)
307
+ [![Code Quality](https://codeclimate.com/github/zendesk/arturo.png)](https://codeclimate.com/github/zendesk/arturo)
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'action_controller'
2
3
  require 'arturo/feature_params_support'
3
4
 
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Arturo
2
3
  module FeaturesHelper
3
4
  include ActionView::Helpers::TagHelper
@@ -1,3 +1,4 @@
1
+ <%# frozen_string_literal: true %>
1
2
  <tr class='feature' id="feature_<%= feature.id %>">
2
3
  <td><code class='ruby symbol'><%= feature.symbol %></code></td>
3
4
  <td><%= deployment_percentage_range_and_output_tags("features[#{feature.id}][deployment_percentage]", feature.deployment_percentage) %></td>
@@ -1,3 +1,4 @@
1
+ <%# frozen_string_literal: true %>
1
2
  <%= form_for(feature, :as => 'feature', :url => (feature.new_record? ? arturo_engine.features_path : arturo_engine.feature_path(feature))) do |form| %>
2
3
  <fieldset>
3
4
  <legend><%= legend %></legend>
@@ -1,3 +1,4 @@
1
+ <%# frozen_string_literal: true %>
1
2
  <h2><%= t('.title', :name => @feature.name) %></h2>
2
3
 
3
4
  <%= arturo_flash_messages %>
@@ -1,3 +1,4 @@
1
+ <%# frozen_string_literal: true %>
1
2
  <h2><%= t('.title') %></h2>
2
3
 
3
4
  <%= arturo_flash_messages %>
@@ -1,3 +1,4 @@
1
+ <%# frozen_string_literal: true %>
1
2
  <h2><%= t('.title') %></h2>
2
3
 
3
4
  <%= arturo_flash_messages %>
@@ -1,3 +1,4 @@
1
+ <%# frozen_string_literal: true %>
1
2
  <h2><%= t('.title') %></h2>
2
3
 
3
4
  <%= arturo_flash_messages %>
@@ -1,3 +1,4 @@
1
+ <%# frozen_string_literal: true %>
1
2
  <h2><%= t('.title', :name => @feature.name) %></h2>
2
3
 
3
4
  <%= arturo_flash_messages %>
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  Arturo::Engine.routes.draw do
2
3
  resources :features, :controller => 'arturo/features'
3
4
  put 'features', :to => 'arturo/features#update_all', :as => 'features_update_all'
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Arturo
2
3
 
3
4
  require 'arturo/special_handling'
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Arturo
2
3
 
3
4
  # Adds before filters to controllers for specifying that actions
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'arturo/controller_filters'
2
3
  require 'arturo/middleware'
3
4
 
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'active_record'
2
3
 
3
4
  # a stub
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Arturo
2
3
 
3
4
  # A mixin that provides #feature_enabled? and #if_feature_enabled
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'arturo/no_such_feature'
2
3
 
3
4
  module Arturo
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  FactoryGirl.define do
2
3
  sequence(:feature_symbol) { |n| "feature_#{n}".to_sym }
3
4
 
@@ -5,4 +6,4 @@ FactoryGirl.define do
5
6
  symbol { generate(:feature_symbol) }
6
7
  deployment_percentage { rand(101) }
7
8
  end
8
- end
9
+ end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Arturo
2
3
 
3
4
  # A mixin that is included by Arturo::FeaturesController and is declared
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Arturo
2
3
 
3
4
  # Mix in to FeaturesController. Provides the logic for getting parameters
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Arturo
2
3
  # A Rack middleware that requires a feature to be present. By default,
3
4
  # checks feature availability against an `arturo.recipient` object
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Arturo
2
3
 
3
4
  # A Null-Object stand-in for a Feature.
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Arturo
2
3
 
3
4
  # Adds whitelist and blacklist support to individual features by name
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  Arturo.instance_eval do
2
3
 
3
4
  # Enable a feature; create it if necessary.
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'rails/generators'
2
3
 
3
4
  module Arturo
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'rails/generators'
2
3
 
3
4
  module Arturo
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'rails/generators'
2
3
  require 'rails/generators/migration'
3
4
 
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'rails/generators'
2
3
 
3
4
  module Arturo
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'arturo'
2
3
  require 'arturo/feature'
3
4
 
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'active_support/core_ext'
2
3
 
3
4
  class CreateFeatures < ActiveRecord::Migration
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arturo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James A. Rosen
@@ -9,184 +9,184 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain:
11
11
  - gem-public_cert.pem
12
- date: 2016-01-05 00:00:00.000000000 Z
12
+ date: 2016-05-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>'
18
+ - - ">"
19
19
  - !ruby/object:Gem::Version
20
20
  version: '3.2'
21
- - - <
21
+ - - "<"
22
22
  - !ruby/object:Gem::Version
23
23
  version: '5.1'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
27
27
  requirements:
28
- - - '>'
28
+ - - ">"
29
29
  - !ruby/object:Gem::Version
30
30
  version: '3.2'
31
- - - <
31
+ - - "<"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '5.1'
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: rails
36
36
  requirement: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>'
38
+ - - ">"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '3.2'
41
- - - <
41
+ - - "<"
42
42
  - !ruby/object:Gem::Version
43
43
  version: '5.1'
44
44
  type: :development
45
45
  prerelease: false
46
46
  version_requirements: !ruby/object:Gem::Requirement
47
47
  requirements:
48
- - - '>'
48
+ - - ">"
49
49
  - !ruby/object:Gem::Version
50
50
  version: '3.2'
51
- - - <
51
+ - - "<"
52
52
  - !ruby/object:Gem::Version
53
53
  version: '5.1'
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: mocha
56
56
  requirement: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - ~>
58
+ - - "~>"
59
59
  - !ruby/object:Gem::Version
60
60
  version: '1.1'
61
61
  type: :development
62
62
  prerelease: false
63
63
  version_requirements: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - ~>
65
+ - - "~>"
66
66
  - !ruby/object:Gem::Version
67
67
  version: '1.1'
68
68
  - !ruby/object:Gem::Dependency
69
69
  name: rake
70
70
  requirement: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - ~>
72
+ - - "~>"
73
73
  - !ruby/object:Gem::Version
74
74
  version: '10.3'
75
75
  type: :development
76
76
  prerelease: false
77
77
  version_requirements: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - ~>
79
+ - - "~>"
80
80
  - !ruby/object:Gem::Version
81
81
  version: '10.3'
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: minitest
84
84
  requirement: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - '>'
86
+ - - ">"
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
- - - <
89
+ - - "<"
90
90
  - !ruby/object:Gem::Version
91
91
  version: '6.0'
92
92
  type: :development
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
- - - '>'
96
+ - - ">"
97
97
  - !ruby/object:Gem::Version
98
98
  version: '0'
99
- - - <
99
+ - - "<"
100
100
  - !ruby/object:Gem::Version
101
101
  version: '6.0'
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: minitest-rg
104
104
  requirement: !ruby/object:Gem::Requirement
105
105
  requirements:
106
- - - '>'
106
+ - - ">"
107
107
  - !ruby/object:Gem::Version
108
108
  version: '0'
109
- - - <
109
+ - - "<"
110
110
  - !ruby/object:Gem::Version
111
111
  version: '6.0'
112
112
  type: :development
113
113
  prerelease: false
114
114
  version_requirements: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - '>'
116
+ - - ">"
117
117
  - !ruby/object:Gem::Version
118
118
  version: '0'
119
- - - <
119
+ - - "<"
120
120
  - !ruby/object:Gem::Version
121
121
  version: '6.0'
122
122
  - !ruby/object:Gem::Dependency
123
123
  name: rails-dom-testing
124
124
  requirement: !ruby/object:Gem::Requirement
125
125
  requirements:
126
- - - ~>
126
+ - - "~>"
127
127
  - !ruby/object:Gem::Version
128
128
  version: '1.0'
129
129
  type: :development
130
130
  prerelease: false
131
131
  version_requirements: !ruby/object:Gem::Requirement
132
132
  requirements:
133
- - - ~>
133
+ - - "~>"
134
134
  - !ruby/object:Gem::Version
135
135
  version: '1.0'
136
136
  - !ruby/object:Gem::Dependency
137
137
  name: sqlite3
138
138
  requirement: !ruby/object:Gem::Requirement
139
139
  requirements:
140
- - - ~>
140
+ - - "~>"
141
141
  - !ruby/object:Gem::Version
142
142
  version: '1.3'
143
143
  type: :development
144
144
  prerelease: false
145
145
  version_requirements: !ruby/object:Gem::Requirement
146
146
  requirements:
147
- - - ~>
147
+ - - "~>"
148
148
  - !ruby/object:Gem::Version
149
149
  version: '1.3'
150
150
  - !ruby/object:Gem::Dependency
151
151
  name: factory_girl
152
152
  requirement: !ruby/object:Gem::Requirement
153
153
  requirements:
154
- - - ~>
154
+ - - "~>"
155
155
  - !ruby/object:Gem::Version
156
156
  version: '4.2'
157
157
  type: :development
158
158
  prerelease: false
159
159
  version_requirements: !ruby/object:Gem::Requirement
160
160
  requirements:
161
- - - ~>
161
+ - - "~>"
162
162
  - !ruby/object:Gem::Version
163
163
  version: '4.2'
164
164
  - !ruby/object:Gem::Dependency
165
165
  name: timecop
166
166
  requirement: !ruby/object:Gem::Requirement
167
167
  requirements:
168
- - - ~>
168
+ - - "~>"
169
169
  - !ruby/object:Gem::Version
170
170
  version: '0.3'
171
171
  type: :development
172
172
  prerelease: false
173
173
  version_requirements: !ruby/object:Gem::Requirement
174
174
  requirements:
175
- - - ~>
175
+ - - "~>"
176
176
  - !ruby/object:Gem::Version
177
177
  version: '0.3'
178
178
  - !ruby/object:Gem::Dependency
179
179
  name: wwtd
180
180
  requirement: !ruby/object:Gem::Requirement
181
181
  requirements:
182
- - - ~>
182
+ - - "~>"
183
183
  - !ruby/object:Gem::Version
184
184
  version: '0.5'
185
185
  type: :development
186
186
  prerelease: false
187
187
  version_requirements: !ruby/object:Gem::Requirement
188
188
  requirements:
189
- - - ~>
189
+ - - "~>"
190
190
  - !ruby/object:Gem::Version
191
191
  version: '0.5'
192
192
  description: Deploy features incrementally to your users
@@ -239,16 +239,16 @@ metadata: {}
239
239
  post_install_message:
240
240
  rdoc_options: []
241
241
  require_paths:
242
- - .
242
+ - "."
243
243
  - lib
244
244
  required_ruby_version: !ruby/object:Gem::Requirement
245
245
  requirements:
246
- - - '>='
246
+ - - ">="
247
247
  - !ruby/object:Gem::Version
248
248
  version: '2.0'
249
249
  required_rubygems_version: !ruby/object:Gem::Requirement
250
250
  requirements:
251
- - - '>='
251
+ - - ">="
252
252
  - !ruby/object:Gem::Version
253
253
  version: '0'
254
254
  requirements: []
@@ -258,4 +258,3 @@ signing_key:
258
258
  specification_version: 2
259
259
  summary: Feature sliders, wrapped up in an engine
260
260
  test_files: []
261
- has_rdoc: 'false'