motion-yaml 1.5.2 → 1.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/YAMLKit/YKParser.h +1 -0
- data/lib/YAMLKit/libYAMLKit_OSX.a +0 -0
- data/lib/YAMLKit/libYAMLKit_iOS.a +0 -0
- data/lib/project/scanner.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6512e321835f64058360482c8fc3cf272886b780
|
4
|
+
data.tar.gz: becd3da3d0c357b20c3c7d00c4fd3285a9263571
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 632e8eac99f16e3239dd597aa8dafa327cb3fcf0921a7b3a43ce4a82a64eaccc38145c65a86c1a0b477faf067cb9713efb1f8ea74aa583f664ac238ac96e0a3c
|
7
|
+
data.tar.gz: 0470d3817872eb3343af8696c2454e0d828e1660471eec30b709930c5dc0e2ac2f1a10b28a44637ea9e64d1732c8f56d824ef22e587d0cb7a888a5bcb4d538cb
|
data/lib/YAMLKit/YKParser.h
CHANGED
Binary file
|
Binary file
|
data/lib/project/scanner.rb
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
# POSSIBILITY OF SUCH DAMAGE.
|
24
24
|
|
25
25
|
# Special thanks to https://github.com/tenderlove/psych
|
26
|
-
class
|
26
|
+
class YKParser
|
27
27
|
# http://yaml.org/type/timestamp.html
|
28
28
|
TIME = /^-?\d{4}-\d{1,2}-\d{1,2}(?:[Tt]|\s+)\d{1,2}:\d\d:\d\d(?:\.\d*)?(?:\s*(?:Z|[-+]\d{1,2}:?(?:\d\d)?))?$/
|
29
29
|
|
@@ -41,7 +41,7 @@ class YAMLKitScanner
|
|
41
41
|
|
42
42
|
# Tokenize string returning the Ruby object
|
43
43
|
# NOTE: This method will be called from Objective-C.
|
44
|
-
def
|
44
|
+
def tokenize(string)
|
45
45
|
case string
|
46
46
|
when /^\+?\.inf$/i
|
47
47
|
Float::INFINITY
|
@@ -84,7 +84,7 @@ class YAMLKitScanner
|
|
84
84
|
end
|
85
85
|
end
|
86
86
|
|
87
|
-
def
|
87
|
+
def parse_time(string)
|
88
88
|
date, time = *(string.split(/[ tT]/, 2))
|
89
89
|
(yy, m, dd) = date.match(/^(-?\d{4})-(\d{1,2})-(\d{1,2})/).captures.map { |x| x.to_i }
|
90
90
|
md = time.match(/(\d+:\d+:\d+)(?:\.(\d*))?\s*(Z|[-+]\d+(:\d\d)?)?/)
|
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: 1.5.
|
4
|
+
version: 1.5.3
|
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: 2015-07-
|
12
|
+
date: 2015-07-15 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.
|