activeadmin-nested-namespaces 0.1.0

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 (137) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +18 -0
  3. data/.rspec +3 -0
  4. data/.travis.yml +7 -0
  5. data/Gemfile +6 -0
  6. data/Gemfile.lock +162 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +140 -0
  9. data/Rakefile +6 -0
  10. data/activeadmin-nested-namespaces.gemspec +30 -0
  11. data/bin/bundle +105 -0
  12. data/bin/console +14 -0
  13. data/bin/htmldiff +29 -0
  14. data/bin/ldiff +29 -0
  15. data/bin/nokogiri +29 -0
  16. data/bin/rackup +29 -0
  17. data/bin/rails +29 -0
  18. data/bin/rake +29 -0
  19. data/bin/rspec +29 -0
  20. data/bin/sass +29 -0
  21. data/bin/sass-convert +29 -0
  22. data/bin/scss +29 -0
  23. data/bin/setup +8 -0
  24. data/bin/sprockets +29 -0
  25. data/bin/thor +29 -0
  26. data/dummy_app/.gitignore +23 -0
  27. data/dummy_app/Gemfile +57 -0
  28. data/dummy_app/Gemfile.lock +260 -0
  29. data/dummy_app/README.md +24 -0
  30. data/dummy_app/Rakefile +8 -0
  31. data/dummy_app/app/admin/admin_users.rb +28 -0
  32. data/dummy_app/app/admin/dashboard.rb +13 -0
  33. data/dummy_app/app/admin/site1/dashboard.rb +13 -0
  34. data/dummy_app/app/admin/site1/posts.rb +3 -0
  35. data/dummy_app/app/admin/site2/dashboard.rb +12 -0
  36. data/dummy_app/app/admin/site3/demo/dashboard.rb +13 -0
  37. data/dummy_app/app/admin/site3/demo/posts.rb +15 -0
  38. data/dummy_app/app/assets/config/manifest.js +3 -0
  39. data/dummy_app/app/assets/images/.keep +0 -0
  40. data/dummy_app/app/assets/javascripts/active_admin.js.coffee +1 -0
  41. data/dummy_app/app/assets/javascripts/application.js +15 -0
  42. data/dummy_app/app/assets/javascripts/cable.js +13 -0
  43. data/dummy_app/app/assets/javascripts/channels/.keep +0 -0
  44. data/dummy_app/app/assets/stylesheets/active_admin.scss +17 -0
  45. data/dummy_app/app/assets/stylesheets/application.css +15 -0
  46. data/dummy_app/app/channels/application_cable/channel.rb +4 -0
  47. data/dummy_app/app/channels/application_cable/connection.rb +4 -0
  48. data/dummy_app/app/controllers/application_controller.rb +3 -0
  49. data/dummy_app/app/controllers/concerns/.keep +0 -0
  50. data/dummy_app/app/helpers/application_helper.rb +2 -0
  51. data/dummy_app/app/jobs/application_job.rb +2 -0
  52. data/dummy_app/app/mailers/application_mailer.rb +4 -0
  53. data/dummy_app/app/models/admin_user.rb +10 -0
  54. data/dummy_app/app/models/application_record.rb +3 -0
  55. data/dummy_app/app/models/concerns/.keep +0 -0
  56. data/dummy_app/app/models/post.rb +2 -0
  57. data/dummy_app/app/views/layouts/application.html.erb +14 -0
  58. data/dummy_app/app/views/layouts/mailer.html.erb +13 -0
  59. data/dummy_app/app/views/layouts/mailer.text.erb +1 -0
  60. data/dummy_app/bin/bundle +3 -0
  61. data/dummy_app/bin/byebug +29 -0
  62. data/dummy_app/bin/listen +29 -0
  63. data/dummy_app/bin/nokogiri +29 -0
  64. data/dummy_app/bin/puma +29 -0
  65. data/dummy_app/bin/pumactl +29 -0
  66. data/dummy_app/bin/rackup +29 -0
  67. data/dummy_app/bin/rails +4 -0
  68. data/dummy_app/bin/rake +4 -0
  69. data/dummy_app/bin/sass +29 -0
  70. data/dummy_app/bin/sass-convert +29 -0
  71. data/dummy_app/bin/scss +29 -0
  72. data/dummy_app/bin/setup +38 -0
  73. data/dummy_app/bin/spring +29 -0
  74. data/dummy_app/bin/sprockets +29 -0
  75. data/dummy_app/bin/thor +29 -0
  76. data/dummy_app/bin/tilt +29 -0
  77. data/dummy_app/bin/update +29 -0
  78. data/dummy_app/bin/yarn +11 -0
  79. data/dummy_app/config.ru +5 -0
  80. data/dummy_app/config/application.rb +19 -0
  81. data/dummy_app/config/boot.rb +3 -0
  82. data/dummy_app/config/cable.yml +10 -0
  83. data/dummy_app/config/database.yml +25 -0
  84. data/dummy_app/config/environment.rb +5 -0
  85. data/dummy_app/config/environments/development.rb +54 -0
  86. data/dummy_app/config/environments/production.rb +91 -0
  87. data/dummy_app/config/environments/test.rb +42 -0
  88. data/dummy_app/config/initializers/active_admin.rb +313 -0
  89. data/dummy_app/config/initializers/active_admin_nested_namespace.rb +5 -0
  90. data/dummy_app/config/initializers/application_controller_renderer.rb +6 -0
  91. data/dummy_app/config/initializers/assets.rb +14 -0
  92. data/dummy_app/config/initializers/backtrace_silencers.rb +7 -0
  93. data/dummy_app/config/initializers/cookies_serializer.rb +5 -0
  94. data/dummy_app/config/initializers/devise.rb +290 -0
  95. data/dummy_app/config/initializers/filter_parameter_logging.rb +4 -0
  96. data/dummy_app/config/initializers/inflections.rb +16 -0
  97. data/dummy_app/config/initializers/mime_types.rb +4 -0
  98. data/dummy_app/config/initializers/wrap_parameters.rb +14 -0
  99. data/dummy_app/config/locales/devise.en.yml +64 -0
  100. data/dummy_app/config/locales/en.yml +33 -0
  101. data/dummy_app/config/puma.rb +56 -0
  102. data/dummy_app/config/routes.rb +20 -0
  103. data/dummy_app/config/secrets.yml +32 -0
  104. data/dummy_app/config/spring.rb +6 -0
  105. data/dummy_app/db/migrate/20180823051209_devise_create_admin_users.rb +44 -0
  106. data/dummy_app/db/migrate/20180823051213_create_active_admin_comments.rb +17 -0
  107. data/dummy_app/db/migrate/20180823051222_create_posts.rb +12 -0
  108. data/dummy_app/db/schema.rb +41 -0
  109. data/dummy_app/db/seeds.rb +8 -0
  110. data/dummy_app/lib/assets/.keep +0 -0
  111. data/dummy_app/lib/tasks/.keep +0 -0
  112. data/dummy_app/log/.keep +0 -0
  113. data/dummy_app/package.json +5 -0
  114. data/dummy_app/public/404.html +67 -0
  115. data/dummy_app/public/422.html +67 -0
  116. data/dummy_app/public/500.html +66 -0
  117. data/dummy_app/public/apple-touch-icon-precomposed.png +0 -0
  118. data/dummy_app/public/apple-touch-icon.png +0 -0
  119. data/dummy_app/public/favicon.ico +0 -0
  120. data/dummy_app/public/robots.txt +1 -0
  121. data/dummy_app/test/application_system_test_case.rb +5 -0
  122. data/dummy_app/test/controllers/.keep +0 -0
  123. data/dummy_app/test/fixtures/.keep +0 -0
  124. data/dummy_app/test/fixtures/admin_users.yml +11 -0
  125. data/dummy_app/test/fixtures/files/.keep +0 -0
  126. data/dummy_app/test/helpers/.keep +0 -0
  127. data/dummy_app/test/integration/.keep +0 -0
  128. data/dummy_app/test/mailers/.keep +0 -0
  129. data/dummy_app/test/models/.keep +0 -0
  130. data/dummy_app/test/models/admin_user_test.rb +7 -0
  131. data/dummy_app/test/system/.keep +0 -0
  132. data/dummy_app/test/test_helper.rb +9 -0
  133. data/dummy_app/tmp/.keep +0 -0
  134. data/dummy_app/vendor/.keep +0 -0
  135. data/lib/active_admin/nested_namespace.rb +270 -0
  136. data/lib/active_admin/nested_namespace/version.rb +5 -0
  137. metadata +236 -0
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "active_admin/nested_namespace"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'htmldiff' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ require "pathname"
12
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+ Pathname.new(__FILE__).realpath)
14
+
15
+ bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+ if File.file?(bundle_binstub)
18
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+ load(bundle_binstub)
20
+ else
21
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+ end
24
+ end
25
+
26
+ require "rubygems"
27
+ require "bundler/setup"
28
+
29
+ load Gem.bin_path("diff-lcs", "htmldiff")
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'ldiff' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ require "pathname"
12
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+ Pathname.new(__FILE__).realpath)
14
+
15
+ bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+ if File.file?(bundle_binstub)
18
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+ load(bundle_binstub)
20
+ else
21
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+ end
24
+ end
25
+
26
+ require "rubygems"
27
+ require "bundler/setup"
28
+
29
+ load Gem.bin_path("diff-lcs", "ldiff")
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'nokogiri' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ require "pathname"
12
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+ Pathname.new(__FILE__).realpath)
14
+
15
+ bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+ if File.file?(bundle_binstub)
18
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+ load(bundle_binstub)
20
+ else
21
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+ end
24
+ end
25
+
26
+ require "rubygems"
27
+ require "bundler/setup"
28
+
29
+ load Gem.bin_path("nokogiri", "nokogiri")
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'rackup' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ require "pathname"
12
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+ Pathname.new(__FILE__).realpath)
14
+
15
+ bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+ if File.file?(bundle_binstub)
18
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+ load(bundle_binstub)
20
+ else
21
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+ end
24
+ end
25
+
26
+ require "rubygems"
27
+ require "bundler/setup"
28
+
29
+ load Gem.bin_path("rack", "rackup")
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'rails' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ require "pathname"
12
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+ Pathname.new(__FILE__).realpath)
14
+
15
+ bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+ if File.file?(bundle_binstub)
18
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+ load(bundle_binstub)
20
+ else
21
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+ end
24
+ end
25
+
26
+ require "rubygems"
27
+ require "bundler/setup"
28
+
29
+ load Gem.bin_path("railties", "rails")
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'rake' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ require "pathname"
12
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+ Pathname.new(__FILE__).realpath)
14
+
15
+ bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+ if File.file?(bundle_binstub)
18
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+ load(bundle_binstub)
20
+ else
21
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+ end
24
+ end
25
+
26
+ require "rubygems"
27
+ require "bundler/setup"
28
+
29
+ load Gem.bin_path("rake", "rake")
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'rspec' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ require "pathname"
12
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+ Pathname.new(__FILE__).realpath)
14
+
15
+ bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+ if File.file?(bundle_binstub)
18
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+ load(bundle_binstub)
20
+ else
21
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+ end
24
+ end
25
+
26
+ require "rubygems"
27
+ require "bundler/setup"
28
+
29
+ load Gem.bin_path("rspec-core", "rspec")
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'sass' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ require "pathname"
12
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+ Pathname.new(__FILE__).realpath)
14
+
15
+ bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+ if File.file?(bundle_binstub)
18
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+ load(bundle_binstub)
20
+ else
21
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+ end
24
+ end
25
+
26
+ require "rubygems"
27
+ require "bundler/setup"
28
+
29
+ load Gem.bin_path("sass", "sass")
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'sass-convert' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ require "pathname"
12
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+ Pathname.new(__FILE__).realpath)
14
+
15
+ bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+ if File.file?(bundle_binstub)
18
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+ load(bundle_binstub)
20
+ else
21
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+ end
24
+ end
25
+
26
+ require "rubygems"
27
+ require "bundler/setup"
28
+
29
+ load Gem.bin_path("sass", "sass-convert")
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'scss' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ require "pathname"
12
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+ Pathname.new(__FILE__).realpath)
14
+
15
+ bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+ if File.file?(bundle_binstub)
18
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+ load(bundle_binstub)
20
+ else
21
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+ end
24
+ end
25
+
26
+ require "rubygems"
27
+ require "bundler/setup"
28
+
29
+ load Gem.bin_path("sass", "scss")
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'sprockets' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ require "pathname"
12
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+ Pathname.new(__FILE__).realpath)
14
+
15
+ bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+ if File.file?(bundle_binstub)
18
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+ load(bundle_binstub)
20
+ else
21
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+ end
24
+ end
25
+
26
+ require "rubygems"
27
+ require "bundler/setup"
28
+
29
+ load Gem.bin_path("sprockets", "sprockets")
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'thor' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ require "pathname"
12
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+ Pathname.new(__FILE__).realpath)
14
+
15
+ bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+ if File.file?(bundle_binstub)
18
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+ load(bundle_binstub)
20
+ else
21
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+ end
24
+ end
25
+
26
+ require "rubygems"
27
+ require "bundler/setup"
28
+
29
+ load Gem.bin_path("thor", "thor")
@@ -0,0 +1,23 @@
1
+ # See https://help.github.com/articles/ignoring-files for more about ignoring files.
2
+ #
3
+ # If you find yourself ignoring temporary files generated by your text editor
4
+ # or operating system, you probably want to add a global ignore instead:
5
+ # git config --global core.excludesfile '~/.gitignore_global'
6
+
7
+ # Ignore bundler config.
8
+ /.bundle
9
+
10
+ # Ignore the default SQLite database.
11
+ /db/*.sqlite3
12
+ /db/*.sqlite3-journal
13
+
14
+ # Ignore all logfiles and tempfiles.
15
+ /log/*
16
+ /tmp/*
17
+ !/log/.keep
18
+ !/tmp/.keep
19
+
20
+ /node_modules
21
+ /yarn-error.log
22
+
23
+ .byebug_history
@@ -0,0 +1,57 @@
1
+ source 'https://rubygems.org'
2
+
3
+ git_source(:github) do |repo_name|
4
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
5
+ "https://github.com/#{repo_name}.git"
6
+ end
7
+
8
+
9
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
10
+ gem 'rails', '~> 5.1.0'
11
+ # Use sqlite3 as the database for Active Record
12
+ gem 'sqlite3'
13
+ # Use Puma as the app server
14
+ gem 'puma', '~> 3.7'
15
+ # Use SCSS for stylesheets
16
+ gem 'sass-rails', '~> 5.0'
17
+ # Use Uglifier as compressor for JavaScript assets
18
+ gem 'uglifier', '>= 1.3.0'
19
+ # See https://github.com/rails/execjs#readme for more supported runtimes
20
+ # gem 'therubyracer', platforms: :ruby
21
+
22
+ # Use CoffeeScript for .coffee assets and views
23
+ gem 'coffee-rails', '~> 4.2'
24
+ # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
25
+ gem 'turbolinks', '~> 5'
26
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
27
+ gem 'jbuilder', '~> 2.5'
28
+ # Use Redis adapter to run Action Cable in production
29
+ # gem 'redis', '~> 3.0'
30
+ # Use ActiveModel has_secure_password
31
+ # gem 'bcrypt', '~> 3.1.7'
32
+
33
+ # Use Capistrano for deployment
34
+ # gem 'capistrano-rails', group: :development
35
+
36
+ group :development, :test do
37
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
38
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
39
+ # Adds support for Capybara system testing and selenium driver
40
+ gem 'capybara', '~> 2.13.0'
41
+ gem 'selenium-webdriver'
42
+ end
43
+
44
+ group :development do
45
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
46
+ gem 'web-console', '>= 3.3.0'
47
+ gem 'listen', '>= 3.0.5', '< 3.2'
48
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
49
+ gem 'spring'
50
+ gem 'spring-watcher-listen', '~> 2.0.0'
51
+ end
52
+
53
+ # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
54
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
55
+
56
+ gem 'devise'
57
+ gem 'activeadmin', '= 1.3.1'