adminpanel 3.2.1 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +2 -3
  4. data/Gemfile +1 -1
  5. data/adminpanel.gemspec +8 -7
  6. data/app/assets/javascripts/adminpanel/application.js +0 -2
  7. data/app/assets/javascripts/adminpanel/dropzone.js +81 -42
  8. data/app/assets/javascripts/adminpanel/filter-side-menu.coffee +1 -1
  9. data/app/assets/javascripts/adminpanel/gallery.js.coffee.erb +1 -1
  10. data/app/assets/javascripts/adminpanel/google_analytics_chart.js.coffee +1 -5
  11. data/app/assets/javascripts/adminpanel/jquery.dataTables.min.js +4 -4
  12. data/app/assets/javascripts/adminpanel/realm.js +2 -6
  13. data/app/assets/javascripts/adminpanel/sortable.js.coffee +1 -5
  14. data/app/assets/javascripts/adminpanel/spinner.js.coffee +3 -3
  15. data/app/assets/javascripts/adminpanel/tables.js +113 -108
  16. data/app/assets/stylesheets/adminpanel/alertify.css +4 -4
  17. data/app/assets/stylesheets/adminpanel/datepicker.min.css +1 -1
  18. data/app/assets/stylesheets/adminpanel/dropzone.css +2 -1
  19. data/app/assets/stylesheets/adminpanel/select2.css +8 -8
  20. data/app/assets/stylesheets/adminpanel/theme.css.scss.erb +1 -1
  21. data/app/assets/stylesheets/adminpanel/turbolinks_progress_load.css +4 -0
  22. data/app/controllers/concerns/adminpanel/gallery_actions.rb +3 -2
  23. data/app/helpers/adminpanel/adminpanel_form_builder.rb +9 -2
  24. data/app/helpers/adminpanel/shared_pages_helper.rb +3 -1
  25. data/app/models/adminpanel/section.rb +9 -16
  26. data/app/models/concerns/adminpanel/base.rb +1 -1
  27. data/app/models/concerns/adminpanel/sitemap.rb +2 -4
  28. data/app/views/adminpanel/form/_select.html.erb +2 -2
  29. data/config/routes.rb +8 -8
  30. data/lib/adminpanel/version.rb +1 -1
  31. data/lib/generators/adminpanel/gallery/templates/uploader.rb +1 -1
  32. data/lib/generators/adminpanel/initialize/templates/create_adminpanel_tables.rb +4 -3
  33. data/test/dummy/.gitignore +1 -2
  34. data/test/dummy/app/models/adminpanel/galleryfile.rb +10 -0
  35. data/test/dummy/config/environments/test.rb +3 -2
  36. data/test/dummy/db/schema.rb +0 -4
  37. data/test/dummy/test/fixtures/adminpanel/galleries.yml +3 -3
  38. data/test/dummy/test/fixtures/adminpanel/images.yml +8 -8
  39. data/test/features/shared/concerns/sortable_gallery_ui_test.rb +2 -1
  40. data/test/features/shared/resource/show_test.rb +1 -1
  41. data/test/features/shared/ui/dropzone_element_generation_test.rb +1 -1
  42. data/test/helpers/shared_pages_helper_test.rb +2 -1
  43. data/test/models/adminpanel/section_test.rb +0 -3
  44. data/test/test_helper.rb +2 -1
  45. metadata +39 -26
  46. data/app/assets/stylesheets/adminpanel/turbolinks_progress_load.css.scss +0 -5
@@ -7,26 +7,22 @@ module Adminpanel
7
7
  validates_length_of :description,
8
8
  minimum: 10,
9
9
  maximum: 10,
10
- on: :update,
10
+ allow_blank: true,
11
11
  if: :is_a_phone?,
12
12
  message: I18n.t('activerecord.errors.messages.not_phone')
13
13
  validates_presence_of :description,
14
14
  minimum: 9,
15
15
  on: :update,
16
16
  if: :has_description
17
- validates :description,
18
- numericality: { only_integer: true },
19
- on: :update,
20
- if: :is_a_phone?
21
17
  validates_presence_of :key
22
18
  validates_presence_of :name
23
19
  validates_presence_of :page
24
20
 
