activeadmin_reorderable 0.1.5 → 0.2.0

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: a3444cc5455393598880575853ae90a3fa3c96ad70db05266319ca3f11175321
4
- data.tar.gz: 4f61654aee46f935210df56e3ff98702538a0bd455937b57d3ad19f766d4e92b
3
+ metadata.gz: 40ed33ae36cb82f27d5c1d3a63af91e6d57f384c2f3512a9fe9376ea7a36b69f
4
+ data.tar.gz: 7a4c1ade7db39b0c48253cf20c9e46a1f9312ca06a4bbce50c94f1765a8a9845
5
5
  SHA512:
6
- metadata.gz: e8b5032d8e89cd76d8649656e240509296b9dd4b150c9a5ac5fa4e5c84bd1f6753ed2a400dc2cc4954b0ecaae5fd776885747f97973e1ca701a2bbc225f2d4c1
7
- data.tar.gz: 9e68c6debce31865ba13d2ed203ae2317ad06cb42040b6308590ab8db4b3ea921de6b2e0e61b11448f9b869fa8b568ed2e477c98878370d14fa26a489070b515
6
+ metadata.gz: 8f989e1ccd43c828dcbc74c98a461b3e22a5b3bf0611133b57612dac39bf23c04b8555370f9743f822f98a9fe6af4113980fb56ac23072e3ff3c70b943b9b5c3
7
+ data.tar.gz: 8f492dffaf1499099ef6dfce4e3f4e133b82bb94c31b8ff66fe9e5362795ef6825cbea4a8155bd2b13439ff90346e70c740f653957460ac590e80c5ad500605f
data/.gitignore CHANGED
@@ -1 +1,3 @@
1
1
  builds/*
2
+ Gemfile.lock
3
+ node_modules
data/README.md CHANGED
@@ -8,10 +8,16 @@ Drag and drop to reorder your ActiveAdmin tables.
8
8
  Your resource classes must respond to `insert_at` ala the [`acts_as_list`](https://github.com/swanandp/acts_as_list) API. You don't need to use `acts_as_list`, but if you don't, make sure to define `insert_at`.
9
9
 
10
10
  ## Installation
11
+ ### Sprockets
11
12
  - Add `gem 'activeadmin_reorderable'` to `Gemfile`
12
13
  - Add `#= require activeadmin_reorderable` to `app/assets/javascripts/active_admin.js.coffee`
13
14
  - Add `@import "activeadmin_reorderable";` as the last `@import` statement in `app/assets/stylesheets/active_admin.css.scss`
14
15
 
16
+ ### Webpacker / npm
17
+ - `npm install --save activeadmin_reorderable` or `yarn add activeadmin_reorderable`
18
+ - Add `import "activeadmin_reorderable"` to your JS pack file
19
+ - Add `@import "activeadmin_reorderable/app/assets/styleseehts/activeadmin_reorderable.scss"";` to your CSS style file
20
+
15
21
  ## Use
16
22
  `parts.rb`
17
23
  ```ruby
Binary file
@@ -1,3 +1,3 @@
1
1
  module ActiveadminReorderable
2
- VERSION = "0.1.5"
2
+ VERSION = "0.2.0"
3
3
  end
data/package.json ADDED
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "activeadmin_reorderable",
3
+ "version": "0.2.0",
4
+ "description": "Drag and drop to reorder your ActiveAdmin tables.",
5
+ "main": "app/assets/javascripts/activeadmin_reorderable.js",
6
+ "files": [
7
+ "app/**/*"
8
+ ],
9
+ "repository": "https://github.com/dkniffin/activeadmin_reorderable",
10
+ "author": "Viget <hello@viget.com>",
11
+ "license": "MIT",
12
+ "scripts": { },
13
+ "devDependencies": { },
14
+ "dependencies": {
15
+ "jquery": "^3.5.1"
16
+ }
17
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin_reorderable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Jones
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-05-18 00:00:00.000000000 Z
12
+ date: 2022-03-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activeadmin
@@ -38,6 +38,7 @@ files:
38
38
  - Gemfile
39
39
  - MIT-LICENSE
40
40
  - README.md
41
+ - activeadmin_reorderable-0.1.5.gem
41
42
  - activeadmin_reorderable.gemspec
42
43
  - app/assets/javascripts/activeadmin_reorderable.js
43
44
  - app/assets/stylesheets/activeadmin_reorderable.scss
@@ -48,6 +49,7 @@ files:
48
49
  - lib/activeadmin_reorderable.rb
49
50
  - lib/activeadmin_reorderable/engine.rb
50
51
  - lib/activeadmin_reorderable/version.rb
52
+ - package.json
51
53
  homepage: http://www.github.com/vigetlabs/activeadmin_reorderable
52
54
  licenses:
53
55
  - MIT