active_scaffold_duplicate 1.0.3 → 1.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: e4c83e3e8df52f374b82158bf8d27afe2517b7b4
4
- data.tar.gz: 275b7ee042053a1f5932de8648b155bc703e4fba
3
+ metadata.gz: 3f33c6b409aa8365fbc82a06378a771e1da749f1
4
+ data.tar.gz: 4ae381fa4b637f5618789a9467971b63f0984fd8
5
5
  SHA512:
6
- metadata.gz: 599ef982c477f94cec9391e4e7bd6935cf5618a68a844f92ca179c73c2351fac169f53fad74366ee67a3b1583e2dcf025392c3dfd6ba27aa1dd1cb9a8a405b5c
7
- data.tar.gz: 1f428230fbb35f186741bb286d550c16a1a9ab95fc3f4904495efdbf3b0ed35bcab5e55d395acc51367f5a5a1701d1579fee63f8bea0248b5cc669ad8177c626
6
+ metadata.gz: c2fefc0ed8bd0f20f479c52d8ab209bd1767d7f2c7a33d5932572d02e93c119a4fbf3c835704ae9750d0895b1a2714d2a8e17654056f785cefe8619afeb8c308
7
+ data.tar.gz: e45224ee2985b51b65e803322ccc747d6578118ed3fdd809154aaef194da1eb98b1d13e16536aca76d057a0fe688dbdd056a16d61535f177bf4637f3abc76ddf
data/README.textile CHANGED
@@ -1,6 +1,7 @@
1
- h1. Drag-Drop Sortable for ActiveScaffold
1
+ h1. Duplicate Action for ActiveScaffold
2
2
 
3
- Currently, this gem is compatible with rails 3.x and ActiveScaffold 3.3.x gems.
3
+ Currently, this gem is compatible with ActiveScaffold >= 3.3.x gems and rails >= 4.0.
4
+ Use 1.0.x for rails >= 3.x versions.
4
5
 
5
6
  h2. Overview
6
7
 
@@ -90,7 +91,7 @@ It's possible to define some methods to add some custom code which require acces
90
91
 
91
92
  h2. Support
92
93
 
93
- If you have issues installing the gem, search / post to the "Active Scaffold":http://groups.google.com/group/activescaffold forum or "Create an issue":http://github.com/activescaffold/active_scaffold_clone/issues
94
+ If you have issues installing the gem, search / post to the "Active Scaffold":http://groups.google.com/group/activescaffold forum or "Create an issue":http://github.com/activescaffold/active_scaffold_duplicate/issues
94
95
 
95
96
  h2. Contributing
96
97
 
@@ -1,7 +1,7 @@
1
1
  module ActiveScaffold::Actions
2
2
  module Duplicate
3
3
  def self.included(base)
4
- base.before_filter :duplicate_authorized_filter, :only => :duplicate
4
+ base.before_action :duplicate_authorized_filter, :only => :duplicate
5
5
  end
6
6
 
7
7
  def duplicate
@@ -1,8 +1,8 @@
1
1
  module ActiveScaffoldDuplicate
2
2
  module Version
3
3
  MAJOR = 1
4
- MINOR = 0
5
- PATCH = 3
4
+ MINOR = 1
5
+ PATCH = 0
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,29 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_scaffold_duplicate
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Cambra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-31 00:00:00.000000000 Z
11
+ date: 2017-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_scaffold
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 3.3.0.rc
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 3.3.0.rc
27
+ - !ruby/object:Gem::Dependency
28
+ name: rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '4.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '4.0'
27
41
  description: Clone records using a method from model in ActiveScaffold
28
42
  email: activescaffold@googlegroups.com
29
43
  executables: []
@@ -63,17 +77,17 @@ require_paths:
63
77
  - lib
64
78
  required_ruby_version: !ruby/object:Gem::Requirement
65
79
  requirements:
66
- - - '>='
80
+ - - ">="
67
81
  - !ruby/object:Gem::Version
68
82
  version: '0'
69
83
  required_rubygems_version: !ruby/object:Gem::Requirement
70
84
  requirements:
71
- - - '>='
85
+ - - ">="
72
86
  - !ruby/object:Gem::Version
73
87
  version: '0'
74
88
  requirements: []
75
89
  rubyforge_project:
76
- rubygems_version: 2.4.5
90
+ rubygems_version: 2.6.10
77
91
  signing_key:
78
92
  specification_version: 4
79
93
  summary: Clone record gem for Activescaffold