active_admin_scoped_collection_actions 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9192c809349fab7e5444cea16d61270bd75e2a113c8cc79d1567ebea4c1dd75
4
- data.tar.gz: f6fd7507751f7c7297f861fce239fb42a055703c619bea1292d0d98deb6ece6d
3
+ metadata.gz: 2ec0b8a54cfc86f4cfaf125753d4a3fc03b88dc0872c7557328ee0ce2cc680bb
4
+ data.tar.gz: 5b78d53eaa5d4de521e9d25cebb780dd66bc8ec0192a0e6ea9aea198ada6e286
5
5
  SHA512:
6
- metadata.gz: a46f91dd43671741a6491ba4e8c5188094bb803f2df0c0a8821d4b0a900b26dd75acf5e2d7c86534b9c03b5ae80a9b472482bf5b1998d61112de01117b255e6c
7
- data.tar.gz: 234f4d2c251e0d48c3db9b1241c5628e32d2a57bf817e4b3884a41a5e150e5f06273aedd0a0ec999d5ba6d669f34caba9d12d0723cbf063a9f540942bdf4855d
6
+ metadata.gz: 9e1c4741c98d6af9724614a6f6a74d855b830f997c6c9e846be7a463394df081eceebb09b8906cd7e7807adafec54d79c754dfbb9c585554fcae2526f20230db
7
+ data.tar.gz: 565af320584442fddd6047b28c6e9389a5a41e7b52e70f5625f9f75646be5310fe1a67cb5bd68354fc343ae57f4438663a34268db3e293ca6bade7687b6b466b
data/.gitignore CHANGED
@@ -11,3 +11,5 @@
11
11
  .DS_Store
12
12
  /spec/rails
13
13
  .versions.conf
14
+ vendor/bundle
15
+ bin
data/.travis.yml CHANGED
@@ -13,10 +13,10 @@ script: bundle exec rspec spec
13
13
 
14
14
  env:
15
15
  matrix:
16
- - RAILS=4.2.0 AA=1.1.0
17
16
  - RAILS=5.2.0 AA=1.4.0
18
17
  - RAILS=5.2.0 AA=2.0.0
18
+ - RAILS=6.0.0 AA=2.6.0
19
19
 
20
20
  rvm:
21
- - 2.4.6
22
- - 2.6.3
21
+ - 2.5
22
+ - 2.6
data/Gemfile CHANGED
@@ -3,17 +3,18 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :test do
6
- gem 'activeadmin', "~> #{ENV['AA'] || '2.0.0'}"
7
- gem 'rails', "~> #{ENV['RAILS'] || '5.2.0'}"
6
+ gem 'rails', "~> #{ENV['RAILS'] || '6.0.0'}"
7
+ gem 'activeadmin', "~> #{ENV['AA'] || '2.6.0'}"
8
8
 
9
- gem 'capybara'
10
- gem 'chromedriver-helper'
9
+ gem 'sprockets-rails', '3.0.4'
10
+ gem 'rspec-rails'
11
11
  gem 'coveralls', require: false # Test coverage website. Go to https://coveralls.io
12
+ gem 'sass-rails'
13
+ gem 'sqlite3', '~> 1.4.0'
14
+ gem 'launchy'
12
15
  gem 'database_cleaner'
16
+ gem 'capybara'
17
+ gem 'webdrivers'
18
+ gem 'byebug'
13
19
  gem 'draper'
14
- gem 'launchy'
15
- gem 'rspec-rails'
16
- gem 'sass-rails'
17
- gem 'selenium-webdriver'
18
- gem 'sqlite3', '~> 1.3.6'
19
20
  end
@@ -0,0 +1,11 @@
1
+ de:
2
+ active_admin_scoped_collection_actions:
3
+ sidebar_msg: 'Diese Aktion betrifft alle ausgewählten Datensätze. Wenn keine ausgewählt sind, betrifft sie alle gefilterten Datensätze.'
4
+ confirm_action_message: 'Sind Sie sicher?'
5
+ actions:
6
+ delete: 'Löschen'
7
+ update: 'Aktualisieren'
8
+ no_permissions_msg: 'Zugriff verweigert'
9
+ batch_update_status_msg: 'Aktualisiert'
10
+ batch_destroy_status_msg: 'Gelöscht'
11
+ fail_on_destroy_msg: 'Kann nicht gelöscht werden'
@@ -3,7 +3,6 @@ sv:
3
3
  sidebar_msg: 'Den här bulkoperationen påverkar markerade poster. Eller om inget är markerat så kommer det påverka alla poster i nuvarande filter och scope.'
4
4
  confirm_action_message: 'Är du säker?'
5
5
  actions:
6
- delete: 'Ta bort batch'
7
6
  delete: 'Ta bort batch'
8
7
  update: 'Uppdatera batch'
9
8
  no_permissions_msg: 'Tillträde beviljas ej'
@@ -56,7 +56,7 @@ module ActiveAdminScopedCollectionActions
56
56
  errors = []
57
57
  scoped_collection_records.find_each do |record|
58
58
  unless destroy_resource(record)
59
- errors << "#{record.attributes[resource_class.primary_key]} | #{I18n.t('active_admin_scoped_collection_actions.fail_on_destroy_msg')}}"
59
+ errors << "#{record.attributes[resource_class.primary_key]} | #{I18n.t('active_admin_scoped_collection_actions.fail_on_destroy_msg')}"
60
60
  end
61
61
  end
62
62
  if errors.empty?
@@ -1,3 +1,3 @@
1
1
  module ActiveAdminScopedCollectionActions
2
- VERSION = '0.4.0'.freeze
2
+ VERSION = '0.4.1'.freeze
3
3
  end
@@ -1,5 +1,5 @@
1
1
  ActiveAdmin.dialogMassFieldsUpdate = function(message, inputs, callback){
2
- let html = `<form id="dialog_confirm" title="${message}"><div stype="padding-right:4px;padding-left:1px;margin-right:2px"><ul>`;
2
+ let html = `<form id="dialog_confirm" title="${message}"><div style="padding-right:4px;padding-left:1px;margin-right:2px"><ul>`;
3
3
  for (let name in inputs) {
4
4
  var elem, opts, wrapper;
5
5
  let type = inputs[name];
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_admin_scoped_collection_actions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gena M.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-15 00:00:00.000000000 Z
11
+ date: 2020-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeadmin
@@ -47,6 +47,7 @@ files:
47
47
  - README.md
48
48
  - Rakefile
49
49
  - active_admin_scoped_collection_actions.gemspec
50
+ - config/locales/de.yml
50
51
  - config/locales/en.yml
51
52
  - config/locales/es.yml
52
53
  - config/locales/sv.yml
@@ -82,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
83
  - !ruby/object:Gem::Version
83
84
  version: '0'
84
85
  requirements: []
85
- rubygems_version: 3.0.2
86
+ rubygems_version: 3.0.3
86
87
  signing_key:
87
88
  specification_version: 4
88
89
  summary: scoped_collection actions extension for ActiveAdmin