rails_com 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +11 -3
- data/app/assets/javascripts/rails_com/application.js +1 -1
- data/app/assets/javascripts/rails_com/common.js +32 -0
- data/app/assets/javascripts/rails_com/fetch_xhr_script.js +53 -0
- data/app/assets/javascripts/rails_com/footer.js +3 -0
- data/app/assets/stylesheets/rails_com/application.css +0 -1
- data/app/controllers/common_controller.rb +18 -0
- data/app/controllers/concerns/the_common_api.rb +15 -3
- data/app/helpers/rails_com/active_helper.rb +17 -6
- data/app/helpers/rails_com_helper.rb +6 -3
- data/app/models/state_machine.rb +5 -4
- data/app/views/shared/_alert.html.erb +1 -5
- data/app/views/shared/_error_messages.html.erb +1 -7
- data/app/views/shared/_locales.html.erb +8 -0
- data/config/initializers/time_format.rb +1 -0
- data/config/locales/en.yml +8 -6
- data/config/routes.rb +7 -0
- data/lib/assets/javascripts/semantic.js +11 -0
- data/lib/mina/puma.rb +63 -0
- data/lib/mina/sidekiq.rb +65 -0
- data/lib/nondigest_assets/fonts/themes/default/assets/fonts/icons.eot +0 -0
- data/lib/nondigest_assets/fonts/themes/default/assets/fonts/icons.otf +0 -0
- data/lib/nondigest_assets/fonts/themes/default/assets/fonts/icons.svg +946 -2670
- data/lib/nondigest_assets/fonts/themes/default/assets/fonts/icons.ttf +0 -0
- data/lib/nondigest_assets/fonts/themes/default/assets/fonts/icons.woff +0 -0
- data/lib/nondigest_assets/fonts/themes/default/assets/fonts/icons.woff2 +0 -0
- data/lib/nondigest_assets/{images → fonts}/themes/default/assets/images/flags.png +0 -0
- data/lib/rails_com/controller_helper.rb +26 -1
- data/lib/rails_com/controllers.rb +8 -0
- data/lib/rails_com/core_ext/nil.rb +1 -1
- data/lib/rails_com/helpers/uid_helper.rb +24 -4
- data/lib/rails_com/rails_ext/scaffold_generator.rb +14 -0
- data/lib/rails_com/rails_ext/template_renderer.rb +22 -0
- data/lib/rails_com/routes.rb +12 -8
- data/lib/rails_com/sprockets/non_digest_assets.rb +0 -18
- data/lib/rails_com/version.rb +1 -1
- data/lib/rails_com.rb +11 -2
- data/lib/templates/erb/scaffold/_form.html.erb.tt +12 -0
- data/lib/templates/erb/scaffold/_search_form.html.erb.tt +7 -0
- data/lib/templates/erb/scaffold/edit.html.erb.tt +14 -0
- data/lib/templates/erb/scaffold/index.html.erb.tt +43 -0
- data/lib/templates/erb/scaffold/new.html.erb.tt +13 -0
- data/lib/templates/erb/scaffold/show.html.erb.tt +7 -0
- data/lib/templates/rails/scaffold_controller/controller.rb.tt +53 -0
- metadata +25 -16
- data/lib/assets/stylesheets/semantic.css +0 -19466
- data/lib/rails_com/helpers/qiniu_helper.rb +0 -84
- data/lib/rails_com/sprockets/qiniu_exporter.rb +0 -21
- data/lib/rails_com/sprockets.rb +0 -15
- data/lib/templates/erb/scaffold/_form.html.erb +0 -19
- data/lib/templates/erb/scaffold/edit.html.erb +0 -2
- data/lib/templates/erb/scaffold/index.html.erb +0 -36
- data/lib/templates/erb/scaffold/new.html.erb +0 -1
- data/lib/templates/erb/scaffold/show.html.erb +0 -13
- data/lib/templates/rails/scaffold_controller/controller.rb +0 -47
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.