euston 1.2.1-java → 1.2.2-java
Sign up to get free protection for your applications and to get access to all the features.
- data/euston.gemspec +4 -4
- data/lib/euston/aggregate_command_map.rb +3 -0
- data/lib/euston/command.rb +8 -0
- data/lib/euston/errors.rb +1 -0
- data/lib/euston/version.rb +1 -1
- metadata +16 -16
data/euston.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'euston'
|
3
|
-
s.version = '1.2.
|
4
|
-
s.date = '2011-10-
|
3
|
+
s.version = '1.2.2'
|
4
|
+
s.date = '2011-10-18'
|
5
5
|
s.platform = RUBY_PLATFORM.to_s == 'java' ? 'java' : Gem::Platform::RUBY
|
6
6
|
s.authors = ['Lee Henson', 'Guy Boertje']
|
7
7
|
s.email = ['lee.m.henson@gmail.com', 'guyboertje@gmail.com']
|
@@ -42,8 +42,8 @@ Gem::Specification.new do |s|
|
|
42
42
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
43
43
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
44
44
|
|
45
|
-
s.add_dependency 'activemodel', '
|
46
|
-
s.add_dependency 'activesupport', '
|
45
|
+
s.add_dependency 'activemodel', '>= 3.0.10'
|
46
|
+
s.add_dependency 'activesupport', '>= 3.0.10'
|
47
47
|
|
48
48
|
s.add_development_dependency 'fuubar', '~> 0.0.0'
|
49
49
|
s.add_development_dependency 'rspec', '~> 2.6.0'
|
data/lib/euston/command.rb
CHANGED
@@ -18,10 +18,18 @@ module Euston
|
|
18
18
|
@headers[:id]
|
19
19
|
end
|
20
20
|
|
21
|
+
def id= value
|
22
|
+
@headers[:id] = value
|
23
|
+
end
|
24
|
+
|
21
25
|
def read_attribute_for_validation key
|
22
26
|
@body[key]
|
23
27
|
end
|
24
28
|
|
29
|
+
def type
|
30
|
+
@headers[:type]
|
31
|
+
end
|
32
|
+
|
25
33
|
def to_hash
|
26
34
|
{ :headers => headers, :body => @body }
|
27
35
|
end
|
data/lib/euston/errors.rb
CHANGED
data/lib/euston/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: euston
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.2.
|
5
|
+
version: 1.2.2
|
6
6
|
platform: java
|
7
7
|
authors:
|
8
8
|
- Lee Henson
|
@@ -10,62 +10,62 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2011-10-
|
13
|
+
date: 2011-10-18 00:00:00.000000000 +01:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activemodel
|
18
|
-
version_requirements: &
|
18
|
+
version_requirements: &2230 !ruby/object:Gem::Requirement
|
19
19
|
requirements:
|
20
|
-
- -
|
20
|
+
- - ! '>='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.0.
|
22
|
+
version: 3.0.10
|
23
23
|
none: false
|
24
|
-
requirement: *
|
24
|
+
requirement: *2230
|
25
25
|
prerelease: false
|
26
26
|
type: :runtime
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activesupport
|
29
|
-
version_requirements: &
|
29
|
+
version_requirements: &2248 !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ! '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 3.0.
|
33
|
+
version: 3.0.10
|
34
34
|
none: false
|
35
|
-
requirement: *
|
35
|
+
requirement: *2248
|
36
36
|
prerelease: false
|
37
37
|
type: :runtime
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: fuubar
|
40
|
-
version_requirements: &
|
40
|
+
version_requirements: &2264 !ruby/object:Gem::Requirement
|
41
41
|
requirements:
|
42
42
|
- - ~>
|
43
43
|
- !ruby/object:Gem::Version
|
44
44
|
version: 0.0.0
|
45
45
|
none: false
|
46
|
-
requirement: *
|
46
|
+
requirement: *2264
|
47
47
|
prerelease: false
|
48
48
|
type: :development
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: rspec
|
51
|
-
version_requirements: &
|
51
|
+
version_requirements: &2282 !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - ~>
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: 2.6.0
|
56
56
|
none: false
|
57
|
-
requirement: *
|
57
|
+
requirement: *2282
|
58
58
|
prerelease: false
|
59
59
|
type: :development
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: uuid
|
62
|
-
version_requirements: &
|
62
|
+
version_requirements: &2298 !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
64
|
- - ~>
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 2.3.0
|
67
67
|
none: false
|
68
|
-
requirement: *
|
68
|
+
requirement: *2298
|
69
69
|
prerelease: false
|
70
70
|
type: :development
|
71
71
|
description: ''
|