anyway_config 0.4.0 → 0.5.1.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +4 -1
  3. data/.rubocop.yml +38 -0
  4. data/.travis.yml +18 -25
  5. data/CHANGELOG.md +21 -0
  6. data/Gemfile +11 -3
  7. data/LICENSE.txt +1 -1
  8. data/README.md +82 -47
  9. data/Rakefile +18 -5
  10. data/anyway_config.gemspec +15 -11
  11. data/config/cool.yml +5 -0
  12. data/gemfiles/rails42.gemfile +1 -2
  13. data/gemfiles/rails5.gemfile +6 -0
  14. data/gemfiles/railsmaster.gemfile +6 -0
  15. data/lib/anyway.rb +3 -5
  16. data/lib/anyway/config.rb +52 -31
  17. data/lib/anyway/env.rb +60 -61
  18. data/lib/anyway/ext/class.rb +18 -0
  19. data/lib/anyway/ext/deep_dup.rb +34 -0
  20. data/lib/anyway/ext/hash.rb +34 -0
  21. data/lib/anyway/rails/config.rb +16 -7
  22. data/lib/anyway/version.rb +5 -3
  23. data/lib/anyway_config.rb +3 -0
  24. data/spec/anyway.yml +1 -1
  25. data/spec/config_spec.rb +30 -19
  26. data/spec/config_spec_norails.rb +59 -16
  27. data/spec/dummy/config.ru +0 -4
  28. data/spec/dummy/config/application.rb +3 -12
  29. data/spec/dummy/config/cool.yml +1 -1
  30. data/spec/dummy/config/environments/test.rb +0 -37
  31. data/spec/dummy/config/routes.rb +0 -54
  32. data/spec/dummy/config/secrets.yml +0 -1
  33. data/spec/env_spec.rb +18 -14
  34. data/spec/ext/deep_dup_spec.rb +38 -0
  35. data/spec/spec_helper.rb +21 -9
  36. data/spec/spec_norails_helper.rb +18 -5
  37. data/spec/support/cool_config.rb +9 -3
  38. data/spec/support/test_config.rb +14 -3
  39. metadata +26 -80
  40. data/gemfiles/rails32.gemfile +0 -7
  41. data/gemfiles/rails40.gemfile +0 -7
  42. data/gemfiles/rails41.gemfile +0 -7
  43. data/spec/dummy.yml +0 -0
  44. data/spec/dummy/README.rdoc +0 -28
  45. data/spec/dummy/Rakefile +0 -6
  46. data/spec/dummy/app/assets/images/.keep +0 -0
  47. data/spec/dummy/app/assets/javascripts/application.js +0 -13
  48. data/spec/dummy/app/assets/stylesheets/application.css +0 -15
  49. data/spec/dummy/app/controllers/application_controller.rb +0 -5
  50. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  51. data/spec/dummy/app/helpers/application_helper.rb +0 -2
  52. data/spec/dummy/app/mailers/.keep +0 -0
  53. data/spec/dummy/app/models/.keep +0 -0
  54. data/spec/dummy/app/models/concerns/.keep +0 -0
  55. data/spec/dummy/app/views/layouts/application.html.erb +0 -14
  56. data/spec/dummy/bin/bundle +0 -3
  57. data/spec/dummy/bin/rails +0 -4
  58. data/spec/dummy/bin/rake +0 -4
  59. data/spec/dummy/config/environments/development.rb +0 -37
  60. data/spec/dummy/config/environments/production.rb +0 -83
  61. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  62. data/spec/dummy/config/initializers/cookies_serializer.rb +0 -3
  63. data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  64. data/spec/dummy/config/initializers/inflections.rb +0 -16
  65. data/spec/dummy/config/initializers/mime_types.rb +0 -4
  66. data/spec/dummy/config/initializers/session_store.rb +0 -3
  67. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  68. data/spec/dummy/config/locales/en.yml +0 -23
  69. data/spec/dummy/db/migrate/20140730133818_add_testos.rb +0 -11
  70. data/spec/dummy/db/migrate/20140731162044_add_column_to_testos.rb +0 -5
  71. data/spec/dummy/db/schema.rb +0 -22
  72. data/spec/dummy/lib/assets/.keep +0 -0
  73. data/spec/dummy/log/.keep +0 -0
  74. data/spec/dummy/public/404.html +0 -67
  75. data/spec/dummy/public/422.html +0 -67
  76. data/spec/dummy/public/500.html +0 -66
  77. data/spec/dummy/public/favicon.ico +0 -0
File without changes