25
21
  VALID_EMAIL_REGEX = /\A[\w+\-.]+@[a-z\d\-.]+\.[a-z]+\z/i
26
- validates_format_of :description, with: VALID_EMAIL_REGEX, if: :is_email?
22
+ validates_format_of :description, with: VALID_EMAIL_REGEX, if: :is_email?, allow_blank: true
27
23
 
28
24
  default_scope do
29
- order :order => :asc
25
+ order order: :asc
30
26
  end
31
27
 
32
28
  scope :of_page, -> (page) do
@@ -34,7 +30,7 @@ module Adminpanel
34
30
  end
35
31
 
36
32
  scope :with_description, -> do
37
- where.not( description: '')
33
+ where.not(description: '')
38
34
  end
39
35
 
40
36
  def self.form_attributes
@@ -56,10 +52,10 @@ module Adminpanel
56
52
  end
57
53
 
58
54
  def description
59
- if self.has_description && !self.attributes['description'].nil?
60
- return self.attributes['description'].html_safe
55
+ if self.has_description
56
+ return super.try(:html_safe)
61
57
  else
62
- return self.attributes['description']
58
+ return super
63
59
  end
64
60
  end
65
61
 
@@ -68,16 +64,13 @@ module Adminpanel
68
64
  end
69
65
 
70
66
  protected
71
- def has_description?
72
- !self.has_description.nil? || self.has_description
73
- end
74
67
 
75
68
  def is_email?
76
- key == 'email' && description != ''
69
+ self.key == 'email'
77
70
  end
78
71
 
79
72
  def is_a_phone?
80
- key == 'phone' && description != ''
73
+ self.key == 'phone'
81
74
  end
82
75
  end
83
76
  end
@@ -239,7 +239,7 @@ module Adminpanel
239
239
  end
240
240
 
241
241
  def destroy_unattached_images
242
- self.class.galleries.each{|gallery| gallery.last.constantize.delete_all(model_id: nil) }
242
+ self.class.galleries.each{|gallery| gallery.last.constantize.where(model_id: nil).delete_all }
243
243
  end
244
244
 
245
245
  def correlative_order_gallery
@@ -1,7 +1,6 @@
1
1
  module Adminpanel
2
2
  module Sitemap
3
3
  extend ActiveSupport::Concern
4
- include Rails.application.routes.url_helpers
5
4
 
6
5
  included do
7
6
  after_create :ping_engines
@@ -18,11 +17,10 @@ module Adminpanel
18
17
  end
19
18
 
20
19
  def ping_engines
21
- logger.info Time.now
22
20
  ping_urls.each do |name, url|
23
- request = url % CGI.escape("#{root_url}/sitemap.xml")
21
+ request = url % CGI.escape("#{Rails.application.routes.url_helpers.root_url}/sitemap.xml")
24
22
  logger.info " Pinging #{name} with #{request}"
25
- if !Rails.env.development?
23
+ if Rails.env.production?
26
24
  response = Net::HTTP.get_response(URI.parse(request))
27
25
  logger.info " #{response.code}: #{response.message}"
28
26
  logger.info " Body: #{response.body}"
@@ -9,11 +9,11 @@
9
9
  collection,
10
10
  properties['id_method'],
11
11
  properties['name_method'],
12
- @resource_instance.send(attribute)
12
+ @resource_instance.try(attribute)
13
13
  )
14
14
 
15
15
  elsif ['Hash', 'Array', 'HashWithIndifferentAccess'].include? collection.class.to_s.demodulize
16
- collection = options_for_select(collection)
16
+ collection = options_for_select(collection, @resource_instance.try(attribute))
17
17
  end
18
18
  %>
19
19
  <%= f.select attribute, collection, { include_blank: true }, args %>
data/config/routes.rb CHANGED
@@ -7,15 +7,15 @@ Adminpanel::Engine.routes.draw do
7
7
  when :analytics
8
8
  resources :analytics, only: [:index] do
9
9
  collection do
10
- get :google, to: 'analytics#google', path: 'google'
10
+ get :google, to: 'analytics#google'
11
11
 
