clear-election-sdk 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9f7ae5f65a76e6af6f6be8c8cc86fb7bd506d309
4
- data.tar.gz: 3a7bf5ab2eb535819a4b734cec6b660664cc9e6b
3
+ metadata.gz: 4c2f64455ee4387de1eb977fc25515c9b2dbb7a7
4
+ data.tar.gz: c00208f338e024f01314fafeaf78a05235e1b51b
5
5
  SHA512:
6
- metadata.gz: 93536a99c4d22e7969b0b0f9a9623e38ccd87b78a14e2ebab6d79313b21c753e845c38dd6e90f679c3d58e587c7595cadfb9aeb0b3b7fefdcd3e707fc46acb4b
7
- data.tar.gz: 9320bacb18a27ecf46d2d5d2a83b1fa8e34a3014a92065231040e230c632a2be6473b7ab9d45feac0ceb56c732ad9f94663dbe7aba4b882392c3bd7ce8fa7510
6
+ metadata.gz: ce8dd25dc21cd37f839deff1a143f0ad554fa704085909f480ed456992e5212d967a1211a863e7a8a05dce13b2244012664c867d49313df97e63b8175252edc2
7
+ data.tar.gz: d58995616559a3434fd00af7152f850cab8363f21858e3e8734c9f5b7dc7a04bce5e4bb23c572b1e97bfb5e6b6ad5b19de2a8e8956a6032837e9ae345d33c121
@@ -45,7 +45,7 @@ module ClearElection
45
45
 
46
46
  def as_json()
47
47
  data = {
48
- "version" => "0.0",
48
+ "clearelection-ballot" => "v0.0",
49
49
  "ballotId" => @ballotId,
50
50
  "uniquifier" => @uniquifier,
51
51
  "contests" => @contests.map(&:as_json),
@@ -39,7 +39,7 @@ module ClearElection
39
39
 
40
40
  def as_json()
41
41
  data = {
42
- "clearelection" => "0.0",
42
+ "clearelection" => "v0.0",
43
43
  "name" => @name,
44
44
  "agents" => {
45
45
  "signin" => @signin.as_json,
@@ -1,3 +1,4 @@
1
+ require_relative '../clear-election-sdk'
1
2
  module ClearElection
2
3
  module Factory
3
4
  def self.seq(key)
@@ -21,7 +21,7 @@ module ClearElection
21
21
  end
22
22
 
23
23
  def api(agent, version:)
24
- _get(group: "api", item: agent, version:version, expand: true)
24
+ _get(group: "api", item: agent, version: version, expand: true)
25
25
  end
26
26
 
27
27
  def expand_refs!(json)
@@ -1,3 +1,3 @@
1
1
  module ClearElection
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -4,7 +4,7 @@
4
4
  "description": "ClearElection Ballot definition, v0.0",
5
5
  "type": "object",
6
6
  "properties": {
7
- "version": { "enum": ["0.0"] },
7
+ "clearelection-ballot": { "enum": ["v0.0"] },
8
8
  "ballotId": { "type": "string" },
9
9
  "uniquifier": { "type": "string" },
10
10
  "contests": {
@@ -29,5 +29,5 @@
29
29
  },
30
30
  "demographic": { "type": "object" }
31
31
  },
32
- "required": ["version", "ballotId", "uniquifier", "contests"]
32
+ "required": ["clearelection-ballot", "ballotId", "uniquifier", "contests"]
33
33
  }
@@ -4,7 +4,7 @@
4
4
  "description": "ClearElection Election definition, v0.0",
5
5
  "type": "object",
6
6
  "properties": {
7
- "clearelection": { "enum": ["0.0"] },
7
+ "clearelection": { "enum": ["v0.0"] },
8
8
  "name": { "type": "string" },
9
9
  "agents": {
10
10
  "type": "object",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clear-election-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ronen barzel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-24 00:00:00.000000000 Z
11
+ date: 2014-12-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday