administrate-field-active_storage 0.3.6 → 0.4.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 (139) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/main.yml +21 -0
  3. data/.gitignore +0 -1
  4. data/.ruby-version +1 -1
  5. data/Gemfile.lock +211 -0
  6. data/README.md +22 -3
  7. data/administrate-field-active_storage.gemspec +4 -3
  8. data/app/assets/stylesheets/administrate-field-active_storage/application.css +15 -0
  9. data/app/views/fields/active_storage/_form.html.erb +4 -1
  10. data/app/views/fields/active_storage/_index.html.erb +20 -12
  11. data/app/views/fields/active_storage/_item.html.erb +2 -1
  12. data/app/views/fields/active_storage/_items.html.erb +8 -1
  13. data/app/views/fields/active_storage/_preview.html.erb +8 -4
  14. data/app/views/fields/active_storage/_show.html.erb +1 -1
  15. data/config/i18n-tasks.yml +8 -0
  16. data/config/locales/administrate-field-active_storage.en.yml +10 -0
  17. data/config/locales/administrate-field-active_storage.ru.yml +10 -0
  18. data/contribute.md +1 -0
  19. data/lib/administrate/field/active_storage.rb +10 -1
  20. data/spec/i18n_spec.rb +35 -0
  21. data/test_app/.browserslistrc +1 -0
  22. data/test_app/.gitattributes +10 -0
  23. data/{example-project → test_app}/.gitignore +9 -7
  24. data/test_app/.ruby-version +1 -0
  25. data/test_app/Gemfile +45 -0
  26. data/test_app/Gemfile.lock +240 -0
  27. data/{example-project → test_app}/README.md +0 -0
  28. data/{example-project → test_app}/Rakefile +1 -1
  29. data/test_app/app/assets/config/manifest.js +4 -0
  30. data/{example-project → test_app}/app/assets/images/.keep +0 -0
  31. data/{example-project → test_app}/app/assets/stylesheets/application.css +0 -0
  32. data/{example-project → test_app}/app/controllers/admin/application_controller.rb +3 -3
  33. data/test_app/app/controllers/admin/posts_controller.rb +46 -0
  34. data/{example-project → test_app}/app/controllers/application_controller.rb +0 -0
  35. data/{example-project/app/dashboards/user_dashboard.rb → test_app/app/dashboards/post_dashboard.rb} +29 -27
  36. data/{example-project → test_app}/app/helpers/application_helper.rb +0 -0
  37. data/test_app/app/javascript/packs/application.js +10 -0
  38. data/{example-project → test_app}/app/models/application_record.rb +0 -0
  39. data/test_app/app/models/post.rb +3 -0
  40. data/test_app/app/views/layouts/application.html.erb +16 -0
  41. data/test_app/bin/bundle +114 -0
  42. data/test_app/bin/rails +4 -0
  43. data/test_app/bin/rake +4 -0
  44. data/{example-project → test_app}/bin/setup +6 -9
  45. data/test_app/config/application.rb +35 -0
  46. data/{example-project/bin/bundle → test_app/config/boot.rb} +2 -2
  47. data/test_app/config/credentials.yml.enc +1 -0
  48. data/{example-project → test_app}/config/database.yml +1 -1
  49. data/{example-project → test_app}/config/environment.rb +1 -1
  50. data/{example-project → test_app}/config/environments/development.rb +21 -11
  51. data/{example-project → test_app}/config/environments/production.rb +36 -24
  52. data/{example-project → test_app}/config/environments/test.rb +20 -14
  53. data/{example-project → test_app}/config/initializers/application_controller_renderer.rb +0 -0
  54. data/{example-project → test_app}/config/initializers/assets.rb +0 -0
  55. data/test_app/config/initializers/backtrace_silencers.rb +8 -0
  56. data/{example-project → test_app}/config/initializers/content_security_policy.rb +5 -0
  57. data/{example-project → test_app}/config/initializers/cookies_serializer.rb +0 -0
  58. data/{example-project → test_app}/config/initializers/filter_parameter_logging.rb +3 -1
  59. data/{example-project → test_app}/config/initializers/inflections.rb +0 -0
  60. data/{example-project → test_app}/config/initializers/mime_types.rb +0 -0
  61. data/test_app/config/initializers/permissions_policy.rb +11 -0
  62. data/{example-project → test_app}/config/initializers/wrap_parameters.rb +0 -0
  63. data/{example-project → test_app}/config/locales/en.yml +1 -1
  64. data/{example-project → test_app}/config/puma.rb +13 -4
  65. data/test_app/config/routes.rb +9 -0
  66. data/{example-project → test_app}/config/storage.yml +0 -0
  67. data/{example-project → test_app}/config.ru +2 -1
  68. data/{example-project/db/migrate/20181221134334_create_active_storage_tables.active_storage.rb → test_app/db/migrate/20210118122804_create_active_storage_tables.active_storage.rb} +15 -5
  69. data/test_app/db/migrate/20210118122927_create_posts.rb +8 -0
  70. data/{example-project → test_app}/db/schema.rb +18 -10
  71. data/{example-project → test_app}/db/seeds.rb +1 -1
  72. data/test_app/lib/active_storage/fixture_set.rb +71 -0
  73. data/{example-project → test_app}/public/404.html +0 -0
  74. data/{example-project → test_app}/public/422.html +0 -0
  75. data/{example-project → test_app}/public/500.html +0 -0
  76. data/{example-project → test_app}/public/apple-touch-icon-precomposed.png +0 -0
  77. data/{example-project → test_app}/public/apple-touch-icon.png +0 -0
  78. data/{example-project → test_app}/public/favicon.ico +0 -0
  79. data/test_app/public/robots.txt +1 -0
  80. data/{example-project → test_app}/test/application_system_test_case.rb +0 -0
  81. data/test_app/test/controllers/admin/posts_controller_test.rb +14 -0
  82. data/test_app/test/fixtures/active_storage/attachments.yml +4 -0
  83. data/test_app/test/fixtures/active_storage/blobs.yml +2 -0
  84. data/test_app/test/fixtures/files/cover_image.jpg +0 -0
  85. data/test_app/test/fixtures/posts.yml +11 -0
  86. data/test_app/test/models/post_test.rb +9 -0
  87. data/test_app/test/test_helper.rb +20 -0
  88. metadata +100 -101
  89. data/Rakefile +0 -22
  90. data/example-project/.ruby-version +0 -1
  91. data/example-project/Gemfile +0 -67
  92. data/example-project/Gemfile.lock +0 -265
  93. data/example-project/app/assets/config/manifest.js +0 -3
  94. data/example-project/app/assets/javascripts/application.js +0 -16
  95. data/example-project/app/assets/javascripts/cable.js +0 -13
  96. data/example-project/app/assets/javascripts/channels/.keep +0 -0
  97. data/example-project/app/channels/application_cable/channel.rb +0 -4
  98. data/example-project/app/channels/application_cable/connection.rb +0 -4
  99. data/example-project/app/controllers/admin/users_controller.rb +0 -27
  100. data/example-project/app/controllers/concerns/.keep +0 -0
  101. data/example-project/app/controllers/users_controller.rb +0 -7
  102. data/example-project/app/jobs/application_job.rb +0 -2
  103. data/example-project/app/mailers/application_mailer.rb +0 -4
  104. data/example-project/app/models/concerns/.keep +0 -0
  105. data/example-project/app/models/user.rb +0 -3
  106. data/example-project/app/views/layouts/application.html.erb +0 -15
  107. data/example-project/app/views/layouts/mailer.html.erb +0 -13
  108. data/example-project/app/views/layouts/mailer.text.erb +0 -1
  109. data/example-project/bin/rails +0 -9
  110. data/example-project/bin/rake +0 -9
  111. data/example-project/bin/spring +0 -17
  112. data/example-project/bin/update +0 -31
  113. data/example-project/bin/yarn +0 -11
  114. data/example-project/config/application.rb +0 -19
  115. data/example-project/config/boot.rb +0 -4
  116. data/example-project/config/cable.yml +0 -10
  117. data/example-project/config/credentials.yml.enc +0 -1
  118. data/example-project/config/initializers/backtrace_silencers.rb +0 -7
  119. data/example-project/config/routes.rb +0 -10
  120. data/example-project/config/spring.rb +0 -6
  121. data/example-project/db/migrate/20181013145025_create_users.rb +0 -9
  122. data/example-project/lib/assets/.keep +0 -0
  123. data/example-project/lib/tasks/.keep +0 -0
  124. data/example-project/log/.keep +0 -0
  125. data/example-project/package.json +0 -5
  126. data/example-project/public/robots.txt +0 -1
  127. data/example-project/test/controllers/.keep +0 -0
  128. data/example-project/test/fixtures/.keep +0 -0
  129. data/example-project/test/fixtures/files/.keep +0 -0
  130. data/example-project/test/fixtures/users.yml +0 -7
  131. data/example-project/test/helpers/.keep +0 -0
  132. data/example-project/test/integration/.keep +0 -0
  133. data/example-project/test/mailers/.keep +0 -0
  134. data/example-project/test/models/.keep +0 -0
  135. data/example-project/test/models/user_test.rb +0 -7
  136. data/example-project/test/system/.keep +0 -0
  137. data/example-project/test/test_helper.rb +0 -10
  138. data/example-project/tmp/.keep +0 -0
  139. data/example-project/vendor/.keep +0 -0
