motion-yaml 1.2 → 1.2.1
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.
- checksums.yaml +4 -4
- data/README.md +14 -6
- data/lib/YAMLKit/libYAMLKit_OSX.a +0 -0
- data/lib/YAMLKit/libYAMLKit_iOS.a +0 -0
- data/lib/project/yaml.rb +1 -0
- metadata +11 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4f00677248fb0cdcc9af3a84b734703247b16bf
|
4
|
+
data.tar.gz: 60be3b4a8c0024009c5483b92ea1a6c60ab81301
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c5e4d00bb4a3473c53c01e76a1053b5f84cc04b6b2f67a8f7b29f0603fc066183accc7e5c24a9c4371dccf6547d5f44e23a8064d87a5f804e92ad43a630230e
|
7
|
+
data.tar.gz: a343a6f4ed15e3df1e461c05403a1656064927a0e70f832dbfaa0a51e801217ff7a98756174d413a60e4d95b90e82bf225f4c8184ee2fdf9d17a5ed571970bf6
|
data/README.md
CHANGED
@@ -8,7 +8,7 @@ motion-yaml provides methods to access "YAML Ain't Markup Language" for RubyMoti
|
|
8
8
|
|
9
9
|
## Installation
|
10
10
|
|
11
|
-
```
|
11
|
+
```bash
|
12
12
|
$ sudo gem install motion-yaml
|
13
13
|
```
|
14
14
|
|
@@ -16,8 +16,10 @@ $ sudo gem install motion-yaml
|
|
16
16
|
|
17
17
|
1. Edit the `Rakefile` of your RubyMotion project and add the following require lines.
|
18
18
|
|
19
|
-
|
20
|
-
|
19
|
+
```ruby
|
20
|
+
require 'rubygems'
|
21
|
+
require 'motion-yaml'
|
22
|
+
```
|
21
23
|
|
22
24
|
## Methods
|
23
25
|
|
@@ -25,19 +27,25 @@ $ sudo gem install motion-yaml
|
|
25
27
|
|
26
28
|
- Converts _obj_ to YAML.
|
27
29
|
|
28
|
-
|
30
|
+
```ruby
|
31
|
+
YAML.dump([{ 'a' => 'b' }, 'foo']) #=> "- a: b\n- foo\n"
|
32
|
+
```
|
29
33
|
|
30
34
|
### YAML.load(string)
|
31
35
|
|
32
36
|
- Loads YAML from a _string_.
|
33
37
|
|
34
|
-
|
38
|
+
```ruby
|
39
|
+
YAML.load("- a: b\n- foo\n") #=> [{"a"=>"b"}, "foo"]
|
40
|
+
```
|
35
41
|
|
36
42
|
### NSObject#to_yaml
|
37
43
|
|
38
44
|
- Converts _self_ to YAML.
|
39
45
|
|
40
|
-
|
46
|
+
```ruby
|
47
|
+
[{ 'a' => 'b' }, 'foo'].to_yaml #=> "- a: b\n- foo\n"
|
48
|
+
```
|
41
49
|
|
42
50
|
## Special thanks
|
43
51
|
|
Binary file
|
Binary file
|
data/lib/project/yaml.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motion-yaml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Laurent Sansonetti
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-08-10 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: motion-yaml provides methods to access "YAML Ain't Markup Language" for
|
15
15
|
RubyMotion projects.
|
@@ -21,17 +21,18 @@ extensions: []
|
|
21
21
|
extra_rdoc_files: []
|
22
22
|
files:
|
23
23
|
- README.md
|
24
|
-
- lib/motion-yaml.rb
|
25
|
-
- lib/project/yaml.rb
|
26
|
-
- lib/YAMLKit/libYAMLKit_iOS.a
|
27
|
-
- lib/YAMLKit/libYAMLKit_OSX.a
|
28
24
|
- lib/YAMLKit/YAMLKit.h
|
29
25
|
- lib/YAMLKit/YAMLKit_Prefix.pch
|
30
26
|
- lib/YAMLKit/YKConstants.h
|
31
27
|
- lib/YAMLKit/YKEmitter.h
|
32
28
|
- lib/YAMLKit/YKParser.h
|
29
|
+
- lib/YAMLKit/libYAMLKit_OSX.a
|
30
|
+
- lib/YAMLKit/libYAMLKit_iOS.a
|
31
|
+
- lib/motion-yaml.rb
|
32
|
+
- lib/project/yaml.rb
|
33
33
|
homepage: https://github.com/HipByte/motion-yaml
|
34
|
-
licenses:
|
34
|
+
licenses:
|
35
|
+
- MIT
|
35
36
|
metadata: {}
|
36
37
|
post_install_message:
|
37
38
|
rdoc_options: []
|
@@ -39,17 +40,17 @@ require_paths:
|
|
39
40
|
- lib
|
40
41
|
required_ruby_version: !ruby/object:Gem::Requirement
|
41
42
|
requirements:
|
42
|
-
- -
|
43
|
+
- - ">="
|
43
44
|
- !ruby/object:Gem::Version
|
44
45
|
version: '0'
|
45
46
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
46
47
|
requirements:
|
47
|
-
- -
|
48
|
+
- - ">="
|
48
49
|
- !ruby/object:Gem::Version
|
49
50
|
version: '0'
|
50
51
|
requirements: []
|
51
52
|
rubyforge_project:
|
52
|
-
rubygems_version: 2.
|
53
|
+
rubygems_version: 2.3.0
|
53
54
|
signing_key:
|
54
55
|
specification_version: 4
|
55
56
|
summary: motion-yaml provides methods to access "YAML Ain't Markup Language" for RubyMotion
|