CFPropertyList-rails 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +25 -1
- data/lib/CFPropertyList-rails/version.rb +1 -1
- metadata +23 -16
- data/.gitignore +0 -4
- data/CFPropertyList-rails.gemspec +0 -22
- data/Gemfile +0 -4
data/README.md
CHANGED
@@ -32,11 +32,35 @@ respond_to do |format|
|
|
32
32
|
end
|
33
33
|
```
|
34
34
|
|
35
|
+
There is an additional option you can use to skip the serialization done by the gem.
|
36
|
+
This is useful in situations when a custom serialization was applied before:
|
37
|
+
|
38
|
+
``` ruby
|
39
|
+
respond_to do |format|
|
40
|
+
posts = posts.as_json(:include => :comments)
|
41
|
+
format.plist { render :plist => posts, :skip_serialization => true }
|
42
|
+
end
|
43
|
+
```
|
44
|
+
|
45
|
+
|
46
|
+
Changelog
|
47
|
+
---------
|
48
|
+
|
49
|
+
* **1.0.1** - 14.12.2012
|
50
|
+
* update dependency to CFPropertyList ~> 2.2.0
|
51
|
+
|
52
|
+
* **1.0.0** - 08.02.2012
|
53
|
+
* add skip\_serialization option
|
54
|
+
* remove old monkey path since CFPropertyList has fixes included since 2.0.17
|
55
|
+
|
56
|
+
* **0.0.1** - 12.05.2011
|
57
|
+
* initial release
|
58
|
+
|
35
59
|
|
36
60
|
License
|
37
61
|
-------
|
38
62
|
|
39
|
-
Copyright (c) 2011 Matthias Schmidt, [http://m-schmidt.eu/](http://m-schmidt.eu/)
|
63
|
+
Copyright (c) 2011-2012 Matthias Schmidt, [http://m-schmidt.eu/](http://m-schmidt.eu/)
|
40
64
|
|
41
65
|
CFPropertyList-rails is released under the MIT License
|
42
66
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: CFPropertyList-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,22 +9,27 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-12-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: CFPropertyList
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 2.0
|
21
|
+
version: 2.2.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 2.2.0
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: railties
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ~>
|
@@ -32,7 +37,12 @@ dependencies:
|
|
32
37
|
version: '3.0'
|
33
38
|
type: :runtime
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '3.0'
|
36
46
|
description: Binary Plist (CFPropertyList) renderer for rails3 apps.
|
37
47
|
email:
|
38
48
|
- mail@m-schmidt.eu
|
@@ -40,15 +50,12 @@ executables: []
|
|
40
50
|
extensions: []
|
41
51
|
extra_rdoc_files: []
|
42
52
|
files:
|
43
|
-
- .gitignore
|
44
|
-
- CFPropertyList-rails.gemspec
|
45
|
-
- Gemfile
|
46
|
-
- LICENSE
|
47
|
-
- README.md
|
48
|
-
- Rakefile
|
49
|
-
- lib/CFPropertyList-rails.rb
|
50
53
|
- lib/CFPropertyList-rails/railtie.rb
|
51
54
|
- lib/CFPropertyList-rails/version.rb
|
55
|
+
- lib/CFPropertyList-rails.rb
|
56
|
+
- LICENSE
|
57
|
+
- Rakefile
|
58
|
+
- README.md
|
52
59
|
homepage: https://github.com/MSchmidt/CFPropertyList-rails
|
53
60
|
licenses: []
|
54
61
|
post_install_message:
|
@@ -69,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
76
|
version: '0'
|
70
77
|
requirements: []
|
71
78
|
rubyforge_project:
|
72
|
-
rubygems_version: 1.8.
|
79
|
+
rubygems_version: 1.8.23
|
73
80
|
signing_key:
|
74
81
|
specification_version: 3
|
75
82
|
summary: CFPropertyList for rails3
|
data/.gitignore
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
$:.push File.expand_path("../lib", __FILE__)
|
3
|
-
require "CFPropertyList-rails/version"
|
4
|
-
|
5
|
-
Gem::Specification.new do |s|
|
6
|
-
s.name = "CFPropertyList-rails"
|
7
|
-
s.version = CFPropertyList::Rails::VERSION
|
8
|
-
s.platform = Gem::Platform::RUBY
|
9
|
-
s.authors = ["Matthias Schmidt"]
|
10
|
-
s.email = ["mail@m-schmidt.eu"]
|
11
|
-
s.homepage = "https://github.com/MSchmidt/CFPropertyList-rails"
|
12
|
-
s.summary = %q{CFPropertyList for rails3}
|
13
|
-
s.description = %q{Binary Plist (CFPropertyList) renderer for rails3 apps.}
|
14
|
-
|
15
|
-
s.files = `git ls-files`.split("\n")
|
16
|
-
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
17
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
18
|
-
s.require_paths = ["lib"]
|
19
|
-
|
20
|
-
s.add_runtime_dependency(%q<CFPropertyList>, ["= 2.0.17"])
|
21
|
-
s.add_runtime_dependency(%q<railties>, ["~> 3.0"])
|
22
|
-
end
|
data/Gemfile
DELETED