@@ -0,0 +1,2 @@
1
+ cover_image:
2
+ <%= ActiveStorage::FixtureSet.blob filename: "cover_image.jpg" %>
@@ -0,0 +1,11 @@
1
+ # Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ # This model initially had no columns defined. If you add columns to the
4
+ # model remove the '{}' from the fixture names and add the columns immediately
5
+ # below each fixture, per the syntax in the comments below
6
+ #
7
+ one: {}
8
+ # column: value
9
+ #
10
+ two: {}
11
+ # column: value
@@ -0,0 +1,9 @@
1
+ require "test_helper"
2
+
3
+ class PostTest < ActiveSupport::TestCase
4
+ test "post has cover image" do
5
+ post = posts(:one)
6
+
7
+ assert post.cover_image.attached?
8
+ end
9
+ end
@@ -0,0 +1,20 @@
1
+ ENV['RAILS_ENV'] ||= 'test'
2
+ require_relative "../config/environment"
3
+ require "rails/test_help"
4
+ require "active_storage/fixture_set"
5
+ ActiveStorage::FixtureSet.file_fixture_path = File.expand_path("fixtures/files", __dir__)
6
+
7
+ class ActiveSupport::TestCase
8
+ # Run tests in parallel with specified workers
9
+ parallelize(workers: :number_of_processors)
10
+
11
+ # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
12
+ fixtures :all
13
+
14
+ def after_teardown
15
+ super
16
+ FileUtils.rm_rf(Rails.root.join('tmp', 'storage'))
17
+ end
18
+
19
+ # Add more helper methods to be used by all tests here...
20
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administrate-field-active_storage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hamad AlGhanim
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-10 00:00:00.000000000 Z
11
+ date: 2022-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: administrate
@@ -30,28 +30,42 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '6.0'
33
+ version: '7.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '6.0'
40
+ version: '7.0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rspec
42
+ name: sqlite3
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '3.4'
47
+ version: '1.4'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '3.4'
54
+ version: '1.4'
55
+ - !ruby/object:Gem::Dependency
56
+ name: i18n-tasks
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.9.34
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.9.34
55
69
  description: Administrate fields for active storage
