activeadmin_reorderable 0.0.3 → 0.1.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
  SHA1:
3
- metadata.gz: 6e1b06bb4d4ec9e8eeb296b613a304ff87790dba
4
- data.tar.gz: b93a929f26109c317e22ba0707df0b6ef8dd5168
3
+ metadata.gz: 3ba2baf266f9017eb5aa9b28092cbad248c30296
4
+ data.tar.gz: aac13b30bd7e9ceac019916a2dca6b83493f1783
5
5
  SHA512:
6
- metadata.gz: 7ee592f128bdfb5cf1e479258a2f7bd71f1e515e6db2e0a77e8f8f2d3069725de48d7f2441e0a1e9060c2c08109a98ce871da9c685dac86d6bcf6da75a2dcc5a
7
- data.tar.gz: a5423d52c83206e20cb9c127345258f945f5ac5ac0447b59c281686f8f56b28b7f74ec5a80ea184e6ea0f99f1845cc6e27b47c888ad3629ad56a76bc4224b7dc
6
+ metadata.gz: bc599627c63e489cc162f5e527e50fa209c0df5ce15af88c6c48c4f14e17cd83a126ec6c5bd37afca078ba137510f8d507e15a8f0ba879932ed65127df8b15bd
7
+ data.tar.gz: 2b417e98afaaf8e867c17a6a4f06010020590470d76333c77e24a9b668127e122d5ba7e16e0efb97c3c73ff954d809a4690a5564b11fafd7ee0c3a06dbbc2485
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0
4
+
5
+ - Replace deprecated `render :nothing` with `head :ok` (thanks @zharikovpro)
6
+
3
7
  ## 0.0.3
4
8
 
5
9
  - Removed a console.log within the reordering JavaScript.
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,27 @@
1
+ # Contributing
2
+
3
+ Thank you for considering a contribution to this project!
4
+
5
+ ## Deployment
6
+
7
+ `activeadmin_reorderable` is published on http://rubygems.org. The
8
+ following steps are necessary to push a new version:
9
+
10
+ ### Build the gem
11
+
12
+ `gem build activeadmin_reorderable.gemspec`
13
+
14
+ This will produce an artifact named roughly
15
+ `activeadmin_reorderable-<version>.gem`.
16
+
17
+ ### Publish the gem
18
+
19
+ `gem push activeadmin_reorderable-<version>.gem`
20
+
21
+ You may bump into permissions issues if you have not been added as an
22
+ owner on the gem. Consult the Viget development team for acess.
23
+
24
+ ## Reviews
25
+
26
+ All changes should be submitted through pull request. Ideally, at
27
+ least two :+1:s should be given before a pull request is merge.
@@ -6,7 +6,7 @@ module ActiveAdmin
6
6
  def reorderable(&block)
7
7
  body = proc do
8
8
  resource.insert_at(params[:position].to_i)
9
- render :nothing => true
9
+ head :ok
10
10
  end
11
11
 
12
12
  member_action(:reorder, :method => :post, &block || body)
@@ -1,3 +1,3 @@
1
1
  module ActiveadminReorderable
2
- VERSION = "0.0.3"
2
+ VERSION = "0.1.0"
3
3
  end
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.0.3
4
+ version: 0.1.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: 2016-07-01 00:00:00.000000000 Z
12
+ date: 2017-10-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activeadmin
@@ -34,6 +34,7 @@ extra_rdoc_files: []
34
34
  files:
35
35
  - ".gitignore"
36
36
  - CHANGELOG.md
37
+ - CONTRIBUTING.md
37
38
  - Gemfile
38
39
  - MIT-LICENSE
39
40
  - README.md
@@ -67,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
68
  version: '0'
68
69
  requirements: []
69
70
  rubyforge_project:
70
- rubygems_version: 2.2.2
71
+ rubygems_version: 2.4.5.1
71
72
  signing_key:
72
73
  specification_version: 4
73
74
  summary: Drag and drop reordering for ActiveAdmin tables