admin_assistant 2.2.2 → 2.2.3
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/VERSION +1 -1
- data/admin_assistant.gemspec +2 -2
- data/config/routes.rb +3 -1
- metadata +4 -4
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.2.
|
|
1
|
+
2.2.3
|
data/admin_assistant.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{admin_assistant}
|
|
8
|
-
s.version = "2.2.
|
|
8
|
+
s.version = "2.2.3"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Francis Hwang"]
|
|
12
|
-
s.date = %q{2011-11-
|
|
12
|
+
s.date = %q{2011-11-09}
|
|
13
13
|
s.description = %q{admin_assistant is a Rails plugin that automates a lot of features typically needed in admin interfaces.}
|
|
14
14
|
s.email = %q{sera@fhwang.net}
|
|
15
15
|
s.extra_rdoc_files = [
|
data/config/routes.rb
CHANGED
|
@@ -4,7 +4,9 @@ unless Rails.configuration.cache_classes
|
|
|
4
4
|
controllers_path = "#{Rails.root}/app/controllers"
|
|
5
5
|
AdminAssistant.all_files_under(controllers_path).each do |path|
|
|
6
6
|
if path =~ /\.rb$/
|
|
7
|
-
|
|
7
|
+
if File.readlines(path).any? { |line| line =~ /admin_assistant_for/ }
|
|
8
|
+
require path
|
|
9
|
+
end
|
|
8
10
|
end
|
|
9
11
|
end
|
|
10
12
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: admin_assistant
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 1
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 2
|
|
8
8
|
- 2
|
|
9
|
-
-
|
|
10
|
-
version: 2.2.
|
|
9
|
+
- 3
|
|
10
|
+
version: 2.2.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Francis Hwang
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-11-
|
|
18
|
+
date: 2011-11-09 00:00:00 -05:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|