active_leonardo 0.0.7 → 0.1.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.
- data/CHANGELOG +8 -0
- data/lib/generators/leolay/leolay_generator.rb +1 -1
- metadata +4 -4
data/CHANGELOG
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
0.1.0 (February 18th, 2013) Marco Mastrodonato
|
|
2
|
+
* Added alias batch_action to ability so who can update can also use batch action. Still You will need to authorize every action.
|
|
3
|
+
|
|
4
|
+
0.0.7 (January 16th, 2013) Marco Mastrodonato
|
|
5
|
+
* Added devise locale yaml
|
|
6
|
+
* Added roles? method to authentication model (user)
|
|
7
|
+
* Fixed custom active admin sass
|
|
8
|
+
|
|
1
9
|
0.0.6 (September 26th, 2012) Marco Mastrodonato
|
|
2
10
|
* Configuration parameters moved into a yaml file (config.yml)
|
|
3
11
|
* Template updated
|
|
@@ -210,7 +210,7 @@ class LeolayGenerator < Rails::Generators::Base
|
|
|
210
210
|
<<-FILE.gsub(/^ /, '')
|
|
211
211
|
#{options[:auth_class].downcase} ||= #{auth_class}.new
|
|
212
212
|
can :manage, :all if #{options[:auth_class].downcase}.role? :admin
|
|
213
|
-
|
|
213
|
+
alias_action :batch_action, :to => :update
|
|
214
214
|
FILE
|
|
215
215
|
end
|
|
216
216
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_leonardo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 27
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
|
+
- 1
|
|
8
9
|
- 0
|
|
9
|
-
|
|
10
|
-
version: 0.0.7
|
|
10
|
+
version: 0.1.0
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Marco Mastrodonato
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2013-
|
|
18
|
+
date: 2013-02-18 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: rails
|