cucumber-blendle-steps 0.8.6 → 0.8.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/.wercker.yml +5 -0
- data/lib/cucumber/blendle/steps/model_steps.rb +1 -1
- data/lib/cucumber/blendle/support/dump.rb +5 -2
- data/lib/cucumber/blendle/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a5df188ec54b3fb2b1966c8930f27da5c2a7008
|
4
|
+
data.tar.gz: deaed83e27250f07bb1507c9d2e0bf30039bfa0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1eb97cdd923953e268a1e2ba0fa96486f72b8ed126b9e7db5a5f9d301e8d20049d8d533d1db8d5dfcbc8abc5f612bb89a4dbb444c5e5ab5a0661906f77d4bda
|
7
|
+
data.tar.gz: 2d6707144af74df897874ed842f08ff735da13e60a31445f584a5056f967ab553a50f5fd08f20060172ba34dbccafa092323a6072469614879b689b36e60c364
|
data/.gitignore
CHANGED
data/.wercker.yml
CHANGED
@@ -119,7 +119,7 @@ def parse_row(row, object_name)
|
|
119
119
|
Timecop.return { Chronic.parse(value) || DateTime.parse(value) }
|
120
120
|
when :boolean
|
121
121
|
value.to_s.casecmp('true').zero?
|
122
|
-
when :string_array, :varchar_array, :bigint_array
|
122
|
+
when :string_array, :varchar_array, :bigint_array, :integer_array
|
123
123
|
Sequel.pg_array(eval(value))
|
124
124
|
when :jsonb
|
125
125
|
Sequel.pg_jsonb(eval(value))
|
@@ -43,13 +43,16 @@ def prettify_hash(hash)
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
|
+
order_hal_json_keys(hash).sort.to_h
|
47
|
+
end
|
48
|
+
|
49
|
+
def order_hal_json_keys(hash)
|
46
50
|
hash = unshift_hash_key('_embedded', hash)
|
47
51
|
hash = unshift_hash_key('_links', hash)
|
48
52
|
hash['_links'] = unshift_hash_key('health', hash['_links']) if hash['_links']
|
49
53
|
hash['_links'] = unshift_hash_key('api', hash['_links']) if hash['_links']
|
50
54
|
hash['_links'] = unshift_hash_key('self', hash['_links']) if hash['_links']
|
51
|
-
|
52
|
-
hash.sort.to_h
|
55
|
+
hash
|
53
56
|
end
|
54
57
|
|
55
58
|
def unshift_hash_key(key, hash)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-blendle-steps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean Mertz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -355,7 +355,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
355
355
|
version: '0'
|
356
356
|
requirements: []
|
357
357
|
rubyforge_project:
|
358
|
-
rubygems_version: 2.
|
358
|
+
rubygems_version: 2.6.4
|
359
359
|
signing_key:
|
360
360
|
specification_version: 4
|
361
361
|
summary: Cucumber steps used by all of Blendle Ruby projects
|