config_manager 0.0.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.
Files changed (119) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +34 -0
  5. data/app/assets/javascripts/config_manager/application.js +15 -0
  6. data/app/assets/stylesheets/config_manager/_reset.css.scss +74 -0
  7. data/app/assets/stylesheets/config_manager/application.css +5 -0
  8. data/app/assets/stylesheets/config_manager/generic.css.scss +19 -0
  9. data/app/controllers/config_manager/admins_controller.rb +59 -0
  10. data/app/controllers/config_manager/application_controller.rb +12 -0
  11. data/app/controllers/config_manager/sessions_controller.rb +5 -0
  12. data/app/controllers/config_manager/toggles_controller.rb +57 -0
  13. data/app/helpers/config_manager/application_helper.rb +11 -0
  14. data/app/helpers/config_manager/toggles_helper.rb +7 -0
  15. data/app/models/config_manager/admin.rb +18 -0
  16. data/app/views/config_manager/admins/_errors.html.slim +7 -0
  17. data/app/views/config_manager/admins/_form.html.slim +10 -0
  18. data/app/views/config_manager/admins/edit.html.slim +13 -0
  19. data/app/views/config_manager/admins/index.html.slim +28 -0
  20. data/app/views/config_manager/admins/new.html.slim +10 -0
  21. data/app/views/config_manager/sessions/new.html.slim +23 -0
  22. data/app/views/config_manager/toggles/_form.html.slim +12 -0
  23. data/app/views/config_manager/toggles/index.html.slim +45 -0
  24. data/app/views/layouts/config_manager/application.html.slim +54 -0
  25. data/config/initializers/devise.rb +258 -0
  26. data/config/locales/devise.en.yml +59 -0
  27. data/config/routes.rb +17 -0
  28. data/db/migrate/20140725161636_create_config_manager_admins.rb +41 -0
  29. data/lib/config_manager.rb +6 -0
  30. data/lib/config_manager/engine.rb +20 -0
  31. data/lib/config_manager/toggle.rb +66 -0
  32. data/lib/config_manager/toggles/boolean.rb +21 -0
  33. data/lib/config_manager/toggles/definition.rb +103 -0
  34. data/lib/config_manager/toggles/null.rb +18 -0
  35. data/lib/config_manager/toggles/set.rb +21 -0
  36. data/lib/config_manager/version.rb +3 -0
  37. data/lib/tasks/config_manager_tasks.rake +4 -0
  38. data/spec/dummy/README.rdoc +28 -0
  39. data/spec/dummy/Rakefile +6 -0
  40. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  41. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  42. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  43. data/spec/dummy/app/controllers/dummy_controller.rb +4 -0
  44. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  45. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  46. data/spec/dummy/bin/bundle +3 -0
  47. data/spec/dummy/bin/rails +4 -0
  48. data/spec/dummy/bin/rake +4 -0
  49. data/spec/dummy/config.ru +4 -0
  50. data/spec/dummy/config/application.rb +28 -0
  51. data/spec/dummy/config/bad_toggles.yml +8 -0
  52. data/spec/dummy/config/boot.rb +5 -0
  53. data/spec/dummy/config/config_manager_toggles.yml +7 -0
  54. data/spec/dummy/config/database.yml +21 -0
  55. data/spec/dummy/config/environment.rb +5 -0
  56. data/spec/dummy/config/environments/development.rb +37 -0
  57. data/spec/dummy/config/environments/production.rb +82 -0
  58. data/spec/dummy/config/environments/test.rb +39 -0
  59. data/spec/dummy/config/initializers/assets.rb +8 -0
  60. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  61. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  62. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  63. data/spec/dummy/config/initializers/inflections.rb +16 -0
  64. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  65. data/spec/dummy/config/initializers/redis.rb +12 -0
  66. data/spec/dummy/config/initializers/session_store.rb +3 -0
  67. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  68. data/spec/dummy/config/locales/en.yml +23 -0
  69. data/spec/dummy/config/redis.yml +8 -0
  70. data/spec/dummy/config/routes.rb +5 -0
  71. data/spec/dummy/config/secrets.yml +22 -0
  72. data/spec/dummy/config/toggles.yml +8 -0
  73. data/spec/dummy/db/development.sqlite3 +0 -0
  74. data/spec/dummy/db/schema.rb +31 -0
  75. data/spec/dummy/db/test.sqlite3 +0 -0
  76. data/spec/dummy/log/development.log +9283 -0
  77. data/spec/dummy/log/test.log +557 -0
  78. data/spec/dummy/public/404.html +67 -0
  79. data/spec/dummy/public/422.html +67 -0
  80. data/spec/dummy/public/500.html +66 -0
  81. data/spec/dummy/public/favicon.ico +0 -0
  82. data/spec/dummy/tmp/cache/assets/development/sass/786e38d79a0d3df53e8917152c8f9ebd061f1eac/_reset.css.scssc +0 -0
  83. data/spec/dummy/tmp/cache/assets/development/sass/786e38d79a0d3df53e8917152c8f9ebd061f1eac/generic.css.scssc +0 -0
  84. data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  85. data/spec/dummy/tmp/cache/assets/development/sprockets/1d468d61d8002d0709400b7ab8112441 +0 -0
  86. data/spec/dummy/tmp/cache/assets/development/sprockets/259bf4d13dff689b9dbca70a598c3755 +0 -0
  87. data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  88. data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  89. data/spec/dummy/tmp/cache/assets/development/sprockets/4c700e6b525103954790256e74000237 +0 -0
  90. data/spec/dummy/tmp/cache/assets/development/sprockets/53db5a69412d8243c467b6af17d2f483 +0 -0
  91. data/spec/dummy/tmp/cache/assets/development/sprockets/550cbb5bc745772776097bec6b7ee6db +0 -0
  92. data/spec/dummy/tmp/cache/assets/development/sprockets/6159fbf8e1fca57907de03eef7ed9cdb +0 -0
  93. data/spec/dummy/tmp/cache/assets/development/sprockets/69d29900d66ffd35bf01cae75f4e0fe6 +0 -0
  94. data/spec/dummy/tmp/cache/assets/development/sprockets/6d3f4fe92dd890a8bbdaf3f21eae0615 +0 -0
  95. data/spec/dummy/tmp/cache/assets/development/sprockets/b248de24a4d5454a0dcf2490dc088b8e +0 -0
  96. data/spec/dummy/tmp/cache/assets/development/sprockets/bfdd9543b7b28b65c9d760f854cc387c +0 -0
  97. data/spec/dummy/tmp/cache/assets/development/sprockets/c5471c9026b426e70abbb969df7ba671 +0 -0
  98. data/spec/dummy/tmp/cache/assets/development/sprockets/c69bf92b5432ae5a1c2044ebc2923c71 +0 -0
  99. data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  100. data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  101. data/spec/dummy/tmp/cache/assets/development/sprockets/dbbeb33ef5af4bd661989cf666fde840 +0 -0
  102. data/spec/dummy/tmp/cache/assets/development/sprockets/e808c4872b8e90c978084811080405ee +0 -0
  103. data/spec/dummy/tmp/cache/assets/development/sprockets/ecd5a5f69d121045c4fc39b914215798 +0 -0
  104. data/spec/dummy/tmp/cache/assets/development/sprockets/f0bf3eb5da8250b91d2179600efef783 +0 -0
  105. data/spec/dummy/tmp/cache/assets/development/sprockets/f318cd7091c78a646f7e5bed19e774bf +0 -0
  106. data/spec/dummy/tmp/cache/assets/development/sprockets/f33a897212fccae3670eab346f4e193e +0 -0
  107. data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  108. data/spec/dummy/tmp/pids/server.pid +1 -0
  109. data/spec/dummy/tmp/test.yml +7 -0
  110. data/spec/integration/navigation_test.rb +10 -0
  111. data/spec/lib/config_manager/toggle_spec.rb +110 -0
  112. data/spec/lib/config_manager/toggles/boolean_spec.rb +34 -0
  113. data/spec/lib/config_manager/toggles/definition_spec.rb +130 -0
  114. data/spec/lib/config_manager/toggles/set_spec.rb +34 -0
  115. data/spec/rails_helper.rb +48 -0
  116. data/spec/spec_helper.rb +78 -0
  117. data/spec/support/rspec_redis_helper.rb +28 -0
  118. data/spec/test_helper.rb +15 -0
  119. metadata +486 -0