56
70
  email:
57
71
  - hamadyalghanim@gmail.com
@@ -59,117 +73,101 @@ executables: []
59
73
  extensions: []
60
74
  extra_rdoc_files: []
61
75
  files:
76
+ - ".github/workflows/main.yml"
62
77
  - ".gitignore"
63
78
  - ".ruby-version"
64
79
  - Gemfile
80
+ - Gemfile.lock
65
81
  - LICENSE
66
82
  - README.md
67
- - Rakefile
68
83
  - _config.yml
69
84
  - administrate-field-active_storage.gemspec
85
+ - app/assets/stylesheets/administrate-field-active_storage/application.css
70
86
  - app/views/fields/active_storage/_form.html.erb
71
87
  - app/views/fields/active_storage/_index.html.erb
72
88
  - app/views/fields/active_storage/_item.html.erb
73
89
  - app/views/fields/active_storage/_items.html.erb
74
90
  - app/views/fields/active_storage/_preview.html.erb
75
91
  - app/views/fields/active_storage/_show.html.erb
92
+ - config/i18n-tasks.yml
93
+ - config/locales/administrate-field-active_storage.en.yml
94
+ - config/locales/administrate-field-active_storage.ru.yml
76
95
  - contribute.md
77
- - example-project/.gitignore
78
- - example-project/.ruby-version
79
- - example-project/Gemfile
80
- - example-project/Gemfile.lock
81
- - example-project/README.md
82
- - example-project/Rakefile
83
- - example-project/app/assets/config/manifest.js
84
- - example-project/app/assets/images/.keep
85
- - example-project/app/assets/javascripts/application.js
86
- - example-project/app/assets/javascripts/cable.js
87
- - example-project/app/assets/javascripts/channels/.keep
88
- - example-project/app/assets/stylesheets/application.css
89
- - example-project/app/channels/application_cable/channel.rb
90
- - example-project/app/channels/application_cable/connection.rb
91
- - example-project/app/controllers/admin/application_controller.rb
92
- - example-project/app/controllers/admin/users_controller.rb
93
- - example-project/app/controllers/application_controller.rb
94
- - example-project/app/controllers/concerns/.keep
95
- - example-project/app/controllers/users_controller.rb
96
- - example-project/app/dashboards/user_dashboard.rb
97
- - example-project/app/helpers/application_helper.rb
98
- - example-project/app/jobs/application_job.rb
99
- - example-project/app/mailers/application_mailer.rb
100
- - example-project/app/models/application_record.rb
101
- - example-project/app/models/concerns/.keep
102
- - example-project/app/models/user.rb
103
- - example-project/app/views/layouts/application.html.erb
104
- - example-project/app/views/layouts/mailer.html.erb
105
- - example-project/app/views/layouts/mailer.text.erb
106
- - example-project/bin/bundle
107
- - example-project/bin/rails
108
- - example-project/bin/rake
109
- - example-project/bin/setup
110
- - example-project/bin/spring
111
- - example-project/bin/update
112
- - example-project/bin/yarn
113
- - example-project/config.ru
114
- - example-project/config/application.rb
115
- - example-project/config/boot.rb
116
- - example-project/config/cable.yml
117
- - example-project/config/credentials.yml.enc
118
- - example-project/config/database.yml
119
- - example-project/config/environment.rb
120
- - example-project/config/environments/development.rb
121
- - example-project/config/environments/production.rb
122
- - example-project/config/environments/test.rb
123
- - example-project/config/initializers/application_controller_renderer.rb
124
- - example-project/config/initializers/assets.rb
125
- - example-project/config/initializers/backtrace_silencers.rb
126
- - example-project/config/initializers/content_security_policy.rb
127
- - example-project/config/initializers/cookies_serializer.rb
128
- - example-project/config/initializers/filter_parameter_logging.rb
129
- - example-project/config/initializers/inflections.rb
130
- - example-project/config/initializers/mime_types.rb
131
- - example-project/config/initializers/wrap_parameters.rb
132
- - example-project/config/locales/en.yml
133
- - example-project/config/puma.rb
134
- - example-project/config/routes.rb
135
- - example-project/config/spring.rb
136
- - example-project/config/storage.yml
137
- - example-project/db/migrate/20181013145025_create_users.rb
138
- - example-project/db/migrate/20181221134334_create_active_storage_tables.active_storage.rb
139
- - example-project/db/schema.rb
140
- - example-project/db/seeds.rb
141
- - example-project/lib/assets/.keep
142
- - example-project/lib/tasks/.keep
143
- - example-project/log/.keep
144
- - example-project/package.json
145
- - example-project/public/404.html
146
- - example-project/public/422.html
147
- - example-project/public/500.html
148
- - example-project/public/apple-touch-icon-precomposed.png
149
- - example-project/public/apple-touch-icon.png
150
- - example-project/public/favicon.ico
151
- - example-project/public/robots.txt
152
- - example-project/test/application_system_test_case.rb
153
- - example-project/test/controllers/.keep
154
- - example-project/test/fixtures/.keep
155
- - example-project/test/fixtures/files/.keep
156
- - example-project/test/fixtures/users.yml
157
- - example-project/test/helpers/.keep
158
- - example-project/test/integration/.keep
159
- - example-project/test/mailers/.keep
160
- - example-project/test/models/.keep
161
- - example-project/test/models/user_test.rb
162
- - example-project/test/system/.keep
163
- - example-project/test/test_helper.rb
164
- - example-project/tmp/.keep
165
- - example-project/vendor/.keep
166
96
  - lib/administrate/field/active_storage.rb
