osm 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -0
- data/README.md +1 -1
- data/lib/osm.rb +1 -1
- data/osm.gemspec +1 -1
- data/version.rb +1 -1
- metadata +8 -2
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
data/lib/osm.rb
CHANGED
@@ -25,7 +25,7 @@ module Osm
|
|
25
25
|
OSM_DATE_FORMAT_HUMAN = '%d/%m/%Y'
|
26
26
|
OSM_DATETIME_FORMAT_HUMAN = '%d/%m/%Y %H:%M:%S'
|
27
27
|
OSM_TIME_REGEX = /\A(?:[0-1][0-9]|2[0-3]):[0-5][0-9]\Z/
|
28
|
-
OSM_DATE_REGEX = /\A(
|
28
|
+
OSM_DATE_REGEX = /\A(?:[1-9]\d{3}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1]))|(?:(?:0?[1-9]|[1-2][0-9]|3[0-1])\/(?:0?[1-9]|1[0-2])\/(?:\d{2}|[1-9]\d{3}))\Z/
|
29
29
|
end
|
30
30
|
|
31
31
|
# Require file for this gem
|
data/osm.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
|
21
21
|
s.add_runtime_dependency 'activesupport', '~> 3.2' # Used to parse JSON from OSM
|
22
22
|
s.add_runtime_dependency 'httparty', '~> 0.9' # Used to make web requests to the API
|
23
|
-
s.add_runtime_dependency 'active_attr', '~> 0.6'
|
23
|
+
s.add_runtime_dependency 'active_attr', '~> 0.6', '< 0.8'
|
24
24
|
s.add_runtime_dependency 'activemodel', '~> 3.2'
|
25
25
|
s.add_runtime_dependency 'dirty_hashy', '~> 0.2.1' # Used to trach changed data in Badge::Data and FlexiRecord::Data
|
26
26
|
|
data/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: osm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-05-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -51,6 +51,9 @@ dependencies:
|
|
51
51
|
- - ~>
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: '0.6'
|
54
|
+
- - <
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0.8'
|
54
57
|
type: :runtime
|
55
58
|
prerelease: false
|
56
59
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -59,6 +62,9 @@ dependencies:
|
|
59
62
|
- - ~>
|
60
63
|
- !ruby/object:Gem::Version
|
61
64
|
version: '0.6'
|
65
|
+
- - <
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0.8'
|
62
68
|
- !ruby/object:Gem::Dependency
|
63
69
|
name: activemodel
|
64
70
|
requirement: !ruby/object:Gem::Requirement
|