activeadmin_reorderable 0.1.5 → 0.2.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.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/README.md +6 -0
- data/activeadmin_reorderable-0.1.5.gem +0 -0
- data/lib/activeadmin_reorderable/version.rb +1 -1
- data/package.json +17 -0
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 40ed33ae36cb82f27d5c1d3a63af91e6d57f384c2f3512a9fe9376ea7a36b69f
|
|
4
|
+
data.tar.gz: 7a4c1ade7db39b0c48253cf20c9e46a1f9312ca06a4bbce50c94f1765a8a9845
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8f989e1ccd43c828dcbc74c98a461b3e22a5b3bf0611133b57612dac39bf23c04b8555370f9743f822f98a9fe6af4113980fb56ac23072e3ff3c70b943b9b5c3
|
|
7
|
+
data.tar.gz: 8f492dffaf1499099ef6dfce4e3f4e133b82bb94c31b8ff66fe9e5362795ef6825cbea4a8155bd2b13439ff90346e70c740f653957460ac590e80c5ad500605f
|
data/.gitignore
CHANGED
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
|
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.
|
|
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:
|
|
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
|