12
- get :twitter, to:'analytics#twitter', path:'twitter'
13
- post 'reply_to_tweet/:id', to: 'analytics#reply_to_tweet', as: 'reply_to', path: "twitter/#{I18n.t('routes.reply')}/:id"
14
- post 'favorite_tweet/:id', to: 'analytics#favorite_tweet', as: 'favorite', path: "twitter/#{I18n.t('routes.favorite')}/:id"
15
- post 'retweet_tweet/:id', to: 'analytics#retweet_tweet', as: 'retweet', path: "twitter/#{I18n.t('routes.retweet')}/:id"
12
+ get :twitter, to:'analytics#twitter'
13
+ post "twitter/#{I18n.t('routes.reply')}/:id", action: 'reply_to_tweet/:id', to: 'analytics#reply_to_tweet', as: 'reply_to'
14
+ post "twitter/#{I18n.t('routes.favorite')}/:id", action: 'favorite_tweet/:id', to: 'analytics#favorite_tweet', as: 'favorite'
15
+ post "twitter/#{I18n.t('routes.retweet')}/:id", action: 'retweet_tweet/:id', to: 'analytics#retweet_tweet', as: 'retweet'
16
16
 
17
17
  get :instagram, to:'analytics#instagram'
18
- post 'comment_to_instagram/:id', to: 'analytics#instagram_comment', as: 'comment_instagram', path: "instagram/#{I18n.t('routes.comment')}/:id"
18
+ post "instagram/#{I18n.t('routes.comment')}/:id", action: 'comment_to_instagram/:id', to: 'analytics#instagram_comment', as: 'comment_instagram'
19
19
  end
20
20
  end
21
21
  else
@@ -81,8 +81,8 @@ Adminpanel::Engine.routes.draw do
81
81
  get 'instagram_callback'
82
82
  end
83
83
  end
84
- delete '/signout', to: 'sessions#destroy', as: 'signout', path: I18n.t('routes.signout')
85
- get '/signin', to: 'sessions#new', as: 'signin', path: I18n.t('routes.signin')
84
+ delete I18n.t('routes.signout'), to: 'sessions#destroy', as: 'signout'
85
+ get I18n.t('routes.signin'), to: 'sessions#new', as: 'signin'
86
86
 
87
87
  end
88
88
 
@@ -1,3 +1,3 @@
1
1
  module Adminpanel
2
- VERSION = '3.2.1'
2
+ VERSION = '3.3.0'
3
3
  end
@@ -74,7 +74,7 @@ module Adminpanel
74
74
  # | |
75
75
  # |____________|
76
76
 
77
- # resize_to_limit: [500, 500] resize_to_fit, but only resizing if original image is larger
77
+ # resize_to_limit: [500, 500] resize_to_fit, but only if original image is larger while retaining original
78
78
  # _________________
79
79
  # | |
80
80
  # | 0 |
@@ -3,10 +3,10 @@ class CreateAdminpanelTables < ActiveRecord::Migration
3
3
  super
4
4
  # Create a default user
5
5
  if direction == :up && Rails.env.development?
6
- role = Adminpanel::Role.new(:name => "Admin")
6
+ role = Adminpanel::Role.new(name: "Admin")
7
7
  role.save
8
- Adminpanel::User.new(:email => 'admin@admin.com', :name => "Admin", :password => 'password', :password_confirmation => 'password', :role_id => role.id).save
9
- puts "The password for admin@admin.com is: password"
8
+ Adminpanel::User.new(email: 'webmaster@codn.mx', name: "Admin", password: '123456', password_confirmation: '123456', role_id: role.id).save
9
+ puts "The password for admin@admin.com is: 123456"
10
10
  end
11
11
  end
12
12
 
@@ -41,6 +41,7 @@ class CreateAdminpanelTables < ActiveRecord::Migration
41
41
  t.string :type
42
42
  t.string :file_size
43
43
  t.string :content_type
44
+ t.integer :position
44
45
  t.timestamps
45
46
  end
46
47
  end
@@ -6,14 +6,13 @@ capybara-*.html
6
6
  /tmp/test.log
7
7
  /tmp/development.log