97
+ - spec/i18n_spec.rb
167
98
  - spec/lib/administrate/field/active_storage_spec.rb
99
+ - test_app/.browserslistrc
100
+ - test_app/.gitattributes
101
+ - test_app/.gitignore
102
+ - test_app/.ruby-version
103
+ - test_app/Gemfile
104
+ - test_app/Gemfile.lock
105
+ - test_app/README.md
106
+ - test_app/Rakefile
107
+ - test_app/app/assets/config/manifest.js
108
+ - test_app/app/assets/images/.keep
109
+ - test_app/app/assets/stylesheets/application.css
110
+ - test_app/app/controllers/admin/application_controller.rb
111
+ - test_app/app/controllers/admin/posts_controller.rb
112
+ - test_app/app/controllers/application_controller.rb
113
+ - test_app/app/dashboards/post_dashboard.rb
114
+ - test_app/app/helpers/application_helper.rb
115
+ - test_app/app/javascript/packs/application.js
116
+ - test_app/app/models/application_record.rb
117
+ - test_app/app/models/post.rb
118
+ - test_app/app/views/layouts/application.html.erb
119
+ - test_app/bin/bundle
120
+ - test_app/bin/rails
121
+ - test_app/bin/rake
122
+ - test_app/bin/setup
123
+ - test_app/config.ru
124
+ - test_app/config/application.rb
125
+ - test_app/config/boot.rb
126
+ - test_app/config/credentials.yml.enc
127
+ - test_app/config/database.yml
128
+ - test_app/config/environment.rb
129
+ - test_app/config/environments/development.rb
130
+ - test_app/config/environments/production.rb
131
+ - test_app/config/environments/test.rb
132
+ - test_app/config/initializers/application_controller_renderer.rb
133
+ - test_app/config/initializers/assets.rb
134
+ - test_app/config/initializers/backtrace_silencers.rb
135
+ - test_app/config/initializers/content_security_policy.rb
136
+ - test_app/config/initializers/cookies_serializer.rb
137
+ - test_app/config/initializers/filter_parameter_logging.rb
138
+ - test_app/config/initializers/inflections.rb
139
+ - test_app/config/initializers/mime_types.rb
140
+ - test_app/config/initializers/permissions_policy.rb
141
+ - test_app/config/initializers/wrap_parameters.rb
142
+ - test_app/config/locales/en.yml
143
+ - test_app/config/puma.rb
144
+ - test_app/config/routes.rb
145
+ - test_app/config/storage.yml
146
+ - test_app/db/migrate/20210118122804_create_active_storage_tables.active_storage.rb
147
+ - test_app/db/migrate/20210118122927_create_posts.rb
148
+ - test_app/db/schema.rb
149
+ - test_app/db/seeds.rb
150
+ - test_app/lib/active_storage/fixture_set.rb
151
+ - test_app/public/404.html
152
+ - test_app/public/422.html
153
+ - test_app/public/500.html
154
+ - test_app/public/apple-touch-icon-precomposed.png
155
+ - test_app/public/apple-touch-icon.png
156
+ - test_app/public/favicon.ico
157
+ - test_app/public/robots.txt
158
+ - test_app/test/application_system_test_case.rb
159
+ - test_app/test/controllers/admin/posts_controller_test.rb
160
+ - test_app/test/fixtures/active_storage/attachments.yml
161
+ - test_app/test/fixtures/active_storage/blobs.yml
162
+ - test_app/test/fixtures/files/cover_image.jpg
163
+ - test_app/test/fixtures/posts.yml
164
+ - test_app/test/models/post_test.rb
165
+ - test_app/test/test_helper.rb
168
166
  homepage: https://github.com/Dreamersoul/administrate-field-active_storage
169
167
  licenses:
170
168
  - MIT
171
169
  metadata: {}
172
- post_install_message:
170
+ post_install_message:
173
171
  rdoc_options: []
174
172
  require_paths:
175
173
  - lib
@@ -184,9 +182,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
184
182
  - !ruby/object:Gem::Version
185
183
  version: '0'
186
184
  requirements: []
187
- rubygems_version: 3.0.3
188
- signing_key:
185
+ rubygems_version: 3.2.32
186
+ signing_key:
189
187
  specification_version: 4
190
188
  summary: Administrate fields for active storage
191
189
  test_files:
190
+ - spec/i18n_spec.rb
192
191
  - spec/lib/administrate/field/active_storage_spec.rb
data/Rakefile DELETED
@@ -1,22 +0,0 @@
1
- #!/usr/bin/env rake
2
-
3
- begin
4
- require "bundler/setup"
5
- rescue LoadError
6
- puts "You must `gem install bundler` and `bundle install` to run rake tasks"
7
- end
8
-
9
- require "bundler/gem_tasks"
10
-
11
- ##
12
- # Configure the test suite.
13
- ##
14
- require "rspec/core"
15
- require "rspec/core/rake_task"
16
-
17
- RSpec::Core::RakeTask.new
18
-
19
- ##
20
- # By default, just run the tests.
21
- ##
22
- task default: :spec
@@ -1 +0,0 @@
1
- 2.4.1
@@ -1,67 +0,0 @@
1
- source 'https://rubygems.org'
2
- git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3
-
4
- ruby '2.4.1'
5
-
6
- # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
7
- gem 'rails', '~> 5.2.0'
8
- # Use sqlite3 as the database for Active Record
9
- gem 'sqlite3'
10
- # Use Puma as the app server
11
- gem 'puma', '~> 3.11'
12
- # Use SCSS for stylesheets
13
- gem 'sass-rails', '~> 5.0'
14
- # Use Uglifier as compressor for JavaScript assets
15
- gem 'uglifier', '>= 1.3.0'
16
- # See https://github.com/rails/execjs#readme for more supported runtimes
17
- # gem 'mini_racer', platforms: :ruby
18
-
19
- # Use CoffeeScript for .coffee assets and views
20
- gem 'coffee-rails', '~> 4.2'
21
- # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
22
- gem 'turbolinks', '~> 5'
23
- # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
24
- gem 'jbuilder', '~> 2.5'
25
- # Use Redis adapter to run Action Cable in production
26
- # gem 'redis', '~> 4.0'
27
- # Use ActiveModel has_secure_password
28
- # gem 'bcrypt', '~> 3.1.7'
29
-
30
- # Use ActiveStorage variant
31
- # gem 'mini_magick', '~> 4.8'
32
-
33
- # Use Capistrano for deployment
34
- # gem 'capistrano-rails', group: :development
35
-
36
- # Reduces boot times through caching; required in config/boot.rb
37
- gem 'bootsnap', '>= 1.1.0', require: false
38
-
39
- group :development, :test do
40
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
41
- gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
42
- end
43
-
44
- group :development do
45
- # Access an interactive console on exception pages or by calling '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
- group :test do
54
- # Adds support for Capybara system testing and selenium driver
55
- gem 'capybara', '>= 2.15', '< 4.0'
56
- gem 'selenium-webdriver'
57
- # Easy installation and use of chromedriver to run system tests with Chrome
58
- gem 'chromedriver-helper'
59
- end
60
-
61
- # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
62
- gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
63
-
64
- gem 'mini_magick'
65
-
66
- gem "administrate"
67
- gem 'administrate-field-active_storage', :path => "../"
@@ -1,265 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- administrate-field-active_storage (0.1.8)
5
- administrate (>= 0.2.0.rc1)
6
- rails (>= 5.2)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- actioncable (5.2.2)
12
- actionpack (= 5.2.2)
13
- nio4r (~> 2.0)
14
- websocket-driver (>= 0.6.1)
15
- actionmailer (5.2.2)
16
- actionpack (= 5.2.2)
17
- actionview (= 5.2.2)
18
- activejob (= 5.2.2)
19
- mail (~> 2.5, >= 2.5.4)
20
- rails-dom-testing (~> 2.0)
21
- actionpack (5.2.2)
22
- actionview (= 5.2.2)
23
- activesupport (= 5.2.2)
24
- rack (~> 2.0)
25
- rack-test (>= 0.6.3)
26
- rails-dom-testing (~> 2.0)
27
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
28
- actionview (5.2.2)
29
- activesupport (= 5.2.2)
30
- builder (~> 3.1)
31
- erubi (~> 1.4)
32
- rails-dom-testing (~> 2.0)
33
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
34
- activejob (5.2.2)
35
- activesupport (= 5.2.2)
36
- globalid (>= 0.3.6)
37
- activemodel (5.2.2)
38
- activesupport (= 5.2.2)
39
- activerecord (5.2.2)
40
- activemodel (= 5.2.2)
41
- activesupport (= 5.2.2)
42
- arel (>= 9.0)
43
- activestorage (5.2.2)
44
- actionpack (= 5.2.2)
45
- activerecord (= 5.2.2)
46
- marcel (~> 0.3.1)
47
- activesupport (5.2.2)
48
- concurrent-ruby (~> 1.0, >= 1.0.2)
49
- i18n (>= 0.7, < 2)
50
- minitest (~> 5.1)
51
- tzinfo (~> 1.1)
52
- addressable (2.5.2)
53
- public_suffix (>= 2.0.2, < 4.0)
54
- administrate (0.11.0)
55
- actionpack (>= 4.2, < 6.0)
56
- actionview (>= 4.2, < 6.0)
57
- activerecord (>= 4.2, < 6.0)
58
- autoprefixer-rails (>= 6.0)
59
- datetime_picker_rails (~> 0.0.7)
60
- jquery-rails (>= 4.0)
61
- kaminari (>= 1.0)
62
- momentjs-rails (~> 2.8)
63
- sass-rails (~> 5.0)
64
- selectize-rails (~> 0.6)
65
- archive-zip (0.11.0)
66
- io-like (~> 0.3.0)
67
- arel (9.0.0)
68
- autoprefixer-rails (9.4.3)
69
- execjs
70
- bindex (0.5.0)
71
- bootsnap (1.3.2)
72
- msgpack (~> 1.0)
73
- builder (3.2.3)
74
- byebug (10.0.2)
75
- capybara (3.12.0)
76
- addressable
77
- mini_mime (>= 0.1.3)
78
- nokogiri (~> 1.8)
79
- rack (>= 1.6.0)
80
- rack-test (>= 0.6.3)
81
- regexp_parser (~> 1.2)
82
- xpath (~> 3.2)
83
- childprocess (0.9.0)
84
- ffi (~> 1.0, >= 1.0.11)
85
- chromedriver-helper (2.1.0)
86
- archive-zip (~> 0.10)
87
- nokogiri (~> 1.8)
88
- coffee-rails (4.2.2)
89
- coffee-script (>= 2.2.0)
90
- railties (>= 4.0.0)
91
- coffee-script (2.4.1)
92
- coffee-script-source
93
- execjs
94
- coffee-script-source (1.12.2)
95
- concurrent-ruby (1.1.4)
96
- crass (1.0.4)
97
- datetime_picker_rails (0.0.7)
98
- momentjs-rails (>= 2.8.1)
99
- erubi (1.8.0)
100
- execjs (2.7.0)
101
- ffi (1.9.25)
102
- globalid (0.4.1)
103
- activesupport (>= 4.2.0)
104
- i18n (1.3.0)
105
- concurrent-ruby (~> 1.0)
106
- io-like (0.3.0)
107
- jbuilder (2.8.0)
108
- activesupport (>= 4.2.0)
109
- multi_json (>= 1.2)
110
- jquery-rails (4.3.3)
111
- rails-dom-testing (>= 1, < 3)
112
- railties (>= 4.2.0)
113
- thor (>= 0.14, < 2.0)
114
- kaminari (1.1.1)
115
- activesupport (>= 4.1.0)
116
- kaminari-actionview (= 1.1.1)
117
- kaminari-activerecord (= 1.1.1)
118
- kaminari-core (= 1.1.1)
119
- kaminari-actionview (1.1.1)
120
- actionview
121
- kaminari-core (= 1.1.1)
122
- kaminari-activerecord (1.1.1)
123
- activerecord
124
- kaminari-core (= 1.1.1)
125
- kaminari-core (1.1.1)
126
- listen (3.1.5)
127
- rb-fsevent (~> 0.9, >= 0.9.4)
128
- rb-inotify (~> 0.9, >= 0.9.7)
129
- ruby_dep (~> 1.2)
130
- loofah (2.2.3)
131
- crass (~> 1.0.2)
132
- nokogiri (>= 1.5.9)
133
- mail (2.7.1)
134
- mini_mime (>= 0.1.1)
135
- marcel (0.3.3)
136
- mimemagic (~> 0.3.2)
137
- method_source (0.9.2)
138
- mimemagic (0.3.3)
139
- mini_magick (4.9.4)
140
- mini_mime (1.0.1)
141
- mini_portile2 (2.4.0)
142
- minitest (5.11.3)
143
- momentjs-rails (2.20.1)
144
- railties (>= 3.1)
145
- msgpack (1.2.4)
146
- multi_json (1.13.1)
147
- nio4r (2.3.1)
148
- nokogiri (1.10.4)
149
- mini_portile2 (~> 2.4.0)
150
- public_suffix (3.0.3)
151
- puma (3.12.0)
152
- rack (2.0.6)
153
- rack-test (1.1.0)
154
- rack (>= 1.0, < 3)
155
- rails (5.2.2)
156
- actioncable (= 5.2.2)
157
- actionmailer (= 5.2.2)
158
- actionpack (= 5.2.2)
159
- actionview (= 5.2.2)
160
- activejob (= 5.2.2)
161
- activemodel (= 5.2.2)
162
- activerecord (= 5.2.2)
163
- activestorage (= 5.2.2)
164
- activesupport (= 5.2.2)
165
- bundler (>= 1.3.0)
166
- railties (= 5.2.2)
167
- sprockets-rails (>= 2.0.0)
168
- rails-dom-testing (2.0.3)
169
- activesupport (>= 4.2.0)
170
- nokogiri (>= 1.6)
171
- rails-html-sanitizer (1.0.4)
172
- loofah (~> 2.2, >= 2.2.2)
173
- railties (5.2.2)
174
- actionpack (= 5.2.2)
175
- activesupport (= 5.2.2)
176
- method_source
177
- rake (>= 0.8.7)
178
- thor (>= 0.19.0, < 2.0)
179
- rake (12.3.2)
180
- rb-fsevent (0.10.3)
181
- rb-inotify (0.10.0)
182
- ffi (~> 1.0)
183
- regexp_parser (1.3.0)
184
- ruby_dep (1.5.0)
185
- rubyzip (1.2.2)
186
- sass (3.7.2)
187
- sass-listen (~> 4.0.0)
188
- sass-listen (4.0.0)
189
- rb-fsevent (~> 0.9, >= 0.9.4)
190
- rb-inotify (~> 0.9, >= 0.9.7)
191
- sass-rails (5.0.7)
192
- railties (>= 4.0.0, < 6)
193
- sass (~> 3.1)
194
- sprockets (>= 2.8, < 4.0)
195
- sprockets-rails (>= 2.0, < 4.0)
196
- tilt (>= 1.1, < 3)
197
- selectize-rails (0.12.6)
198
- selenium-webdriver (3.141.0)
199
- childprocess (~> 0.5)
200
- rubyzip (~> 1.2, >= 1.2.2)
201
- spring (2.0.2)
202
- activesupport (>= 4.2)
203
- spring-watcher-listen (2.0.1)
204
- listen (>= 2.7, < 4.0)
205
- spring (>= 1.2, < 3.0)
206
- sprockets (3.7.2)
207
- concurrent-ruby (~> 1.0)
208
- rack (> 1, < 3)
209
- sprockets-rails (3.2.1)
210
- actionpack (>= 4.0)
211
- activesupport (>= 4.0)
212
- sprockets (>= 3.0.0)
213
- sqlite3 (1.3.13)
214
- thor (0.20.3)
215
- thread_safe (0.3.6)
216
- tilt (2.0.9)
217
- turbolinks (5.2.0)
218
- turbolinks-source (~> 5.2)
219
- turbolinks-source (5.2.0)
220
- tzinfo (1.2.5)
221
- thread_safe (~> 0.1)
222
- uglifier (4.1.20)
223
- execjs (>= 0.3.0, < 3)
224
- web-console (3.7.0)
225
- actionview (>= 5.0)
226
- activemodel (>= 5.0)
227
- bindex (>= 0.4.0)
228
- railties (>= 5.0)
229
- websocket-driver (0.7.0)
230
- websocket-extensions (>= 0.1.0)
231
- websocket-extensions (0.1.3)
232
- xpath (3.2.0)
233
- nokogiri (~> 1.8)
234
-
235
- PLATFORMS
236
- ruby
237
-
238
- DEPENDENCIES
239
- administrate
240
- administrate-field-active_storage!
241
- bootsnap (>= 1.1.0)
242
- byebug
243
- capybara (>= 2.15, < 4.0)
244
- chromedriver-helper
245
- coffee-rails (~> 4.2)
246
- jbuilder (~> 2.5)
247
- listen (>= 3.0.5, < 3.2)
248
- mini_magick
249
- puma (~> 3.11)
250
- rails (~> 5.2.0)
251
- sass-rails (~> 5.0)
252
- selenium-webdriver
253
- spring
254
- spring-watcher-listen (~> 2.0.0)
255
- sqlite3
256
- turbolinks (~> 5)
257
- tzinfo-data
258
- uglifier (>= 1.3.0)
259
- web-console (>= 3.3.0)
260
-
261
- RUBY VERSION
262
- ruby 2.4.1p111
263
-
264
- BUNDLED WITH
265
- 1.16.0
@@ -1,3 +0,0 @@
1
- //= link_tree ../images
2
- //= link_directory ../javascripts .js
3
- //= link_directory ../stylesheets .css