rails-settings-ui 0.5.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -1
- data/app/controllers/rails_settings_ui/settings_controller.rb +15 -6
- data/app/helpers/rails_settings_ui/settings_helper.rb +1 -1
- data/app/views/layouts/rails_settings_ui/application.html.erb +26 -0
- data/app/views/rails_settings_ui/settings/index.html.erb +45 -0
- data/config/locales/en.yml +4 -2
- data/config/locales/ru.yml +4 -0
- data/config/locales/zh-CN.yml +4 -2
- data/config/locales/zh-TW.yml +4 -2
- data/lib/rails-settings-ui.rb +2 -1
- data/lib/rails-settings-ui/engine.rb +0 -2
- data/lib/rails-settings-ui/settings_form_coercible.rb +91 -0
- data/lib/rails-settings-ui/settings_form_validator.rb +62 -0
- data/lib/rails-settings-ui/version.rb +1 -1
- data/spec/dummy/app/models/settings.rb +3 -0
- data/spec/dummy/config/application.rb +1 -1
- data/spec/dummy/config/environments/production.rb +1 -1
- data/spec/dummy/config/environments/test.rb +3 -1
- data/spec/dummy/config/locales/en.yml +6 -1
- data/spec/dummy/log/test.log +27323 -0
- data/spec/dummy/tmp/cache/5B0/540/settings%3Amode +1 -0
- data/spec/dummy/tmp/cache/612/400/settings%3Aangle +1 -0
- data/spec/dummy/tmp/cache/62A/7E0/settings%3Alimit +1 -0
- data/spec/dummy/tmp/cache/62C/9C0/settings%3Atimer +1 -0
- data/spec/dummy/tmp/cache/63C/E80/settings%3Astyle +3 -0
- data/spec/dummy/tmp/cache/702/EF0/settings%3Acompany +1 -1
- data/spec/dummy/tmp/cache/8AF/EF0/settings%3Adescription +1 -0
- data/spec/dummy/tmp/cache/902/3E0/settings%3Aproject_name +2 -0
- data/spec/dummy/tmp/cache/A05/190/settings%3Aproject_status +1 -0
- data/spec/dummy/tmp/cache/A36/6E0/settings%3Acheck_something +1 -0
- data/spec/dummy/tmp/cache/AE1/750/rails_settings_cached%3Amode +1 -0
- data/spec/dummy/tmp/cache/B43/920/rails_settings_cached%3Aangle +1 -0
- data/spec/dummy/tmp/cache/B5B/D00/rails_settings_cached%3Alimit +1 -0
- data/spec/dummy/tmp/cache/B5D/EE0/rails_settings_cached%3Atimer +1 -0
- data/spec/dummy/tmp/cache/B6D/3A0/rails_settings_cached%3Astyle +3 -0
- data/spec/dummy/tmp/cache/DE0/670/rails_settings_cached%3Adescription +1 -0
- data/spec/dummy/tmp/cache/E33/F60/rails_settings_cached%3Aproject_name +2 -0
- data/spec/dummy/tmp/cache/F36/330/rails_settings_cached%3Aproject_status +1 -0
- data/spec/dummy/tmp/cache/F67/B90/rails_settings_cached%3Acheck_something +1 -0
- data/spec/dummy/tmp/capybara/capybara-201604072218331731576536.html +110 -0
- data/spec/dummy/tmp/capybara/capybara-201604081032444980849427.html +110 -0
- data/spec/dummy/tmp/capybara/capybara-201604081033515090839056.html +110 -0
- data/spec/dummy/tmp/capybara/capybara-201604081035235018036538.html +110 -0
- data/spec/dummy/tmp/capybara/capybara-201604081035456240700789.html +110 -0
- data/spec/dummy/tmp/capybara/capybara-201604171939409580658412.html +167 -0
- data/spec/dummy/tmp/capybara/capybara-201604172001578955442533.html +167 -0
- data/spec/dummy/tmp/capybara/capybara-201604172002367777806457.html +167 -0
- data/spec/dummy/tmp/capybara/capybara-201604172004318143886680.html +167 -0
- data/spec/dummy/tmp/capybara/capybara-201604172005177937139040.html +167 -0
- data/spec/dummy/tmp/capybara/capybara-201604172053441599257667.html +167 -0
- data/spec/dummy/tmp/capybara/capybara-20160417205725250944476.html +167 -0
- data/spec/dummy/tmp/capybara/capybara-201604172057331132801259.html +167 -0
- data/spec/dummy/tmp/capybara/capybara-201604172118071632087268.html +167 -0
- data/spec/dummy/tmp/capybara/capybara-201604172127076718204966.html +168 -0
- data/spec/dummy/tmp/capybara/capybara-20160417213155185601243.html +168 -0
- data/spec/dummy/tmp/capybara/capybara-201604172132268322962171.html +168 -0
- data/spec/dummy/tmp/capybara/capybara-201604172134068049534551.html +168 -0
- data/spec/dummy/tmp/capybara/capybara-201604172134532268725182.html +168 -0
- data/spec/dummy/tmp/capybara/capybara-20160417213510406143193.html +168 -0
- data/spec/dummy/tmp/capybara/capybara-201604172137188286690681.html +168 -0
- data/spec/dummy/tmp/capybara/capybara-20160417214102473521215.html +167 -0
- data/spec/dummy/tmp/capybara/capybara-201604172142356828149817.html +167 -0
- data/spec/dummy/tmp/capybara/capybara-201604172224448946017859.html +168 -0
- data/spec/dummy/tmp/capybara/capybara-201604180843098131092841.html +168 -0
- data/spec/dummy/tmp/capybara/capybara-201604180904356085374829.html +167 -0
- data/spec/dummy/tmp/capybara/capybara-201604181000253189634139.html +167 -0
- data/spec/dummy/tmp/capybara/capybara-201604182056589084036047.html +167 -0
- data/spec/features/settings_spec.rb +103 -24
- data/spec/lib/rails-settings-ui/settings_form_coercible_spec.rb +139 -0
- data/spec/lib/rails-settings-ui/settings_form_validator_spec.rb +96 -0
- data/spec/spec_helper.rb +1 -0
- metadata +146 -36
- data/app/views/layouts/rails_settings_ui/application.html.haml +0 -16
- data/app/views/rails_settings_ui/settings/index.html.haml +0 -25
- data/lib/rails-settings-ui/type_converter.rb +0 -60
- data/lib/rails-settings-ui/value_types/array.rb +0 -19
- data/lib/rails-settings-ui/value_types/base.rb +0 -30
- data/lib/rails-settings-ui/value_types/boolean.rb +0 -16
- data/lib/rails-settings-ui/value_types/duration.rb +0 -17
- data/lib/rails-settings-ui/value_types/fixnum.rb +0 -17
- data/lib/rails-settings-ui/value_types/float.rb +0 -17
- data/lib/rails-settings-ui/value_types/hash.rb +0 -19
- data/lib/rails-settings-ui/value_types/string.rb +0 -11
- data/lib/rails-settings-ui/value_types/symbol.rb +0 -11
- data/spec/lib/rails-settings-ui/type_converter_spec.rb +0 -33
- data/spec/lib/rails-settings-ui/value_types/array_spec.rb +0 -21
- data/spec/lib/rails-settings-ui/value_types/base_spec.rb +0 -23
- data/spec/lib/rails-settings-ui/value_types/boolean_spec.rb +0 -10
- data/spec/lib/rails-settings-ui/value_types/duration_spec.rb +0 -19
- data/spec/lib/rails-settings-ui/value_types/fixnum_spec.rb +0 -17
- data/spec/lib/rails-settings-ui/value_types/float_spec.rb +0 -17
- data/spec/lib/rails-settings-ui/value_types/hash_spec.rb +0 -26
- data/spec/lib/rails-settings-ui/value_types/string_spec.rb +0 -10
- data/spec/lib/rails-settings-ui/value_types/symbol_spec.rb +0 -10
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.