8
8
  /db/*.sqlite3
9
- /public/uploads
9
+ /public/uploads/
10
10
  /coverage/
11
11
  /spec/tmp
12
12
  **.orig
13
13
  rerun.txt
14
14
  pickle-email-*.html
15
15
  config/initializers/secret_token.rb
16
- /public/uploads/tmp
17
16
 
18
17
  ## Environment normalisation:
19
18
  /.bundle
@@ -3,5 +3,15 @@ module Adminpanel
3
3
  include Adminpanel::SortableGallery
4
4
 
5
5
  mount_uploader :file, Adminpanel::PhotoUploader
6
+
7
+ belongs_to :gallery
8
+
9
+ def self.relation_field
10
+ 'gallery_id'
11
+ end
12
+
13
+ def self.dispaly_name
14
+ 'ja'
15
+ end
6
16
  end
7
17
  end
@@ -13,12 +13,13 @@ Rails.application.configure do
13
13
  config.eager_load = false
14
14
 
15
15
  # Configure static asset server for tests with Cache-Control for performance.
16
- config.serve_static_files = true
17
- config.static_cache_control = 'public, max-age=3600'
16
+ config.public_file_server.enabled = true
17
+ config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }
18
18
 
19
19
  # Show full error reports and disable caching.
20
20
  config.consider_all_requests_local = true
21
21
  config.action_controller.perform_caching = false
22
+ config.action_dispatch.show_exceptions = true
22
23
 
23
24
  # Raise exceptions instead of rendering exception templates.
24
25
  config.action_dispatch.show_exceptions = false
@@ -126,10 +126,6 @@ ActiveRecord::Schema.define do
126
126
  t.integer :test_object_id
127
127
  t.integer :category_id
128
128
  end
129
- create_table :adminpanel_file_resourcefiles do |t|
130
- t.integer :file_resource_id
131
- t.string :file
132
- end
133
129
  create_table :adminpanel_file_resources do |t|
134
130
  t.string :name
135
131
  t.datetime :created_at
@@ -1,15 +1,15 @@
1
1
  one:
2
- file: <%= File.open(Rails.root.join("test", "fixtures", "attachments", "hipster.jpg")) %>
2
+ file: hipster.jpg
3
3
  position: 1
4
4
  created_at: <%= Date.today %>
5
5
  updated_at: <%= Date.today %>
6
6
  two:
7
- file: <%= File.open(Rails.root.join("test", "fixtures", "attachments", "hipster.jpg")) %>
7
+ file: hipster.jpg
8
8
  position: 2
9
9
  created_at: <%= Date.today %>
10
10
  updated_at: <%= Date.today %>
11
11
  three:
12
- file: <%= File.open(Rails.root.join("test", "fixtures", "attachments", "hipster.jpg")) %>
12
+ file: hipster.jpg
13
13
  position: 3
14
14
  created_at: <%= Date.today %>
15
15
  updated_at: <%= Date.today %>
@@ -1,47 +1,47 @@
1
1
  first:
2
- file: <%= File.open(Rails.root.join("test", "fixtures", 'attachments', 'dog-fries.png')) %>
2
+ file: dog-fries.png
3
3
  type: Adminpanel::Galleryfile
4
4
  position: 1
5
5
  model: one(Adminpanel::Gallery)
6
6
  created_at: <%= Date.today %>
7
7
  updated_at: <%= Date.today %>
8
8
  second:
9
- file: <%= File.open(Rails.root.join("test", "fixtures", 'attachments', 'dog-fries.png')) %>
9
+ file: dog-fries.png
10
10
  type: Adminpanel::Galleryfile
11
11
  model: one(Adminpanel::Gallery)
12
12
  position: 2
13
13
  created_at: <%= Date.today %>
14
14
  updated_at: <%= Date.today %>
15
15
  third:
16
- file: <%= File.open(Rails.root.join("test", "fixtures", 'attachments', 'dog-fries.png')) %>
16
+ file: dog-fries.png
17
17
  type: Adminpanel::Galleryfile
18
18
  model: one(Adminpanel::Gallery)
19
19
  position: 3
20
20
  created_at: <%= Date.today %>
21
21
  updated_at: <%= Date.today %>
22
22
  fourth:
23
- file: <%= File.open(Rails.root.join("test", "fixtures", 'attachments', 'dog-fries.png')) %>
23
+ file: dog-fries.png
24
24
  type: Adminpanel::Galleryfile
25
25
  model: one(Adminpanel::Gallery)
26
26
  position: 4
27
27
  created_at: <%= Date.today %>
28
28
  updated_at: <%= Date.today %>
29
29
  fifth:
30
- file: <%= File.open(Rails.root.join("test", "fixtures", 'attachments', 'dog-fries.png')) %>
30
+ file: dog-fries.png
31
31
  type: Adminpanel::Galleryfile
32
32
  model: one(Adminpanel::Gallery)
33
33
  position: 5
34
34
  created_at: <%= Date.today %>
35
35
  updated_at: <%= Date.today %>
36
36
  first_2:
37
- file: <%= File.open(Rails.root.join("test", "fixtures", 'attachments', 'dog-fries.png')) %>
37
+ file: dog-fries.png
38
38
  type: Adminpanel::Galleryfile
39
39
  model: two(Adminpanel::Gallery)
40
40
  position: 1
41
41
  created_at: <%= Date.today %>
42
42
  updated_at: <%= Date.today %>
43
43
  second_2:
44
- file: <%= File.open(Rails.root.join("test", "fixtures", 'attachments', 'dog-fries.png')) %>
44
+ file: dog-fries.png
45
45
  type: Adminpanel::Galleryfile
46
46
  model: two(Adminpanel::Gallery)
47
47
  position: 2
@@ -52,7 +52,7 @@ unassigned:
52
52
  created_at: <%= Date.yesterday %>
53
53
  updated_at: <%= Date.yesterday %>
54
54
  first_product_photo:
55
- file: <%= File.open(Rails.root.join("test", "fixtures", 'attachments', 'dog-fries.png')) %>
55
+ file: dog-fries.png
56
56
  type: Adminpanel::Photo
57
57
  model: first(Adminpanel::Product)
58
58
  position: 1
@@ -10,7 +10,8 @@ class SortableGalleryUiTest < ViewCase
10
10
  visit adminpanel.gallery_path(adminpanel_galleries(:one))
11
11
 
12
12
  # assert for sortable stuff
13
- assert_selector 'td.draggable.img'
13
+ assert adminpanel_galleries(:one).galleryfiles.count > 0
14
+ assert_selector 'td.draggable.img', count: adminpanel_galleries(:one).galleryfiles.count
14
15
  end
15
16
 
16
17
  protected
@@ -5,6 +5,7 @@ class ShowTest < ViewCase
5
5
 
6
6
  setup :sign_in
7
7
  def test_resource_contenets_and_links
8
+ visit adminpanel.product_path(adminpanel_products(:first))
8
9
  assert_content(adminpanel_products(:first).name)
9
10
  assert_content(adminpanel_products(:first).price)
10
11
  assert_content(adminpanel_products(:first).description)
@@ -16,6 +17,5 @@ class ShowTest < ViewCase
16
17
  def sign_in
17
18
  visit adminpanel.signin_path
18
19
  login
19
- visit adminpanel.product_path( adminpanel_products(:first) )
20
20
  end
21
21
  end
@@ -14,7 +14,7 @@ class DropzoneElementGenerationTest < ViewCase
14
14
  test "render the form should add a hidden input for each existing photos" do
15
15
  product = adminpanel_products(:first)
16
16
  visit adminpanel.edit_product_path(product)
17
-
17
+ assert product.photos.count > 0
18
18
  assert_selector '#photo_dropzone'
19
19
  assert_selector "input[type='hidden'][name='product[photo_ids][]']", count: product.photos.count
20
20
  end
@@ -112,8 +112,9 @@ class SharedPagesHelperTest < ActionView::TestCase
112
112
  def test_file_field_in_field_value
113
113
  test_object = adminpanel_galleries(:one)
114
114
  attribute = 'file'
115
+
115
116
  assert_equal(
116
- test_object[attribute],
117
+ link_to('hipster.jpg', test_object.file_url),
117
118
  field_value(
118
119
  'file_field',
119
120
  attribute,
@@ -13,9 +13,6 @@ module Adminpanel
13
13
  @telephone.update_attribute(:description, '1' * 11)
14
14
  assert @telephone.invalid?
15
15
 
16
- @telephone.update_attribute(:description, '01-2-3-4-5')
17
- assert @telephone.invalid?
18
-
19
16
  @telephone.update_attribute(:description, '')
20
17
  assert @telephone.valid?
21
18
  end
data/test/test_helper.rb CHANGED
@@ -2,10 +2,10 @@ ENV['RAILS_ENV'] = 'test'
2
2
 
3
3
  require File.expand_path('../dummy/config/environment', __FILE__)
4
4
  require 'rails/test_help'
5
- require 'minitest/autorun'
6
5
  require 'minitest/emoji' #emoji output
7
6
  require 'capybara/rails'
8
7
  require 'capybara/poltergeist'
8
+ require 'minitest/capybara'
9
9
 
10
10
  Capybara.current_driver = :poltergeist
11
11
 
@@ -13,6 +13,7 @@ load Rails.root.join('db', 'schema.rb')
13
13
 
14
14
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
15
15
 
16
+ Capybara.raise_server_errors = false
16
17
  class ActiveSupport::TestCase
17
18
  #fixtures live inside the dummy app
18
19
  fixtures :all
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adminpanel
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.1
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jose Ramon Camacho
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-04-04 00:00:00.000000000 Z
13
+ date: 2016-12-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -18,20 +18,20 @@ dependencies:
18
18
  requirements:
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 4.2.0
21
+ version: '5.0'
22
22
  - - "<"
23
23
  - !ruby/object:Gem::Version
24
- version: 5.0.0
24
+ version: '5.1'
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
28
28
  requirements:
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 4.2.0
31
+ version: '5.0'
32
32
  - - "<"
33
33
  - !ruby/object:Gem::Version
34
- version: 5.0.0
34
+ version: '5.1'
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: mini_magick
37
37
  requirement: !ruby/object:Gem::Requirement
@@ -208,20 +208,20 @@ dependencies:
208
208
  requirements:
209
209
  - - "~>"
210
210
  - !ruby/object:Gem::Version
211
- version: 4.1.0
211
+ version: '4.2'
212
212
  - - ">="
213
213
  - !ruby/object:Gem::Version
214
- version: 4.1.0
214
+ version: 4.2.0
215
215
  type: :runtime
216
216
  prerelease: false
217
217
  version_requirements: !ruby/object:Gem::Requirement
218
218
  requirements:
219
219
  - - "~>"
220
220
  - !ruby/object:Gem::Version
221
- version: 4.1.0
221
+ version: '4.2'
222
222
  - - ">="
223
223
  - !ruby/object:Gem::Version
224
- version: 4.1.0
224
+ version: 4.2.0
225
225
  - !ruby/object:Gem::Dependency
226
226
  name: font-awesome-rails
227
227
  requirement: !ruby/object:Gem::Requirement
@@ -248,20 +248,20 @@ dependencies:
248
248
  requirements:
249
249
  - - "~>"
250
250
  - !ruby/object:Gem::Version
251
- version: 4.0.4
251
+ version: '4.2'
252
252
  - - ">="
253
253
  - !ruby/object:Gem::Version
254
- version: 4.0.4
254
+ version: 4.2.0
255
255
  type: :runtime
256
256
  prerelease: false
257
257
  version_requirements: !ruby/object:Gem::Requirement
258
258
  requirements:
259
259
  - - "~>"
260
260
  - !ruby/object:Gem::Version
261
- version: 4.0.4
261
+ version: '4.2'
262
262
  - - ">="
263
263
  - !ruby/object:Gem::Version
264
- version: 4.0.4
264
+ version: 4.2.0
265
265
  - !ruby/object:Gem::Dependency
266
266
  name: jquery-ui-rails
267
267
  requirement: !ruby/object:Gem::Requirement
@@ -308,20 +308,20 @@ dependencies:
308
308
  requirements:
309
309
  - - "~>"
310
310
  - !ruby/object:Gem::Version
311
- version: 2.5.0
311
+ version: '5'
312
312
  - - ">="
313
313
  - !ruby/object:Gem::Version
314
- version: 2.5.2
314
+ version: '5'
315
315
  type: :runtime
316
316
  prerelease: false
317
317
  version_requirements: !ruby/object:Gem::Requirement
318
318
  requirements:
319
319
  - - "~>"
320
320
  - !ruby/object:Gem::Version
321
- version: 2.5.0
321
+ version: '5'
322
322
  - - ">="
323
323
  - !ruby/object:Gem::Version
324
- version: 2.5.2
324
+ version: '5'
325
325
  - !ruby/object:Gem::Dependency
326
326
  name: faker
327
327
  requirement: !ruby/object:Gem::Requirement
@@ -348,7 +348,7 @@ dependencies:
348
348
  requirements:
349
349
  - - ">="
350
350
  - !ruby/object:Gem::Version
351
- version: 5.4.0
351
+ version: 5.7.0
352
352
  - - "<="
353
353
  - !ruby/object:Gem::Version
354
354
  version: 6.0.0
@@ -358,7 +358,7 @@ dependencies:
358
358
  requirements:
359
359
  - - ">="
360
360
  - !ruby/object:Gem::Version
361
- version: 5.4.0
361
+ version: 5.7.0
362
362
  - - "<="
363
363
  - !ruby/object:Gem::Version
364
364
  version: 6.0.0
@@ -376,6 +376,20 @@ dependencies:
376
376
  - - '='
377
377
  - !ruby/object:Gem::Version
378
378
  version: 2.0.0
379
+ - !ruby/object:Gem::Dependency
380
+ name: capybara
381
+ requirement: !ruby/object:Gem::Requirement
382
+ requirements:
383
+ - - ">"
384
+ - !ruby/object:Gem::Version
385
+ version: 2.10.0
386
+ type: :development
387
+ prerelease: false
388
+ version_requirements: !ruby/object:Gem::Requirement
389
+ requirements:
390
+ - - ">"
391
+ - !ruby/object:Gem::Version
392
+ version: 2.10.0
379
393
  - !ruby/object:Gem::Dependency
380
394
  name: minitest-capybara
381
395
  requirement: !ruby/object:Gem::Requirement
@@ -413,7 +427,7 @@ dependencies:
413
427
  version: '1.3'
414
428
  - - ">="
415
429
  - !ruby/object:Gem::Version
416
- version: 1.3.10
430
+ version: 1.3.12
417
431
  type: :development
418
432
  prerelease: false
419
433
  version_requirements: !ruby/object:Gem::Requirement
@@ -423,7 +437,7 @@ dependencies:
423
437
  version: '1.3'
424
438
  - - ">="
425
439
  - !ruby/object:Gem::Version
426
- version: 1.3.10
440
+ version: 1.3.12
427
441
  - !ruby/object:Gem::Dependency
428
442
  name: byebug
429
443
  requirement: !ruby/object:Gem::Requirement
@@ -522,7 +536,7 @@ files:
522
536
  - app/assets/stylesheets/adminpanel/theme.css.scss.erb
523
537
  - app/assets/stylesheets/adminpanel/timepicker.css
524
538
  - app/assets/stylesheets/adminpanel/trix.scss
525
- - app/assets/stylesheets/adminpanel/turbolinks_progress_load.css.scss
539
+ - app/assets/stylesheets/adminpanel/turbolinks_progress_load.css
526
540
  - app/controllers/adminpanel/analytics_controller.rb
527
541
  - app/controllers/adminpanel/application_controller.rb
528
542
  - app/controllers/adminpanel/auths_controller.rb
@@ -762,7 +776,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
762
776
  requirements:
763
777
  - - ">="
764
778
  - !ruby/object:Gem::Version
765
- version: 2.0.0
779
+ version: 2.2.3
766
780
  required_rubygems_version: !ruby/object:Gem::Requirement
767
781
  requirements:
768
782
  - - ">="
@@ -771,7 +785,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
771
785
  requirements:
772
786
  - imagemagick installed
773
787
  rubyforge_project:
774
- rubygems_version: 2.2.2
788
+ rubygems_version: 2.4.5.1
775
789
  signing_key:
776
790
  specification_version: 4
777
791
  summary: Made with <3 by CoDN
@@ -881,4 +895,3 @@ test_files:
881
895
  - test/support/view_case.rb
882
896
  - test/tasks/adminpanel_rake_test.rb
883
897
  - test/test_helper.rb
884
- has_rdoc: