admin_data 1.1.7 → 1.1.8
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/README.md +6 -8
- data/lib/admin_data/deprecation.rb +3 -2
- data/lib/admin_data/version.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
# admin_data #
|
|
1
|
+
# admin_data works with both Rails 2.3.x and Rails 3. #
|
|
2
|
+
# [Documentation](http://github.com/neerajdotname/admin_data/wiki) #
|
|
2
3
|
|
|
3
|
-
#
|
|
4
|
-
|
|
5
|
-
* [Installing in Rails 2.3.x project](https://github.com/neerajdotname/admin_data/wiki/Installing-admin_data-in-a-Rails-2.3.x-project)
|
|
4
|
+
# [Installing in a Rails3 application](https://github.com/neerajdotname/admin_data/wiki/Installation-and-Usage-information-for-a-Rails-3-application) #
|
|
5
|
+
# [Installing in a Rails 2.3.x application](https://github.com/neerajdotname/admin_data/wiki/Installation-and-Usage-information-for-a-Rails-2.3.x-application) #
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
# [Live Demo](http://admin-data-test.heroku.com/admin_data) #
|
|
8
8
|
|
|
9
|
-
## [Documentation](http://github.com/neerajdotname/admin_data/wiki)
|
|
10
9
|
|
|
11
|
-
## Source Code ##
|
|
12
10
|
* admin_data works as a gem with Rails 3.x project. Source for that resides in master branch.
|
|
13
11
|
* admin_data works as a plugin with Rails 2.3.x project. Source code for that resides in branch called [rails2](https://github.com/neerajdotname/admin_data/tree/rails2) .
|
|
14
12
|
|
|
@@ -17,6 +15,6 @@
|
|
|
17
15
|
cd _test/rails_app_ and read the instructions mentioned at README.md there.
|
|
18
16
|
|
|
19
17
|
|
|
20
|
-
### License
|
|
18
|
+
### License ###
|
|
21
19
|
|
|
22
20
|
Dual licensed under the [MIT](http://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt) and [GPL version 2](http://github.com/jquery/jquery/blob/master/GPL-LICENSE.txt) licenses.
|
|
@@ -5,6 +5,7 @@ class AdminData::Config
|
|
|
5
5
|
def self.set=(input = {})
|
|
6
6
|
|
|
7
7
|
msg=<<EOF
|
|
8
|
+
|
|
8
9
|
AdminData API has changed in version 1.1 .
|
|
9
10
|
|
|
10
11
|
The changes are very minor.
|
|
@@ -15,11 +16,11 @@ AdminData::Config.set = {
|
|
|
15
16
|
:find_conditions => ....
|
|
16
17
|
}
|
|
17
18
|
|
|
18
|
-
Now you need to
|
|
19
|
+
Now you need to write in following style
|
|
19
20
|
|
|
20
21
|
AdminData.config do |config|
|
|
21
22
|
config.find_conditions = ...
|
|
22
|
-
|
|
23
|
+
end
|
|
23
24
|
|
|
24
25
|
Please refer to documentation at https://github.com/neerajdotname/admin_data/wiki/Customizing-admin_data-for-a-Rails-3-application for more information.
|
|
25
26
|
|
data/lib/admin_data/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: admin_data
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 3
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 1.1.
|
|
9
|
+
- 8
|
|
10
|
+
version: 1.1.8
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Neeraj Singh
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-12-
|
|
18
|
+
date: 2010-12-11 00:00:00 -05:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|