@@ -0,0 +1,34 @@
1
+ require 'rails_helper'
2
+
3
+ module ConfigManager
4
+ module Toggles
5
+ describe Set, :redis => true do
6
+ describe ".active?" do
7
+ before { definition.type = 'set' }
8
+ let(:definition) { Definition.new('ut') }
9
+
10
+ context "when the challenge is in the set of acceptable answers" do
11
+ before { definition.acceptable_values = %w(a b) }
12
+
13
+ it "returns true" do
14
+ Set.active?(definition, 'b').should be_truthy
15
+ end
16
+ end
17
+
18
+ context "when the challenge is not in the set of acceptable answers" do
19
+ before { definition.acceptable_values = %w(a b) }
20
+
21
+ it "returns false" do
22
+ Set.active?(definition, 'c').should be_falsy
23
+ end
24
+ end
25
+
26
+ context "when there are no acceptable answers" do
27
+ it "returns false" do
28
+ Set.active?(definition, 'a').should be_falsy
29
+ end
30
+ end
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,48 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ ENV["RAILS_ENV"] ||= 'test'
3
+ require 'spec_helper'
4
+ #require File.expand_path("../../config/environment", __FILE__)
5
+ require File.expand_path("../../spec/dummy/config/environment", __FILE__)
6
+ require 'rspec/rails'
7
+
8
+ # Requires supporting ruby files with custom matchers and macros, etc, in
9
+ # spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
10
+ # run as spec files by default. This means that files in spec/support that end
11
+ # in _spec.rb will both be required and run as specs, causing the specs to be
12
+ # run twice. It is recommended that you do not name files matching this glob to
13
+ # end with _spec.rb. You can configure this pattern with with the --pattern
14
+ # option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
15
+ #Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
16
+ Dir[File.expand_path("../support/**/*.rb", __FILE__)].each { |f| require f }
17
+
18
+ # Checks for pending migrations before tests are run.
19
+ # If you are not using ActiveRecord, you can remove this line.
20
+ ActiveRecord::Migration.maintain_test_schema!
21
+
22
+ RSpec.configure do |config|
23
+ config.expect_with :rspec do |c|
24
+ c.syntax = [:should, :expect]
25
+ end
26
+
27
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
28
+ # examples within a transaction, remove the following line or assign false
29
+ # instead of true.
30
+ config.use_transactional_fixtures = true
31
+
32
+ # RSpec Rails can automatically mix in different behaviours to your tests
33
+ # based on their file location, for example enabling you to call `get` and
34
+ # `post` in specs under `spec/controllers`.
35
+ #
36
+ # You can disable this behaviour by removing the line below, and instead
37
+ # explicitly tag your specs with their type, e.g.:
38
+ #
39
+ # RSpec.describe UsersController, :type => :controller do
40
+ # # ...
41
+ # end
42
+ #
43
+ # The different available types are documented in the features, such as in
44
+ # https://relishapp.com/rspec/rspec-rails/docs
45
+ config.infer_spec_type_from_file_location!
46
+ end
47
+
48
+ include RspecRedisHelper
@@ -0,0 +1,78 @@
1
+ # This file was generated by the `rails generate rspec:install` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # The generated `.rspec` file contains `--require spec_helper` which will cause this
4
+ # file to always be loaded, without a need to explicitly require it in any files.
5
+ #
6
+ # Given that it is always loaded, you are encouraged to keep this file as
7
+ # light-weight as possible. Requiring heavyweight dependencies from this file
8
+ # will add to the boot time of your test suite on EVERY test run, even for an
9
+ # individual file that may not need all of that loaded. Instead, make a
10
+ # separate helper file that requires this one and then use it only in the specs
11
+ # that actually need it.
12
+ #
13
+ # The `.rspec` file also contains a few flags that are not defaults but that
14
+ # users commonly want.
15
+ #
16
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
17
+ RSpec.configure do |config|
18
+ # The settings below are suggested to provide a good initial experience
19
+ # with RSpec, but feel free to customize to your heart's content.
20
+ =begin
21
+ # These two settings work together to allow you to limit a spec run
22
+ # to individual examples or groups you care about by tagging them with
23
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
24
+ # get run.
25
+ config.filter_run :focus
26
+ config.run_all_when_everything_filtered = true
27
+
28
+ # Many RSpec users commonly either run the entire suite or an individual
29
+ # file, and it's useful to allow more verbose output when running an
30
+ # individual spec file.
31
+ if config.files_to_run.one?
32
+ # Use the documentation formatter for detailed output,
33
+ # unless a formatter has already been configured
34
+ # (e.g. via a command-line flag).
35
+ config.default_formatter = 'doc'
36
+ end
37
+
38
+ # Print the 10 slowest examples and example groups at the
39
+ # end of the spec run, to help surface which specs are running
40
+ # particularly slow.
41
+ config.profile_examples = 10
42
+
43
+ # Run specs in random order to surface order dependencies. If you find an
44
+ # order dependency and want to debug it, you can fix the order by providing
45
+ # the seed, which is printed after each run.
46
+ # --seed 1234
47
+ config.order = :random
48
+
49
+ # Seed global randomization in this process using the `--seed` CLI option.
50
+ # Setting this allows you to use `--seed` to deterministically reproduce
51
+ # test failures related to randomization by passing the same `--seed` value
52
+ # as the one that triggered the failure.
53
+ Kernel.srand config.seed
54
+
55
+ # rspec-expectations config goes here. You can use an alternate
56
+ # assertion/expectation library such as wrong or the stdlib/minitest
57
+ # assertions if you prefer.
58
+ config.expect_with :rspec do |expectations|
59
+ # Enable only the newer, non-monkey-patching expect syntax.
60
+ # For more details, see:
61
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
62
+ expectations.syntax = :expect
63
+ end
64
+
65
+ # rspec-mocks config goes here. You can use an alternate test double
66
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
67
+ config.mock_with :rspec do |mocks|
68
+ # Enable only the newer, non-monkey-patching expect syntax.
69
+ # For more details, see:
70
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
71
+ mocks.syntax = :expect
72
+
73
+ # Prevents you from mocking or stubbing a method that does not exist on
74
+ # a real object. This is generally recommended.
75
+ mocks.verify_partial_doubles = true
76
+ end
77
+ =end
78
+ end
@@ -0,0 +1,28 @@
1
+ module RspecRedisHelper
2
+ RSpec.configure do |config|
3
+ config.include RSpec::RedisHelper, redis: true
4
+
5
+ # define custom method that flushdb instead of flushall
6
+ def with_clean_redis_db(&block)
7
+ redis.client.disconnect
8
+ redis2.client.disconnect
9
+ redis.flushdb
10
+ begin
11
+ yield
12
+ ensure
13
+ redis.flushdb
14
+ redis.quit
15
+ redis2.quit
16
+ end
17
+ end
18
+
19
+ # clean the redis-helper gem's Redis database around each run
20
+ config.around(:each, redis: true) do |example|
21
+ $redis = redis
22
+ with_clean_redis_db do
23
+ # force the app to use the redis helper gem's Redis database
24
+ example.run
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,15 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require "rails/test_help"
6
+
7
+ Rails.backtrace_cleaner.remove_silencers!
8
+
9
+ # Load support files
10
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
+
12
+ # Load fixtures from the engine
13
+ if ActiveSupport::TestCase.method_defined?(:fixture_path=)
14
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
15
+ end
metadata ADDED
@@ -0,0 +1,486 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: config_manager
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Pablo Calderon
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-07-31 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 3.2.13
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '5'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.13
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '5'
33
+ - !ruby/object:Gem::Dependency
34
+ name: redis-rails
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: redis
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: 3.1.0
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: 3.1.0
61
+ - !ruby/object:Gem::Dependency
62
+ name: devise
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: 2.1.2
68
+ type: :runtime
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: 2.1.2
75
+ - !ruby/object:Gem::Dependency
76
+ name: jquery-rails
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: 2.1.3
82
+ type: :runtime
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: 2.1.3
89
+ - !ruby/object:Gem::Dependency
90
+ name: jquery-ui-rails
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: 3.0.1
96
+ type: :runtime
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: 3.0.1
103
+ - !ruby/object:Gem::Dependency
104
+ name: sass-rails
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">"
108
+ - !ruby/object:Gem::Version
109
+ version: 3.2.3
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">"
115
+ - !ruby/object:Gem::Version
116
+ version: 3.2.3
117
+ - !ruby/object:Gem::Dependency
118
+ name: uglifier
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: 1.0.3
124
+ type: :runtime
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: 1.0.3
131
+ - !ruby/object:Gem::Dependency
132
+ name: turbo-sprockets-rails3
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ type: :runtime
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ - !ruby/object:Gem::Dependency
146
+ name: kaminari
147
+ requirement: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: 0.14.1
152
+ type: :runtime
153
+ prerelease: false
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: 0.14.1
159
+ - !ruby/object:Gem::Dependency
160
+ name: slim-rails
161
+ requirement: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ type: :runtime
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ - !ruby/object:Gem::Dependency
174
+ name: rspec
175
+ requirement: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: '0'
180
+ type: :development
181
+ prerelease: false
182
+ version_requirements: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: '0'
187
+ - !ruby/object:Gem::Dependency
188
+ name: rspec-rails
189
+ requirement: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: '0'
194
+ type: :development
195
+ prerelease: false
196
+ version_requirements: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - ">="
199
+ - !ruby/object:Gem::Version
200
+ version: '0'
201
+ - !ruby/object:Gem::Dependency
202
+ name: rspec-core
203
+ requirement: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - ">="
206
+ - !ruby/object:Gem::Version
207
+ version: '0'
208
+ type: :development
209
+ prerelease: false
210
+ version_requirements: !ruby/object:Gem::Requirement
211
+ requirements:
212
+ - - ">="
213
+ - !ruby/object:Gem::Version
214
+ version: '0'
215
+ - !ruby/object:Gem::Dependency
216
+ name: rspec-collection_matchers
217
+ requirement: !ruby/object:Gem::Requirement
218
+ requirements:
219
+ - - ">="
220
+ - !ruby/object:Gem::Version
221
+ version: '0'
222
+ type: :development
223
+ prerelease: false
224
+ version_requirements: !ruby/object:Gem::Requirement
225
+ requirements:
226
+ - - ">="
227
+ - !ruby/object:Gem::Version
228
+ version: '0'
229
+ - !ruby/object:Gem::Dependency
230
+ name: sqlite3
231
+ requirement: !ruby/object:Gem::Requirement
232
+ requirements:
233
+ - - ">="
234
+ - !ruby/object:Gem::Version
235
+ version: '0'
236
+ type: :development
237
+ prerelease: false
238
+ version_requirements: !ruby/object:Gem::Requirement
239
+ requirements:
240
+ - - ">="
241
+ - !ruby/object:Gem::Version
242
+ version: '0'
243
+ - !ruby/object:Gem::Dependency
244
+ name: rspec-redis_helper
245
+ requirement: !ruby/object:Gem::Requirement
246
+ requirements:
247
+ - - ">="
248
+ - !ruby/object:Gem::Version
249
+ version: '0'
250
+ type: :development
251
+ prerelease: false
252
+ version_requirements: !ruby/object:Gem::Requirement
253
+ requirements:
254
+ - - ">="
255
+ - !ruby/object:Gem::Version
256
+ version: '0'
257
+ description: Manage your application-level configuration
258
+ email:
259
+ - pcalderon@clipengineering.com
260
+ executables: []
261
+ extensions: []
262
+ extra_rdoc_files: []
263
+ files:
264
+ - MIT-LICENSE
265
+ - README.rdoc
266
+ - Rakefile
267
+ - app/assets/javascripts/config_manager/application.js
268
+ - app/assets/stylesheets/config_manager/_reset.css.scss
269
+ - app/assets/stylesheets/config_manager/application.css
270
+ - app/assets/stylesheets/config_manager/generic.css.scss
271
+ - app/controllers/config_manager/admins_controller.rb
272
+ - app/controllers/config_manager/application_controller.rb
273
+ - app/controllers/config_manager/sessions_controller.rb
274
+ - app/controllers/config_manager/toggles_controller.rb
275
+ - app/helpers/config_manager/application_helper.rb
276
+ - app/helpers/config_manager/toggles_helper.rb
277
+ - app/models/config_manager/admin.rb
278
+ - app/views/config_manager/admins/_errors.html.slim
279
+ - app/views/config_manager/admins/_form.html.slim
280
+ - app/views/config_manager/admins/edit.html.slim
281
+ - app/views/config_manager/admins/index.html.slim
282
+ - app/views/config_manager/admins/new.html.slim
283
+ - app/views/config_manager/sessions/new.html.slim
284
+ - app/views/config_manager/toggles/_form.html.slim
285
+ - app/views/config_manager/toggles/index.html.slim
286
+ - app/views/layouts/config_manager/application.html.slim
287
+ - config/initializers/devise.rb
288
+ - config/locales/devise.en.yml
289
+ - config/routes.rb
290
+ - db/migrate/20140725161636_create_config_manager_admins.rb
291
+ - lib/config_manager.rb
292
+ - lib/config_manager/engine.rb
293
+ - lib/config_manager/toggle.rb
294
+ - lib/config_manager/toggles/boolean.rb
295
+ - lib/config_manager/toggles/definition.rb
296
+ - lib/config_manager/toggles/null.rb
297
+ - lib/config_manager/toggles/set.rb
298
+ - lib/config_manager/version.rb
299
+ - lib/tasks/config_manager_tasks.rake
300
+ - spec/dummy/README.rdoc
301
+ - spec/dummy/Rakefile
302
+ - spec/dummy/app/assets/javascripts/application.js
303
+ - spec/dummy/app/assets/stylesheets/application.css
304
+ - spec/dummy/app/controllers/application_controller.rb
305
+ - spec/dummy/app/controllers/dummy_controller.rb
306
+ - spec/dummy/app/helpers/application_helper.rb
307
+ - spec/dummy/app/views/layouts/application.html.erb
308
+ - spec/dummy/bin/bundle
309
+ - spec/dummy/bin/rails
310
+ - spec/dummy/bin/rake
311
+ - spec/dummy/config.ru
312
+ - spec/dummy/config/application.rb
313
+ - spec/dummy/config/bad_toggles.yml
314
+ - spec/dummy/config/boot.rb
315
+ - spec/dummy/config/config_manager_toggles.yml
316
+ - spec/dummy/config/database.yml
317
+ - spec/dummy/config/environment.rb
318
+ - spec/dummy/config/environments/development.rb
319
+ - spec/dummy/config/environments/production.rb
320
+ - spec/dummy/config/environments/test.rb
321
+ - spec/dummy/config/initializers/assets.rb
322
+ - spec/dummy/config/initializers/backtrace_silencers.rb
323
+ - spec/dummy/config/initializers/cookies_serializer.rb
324
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
325
+ - spec/dummy/config/initializers/inflections.rb
326
+ - spec/dummy/config/initializers/mime_types.rb
327
+ - spec/dummy/config/initializers/redis.rb
328
+ - spec/dummy/config/initializers/session_store.rb
329
+ - spec/dummy/config/initializers/wrap_parameters.rb
330
+ - spec/dummy/config/locales/en.yml
331
+ - spec/dummy/config/redis.yml
332
+ - spec/dummy/config/routes.rb
333
+ - spec/dummy/config/secrets.yml
334
+ - spec/dummy/config/toggles.yml
335
+ - spec/dummy/db/development.sqlite3
336
+ - spec/dummy/db/schema.rb
337
+ - spec/dummy/db/test.sqlite3
338
+ - spec/dummy/log/development.log
339
+ - spec/dummy/log/test.log
340
+ - spec/dummy/public/404.html
341
+ - spec/dummy/public/422.html
342
+ - spec/dummy/public/500.html
343
+ - spec/dummy/public/favicon.ico
344
+ - spec/dummy/tmp/cache/assets/development/sass/786e38d79a0d3df53e8917152c8f9ebd061f1eac/_reset.css.scssc
345
+ - spec/dummy/tmp/cache/assets/development/sass/786e38d79a0d3df53e8917152c8f9ebd061f1eac/generic.css.scssc
346
+ - spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
347
+ - spec/dummy/tmp/cache/assets/development/sprockets/1d468d61d8002d0709400b7ab8112441
348
+ - spec/dummy/tmp/cache/assets/development/sprockets/259bf4d13dff689b9dbca70a598c3755
349
+ - spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
350
+ - spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
351
+ - spec/dummy/tmp/cache/assets/development/sprockets/4c700e6b525103954790256e74000237
352
+ - spec/dummy/tmp/cache/assets/development/sprockets/53db5a69412d8243c467b6af17d2f483
353
+ - spec/dummy/tmp/cache/assets/development/sprockets/550cbb5bc745772776097bec6b7ee6db
354
+ - spec/dummy/tmp/cache/assets/development/sprockets/6159fbf8e1fca57907de03eef7ed9cdb
355
+ - spec/dummy/tmp/cache/assets/development/sprockets/69d29900d66ffd35bf01cae75f4e0fe6
356
+ - spec/dummy/tmp/cache/assets/development/sprockets/6d3f4fe92dd890a8bbdaf3f21eae0615
357
+ - spec/dummy/tmp/cache/assets/development/sprockets/b248de24a4d5454a0dcf2490dc088b8e
358
+ - spec/dummy/tmp/cache/assets/development/sprockets/bfdd9543b7b28b65c9d760f854cc387c
359
+ - spec/dummy/tmp/cache/assets/development/sprockets/c5471c9026b426e70abbb969df7ba671
360
+ - spec/dummy/tmp/cache/assets/development/sprockets/c69bf92b5432ae5a1c2044ebc2923c71
361
+ - spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
362
+ - spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
363
+ - spec/dummy/tmp/cache/assets/development/sprockets/dbbeb33ef5af4bd661989cf666fde840
364
+ - spec/dummy/tmp/cache/assets/development/sprockets/e808c4872b8e90c978084811080405ee
365
+ - spec/dummy/tmp/cache/assets/development/sprockets/ecd5a5f69d121045c4fc39b914215798
366
+ - spec/dummy/tmp/cache/assets/development/sprockets/f0bf3eb5da8250b91d2179600efef783
367
+ - spec/dummy/tmp/cache/assets/development/sprockets/f318cd7091c78a646f7e5bed19e774bf
368
+ - spec/dummy/tmp/cache/assets/development/sprockets/f33a897212fccae3670eab346f4e193e
369
+ - spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
370
+ - spec/dummy/tmp/pids/server.pid
371
+ - spec/dummy/tmp/test.yml
372
+ - spec/integration/navigation_test.rb
373
+ - spec/lib/config_manager/toggle_spec.rb
374
+ - spec/lib/config_manager/toggles/boolean_spec.rb
375
+ - spec/lib/config_manager/toggles/definition_spec.rb
376
+ - spec/lib/config_manager/toggles/set_spec.rb
377
+ - spec/rails_helper.rb
378
+ - spec/spec_helper.rb
379
+ - spec/support/rspec_redis_helper.rb
380
+ - spec/test_helper.rb
381
+ homepage: ''
382
+ licenses:
383
+ - MIT
384
+ metadata: {}
385
+ post_install_message:
386
+ rdoc_options: []
387
+ require_paths:
388
+ - lib
389
+ required_ruby_version: !ruby/object:Gem::Requirement
390
+ requirements:
391
+ - - ">="
392
+ - !ruby/object:Gem::Version
393
+ version: '0'
394
+ required_rubygems_version: !ruby/object:Gem::Requirement
395
+ requirements:
396
+ - - ">="
397
+ - !ruby/object:Gem::Version
398
+ version: '0'
399
+ requirements: []
400
+ rubyforge_project:
401
+ rubygems_version: 2.2.2
402
+ signing_key:
403
+ specification_version: 4
404
+ summary: Plugin to manage application-level configuration
405
+ test_files:
406
+ - spec/dummy/app/assets/javascripts/application.js
407
+ - spec/dummy/app/assets/stylesheets/application.css
408
+ - spec/dummy/app/controllers/application_controller.rb
409
+ - spec/dummy/app/controllers/dummy_controller.rb
410
+ - spec/dummy/app/helpers/application_helper.rb
411
+ - spec/dummy/app/views/layouts/application.html.erb
412
+ - spec/dummy/bin/bundle
413
+ - spec/dummy/bin/rails
414
+ - spec/dummy/bin/rake
415
+ - spec/dummy/config/application.rb
416
+ - spec/dummy/config/bad_toggles.yml
417
+ - spec/dummy/config/boot.rb
418
+ - spec/dummy/config/config_manager_toggles.yml
419
+ - spec/dummy/config/database.yml
420
+ - spec/dummy/config/environment.rb
421
+ - spec/dummy/config/environments/development.rb
422
+ - spec/dummy/config/environments/production.rb
423
+ - spec/dummy/config/environments/test.rb
424
+ - spec/dummy/config/initializers/assets.rb
425
+ - spec/dummy/config/initializers/backtrace_silencers.rb
426
+ - spec/dummy/config/initializers/cookies_serializer.rb
427
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
428
+ - spec/dummy/config/initializers/inflections.rb
429
+ - spec/dummy/config/initializers/mime_types.rb
430
+ - spec/dummy/config/initializers/redis.rb
431
+ - spec/dummy/config/initializers/session_store.rb
432
+ - spec/dummy/config/initializers/wrap_parameters.rb
433
+ - spec/dummy/config/locales/en.yml
434
+ - spec/dummy/config/redis.yml
435
+ - spec/dummy/config/routes.rb
436
+ - spec/dummy/config/secrets.yml
437
+ - spec/dummy/config/toggles.yml
438
+ - spec/dummy/config.ru
439
+ - spec/dummy/db/development.sqlite3
440
+ - spec/dummy/db/schema.rb
441
+ - spec/dummy/db/test.sqlite3
442
+ - spec/dummy/log/development.log
443
+ - spec/dummy/log/test.log
444
+ - spec/dummy/public/404.html
445
+ - spec/dummy/public/422.html
446
+ - spec/dummy/public/500.html
447
+ - spec/dummy/public/favicon.ico
448
+ - spec/dummy/Rakefile
449
+ - spec/dummy/README.rdoc
450
+ - spec/dummy/tmp/cache/assets/development/sass/786e38d79a0d3df53e8917152c8f9ebd061f1eac/_reset.css.scssc
451
+ - spec/dummy/tmp/cache/assets/development/sass/786e38d79a0d3df53e8917152c8f9ebd061f1eac/generic.css.scssc
452
+ - spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
453
+ - spec/dummy/tmp/cache/assets/development/sprockets/1d468d61d8002d0709400b7ab8112441
454
+ - spec/dummy/tmp/cache/assets/development/sprockets/259bf4d13dff689b9dbca70a598c3755
455
+ - spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
456
+ - spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
457
+ - spec/dummy/tmp/cache/assets/development/sprockets/4c700e6b525103954790256e74000237
458
+ - spec/dummy/tmp/cache/assets/development/sprockets/53db5a69412d8243c467b6af17d2f483
459
+ - spec/dummy/tmp/cache/assets/development/sprockets/550cbb5bc745772776097bec6b7ee6db
460
+ - spec/dummy/tmp/cache/assets/development/sprockets/6159fbf8e1fca57907de03eef7ed9cdb
461
+ - spec/dummy/tmp/cache/assets/development/sprockets/69d29900d66ffd35bf01cae75f4e0fe6
462
+ - spec/dummy/tmp/cache/assets/development/sprockets/6d3f4fe92dd890a8bbdaf3f21eae0615
463
+ - spec/dummy/tmp/cache/assets/development/sprockets/b248de24a4d5454a0dcf2490dc088b8e
464
+ - spec/dummy/tmp/cache/assets/development/sprockets/bfdd9543b7b28b65c9d760f854cc387c
465
+ - spec/dummy/tmp/cache/assets/development/sprockets/c5471c9026b426e70abbb969df7ba671
466
+ - spec/dummy/tmp/cache/assets/development/sprockets/c69bf92b5432ae5a1c2044ebc2923c71
467
+ - spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
468
+ - spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
469
+ - spec/dummy/tmp/cache/assets/development/sprockets/dbbeb33ef5af4bd661989cf666fde840
470
+ - spec/dummy/tmp/cache/assets/development/sprockets/e808c4872b8e90c978084811080405ee
471
+ - spec/dummy/tmp/cache/assets/development/sprockets/ecd5a5f69d121045c4fc39b914215798
472
+ - spec/dummy/tmp/cache/assets/development/sprockets/f0bf3eb5da8250b91d2179600efef783
473
+ - spec/dummy/tmp/cache/assets/development/sprockets/f318cd7091c78a646f7e5bed19e774bf
474
+ - spec/dummy/tmp/cache/assets/development/sprockets/f33a897212fccae3670eab346f4e193e
475
+ - spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
476
+ - spec/dummy/tmp/pids/server.pid
477
+ - spec/dummy/tmp/test.yml
478
+ - spec/integration/navigation_test.rb
479
+ - spec/lib/config_manager/toggle_spec.rb
480
+ - spec/lib/config_manager/toggles/boolean_spec.rb
481
+ - spec/lib/config_manager/toggles/definition_spec.rb
482
+ - spec/lib/config_manager/toggles/set_spec.rb
483
+ - spec/rails_helper.rb
484
+ - spec/spec_helper.rb
485
+ - spec/support/rspec_redis_helper.rb
486
+ - spec/test_helper.rb