assertthat-bdd 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assertthat-bdd.rb +3 -3
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90d148c2e22d1110f6c61b513c36fc64428710ab22d83dd93c1ae8c89419163e
|
4
|
+
data.tar.gz: c83dd62a77345624400751fc1ad00396c84205e76d5d2223715c4f62db2d7d02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 865042a3aa9b8c0ea0ae182711d61c60724def7c0750b69e5881dc69c0941ee1d1f557dcaefadf6bb1d8785c51b7e5577fc06eaeb777d210d5bc457af4943aca
|
7
|
+
data.tar.gz: 13e6ba610abcdddaea4b0b7449e2f1b4d038d5526a879a7296ad79a7bf96070efe4b3df32ea6c326fa77889bf1b399e57fe976badac59223e831a186d9dd9d8e
|
data/lib/assertthat-bdd.rb
CHANGED
@@ -7,7 +7,7 @@ module AssertThatBDD
|
|
7
7
|
class Features
|
8
8
|
def self.download(accessKey: ENV['ASSERTTHAT_ACCESS_KEY'], secretKey: ENV['ASSERTTHAT_ACCESS_KEY'], projectId: nil, outputFolder: './features/', proxy: nil, mode: 'automated', jql: '')
|
9
9
|
RestClient.proxy = proxy unless proxy.nil?
|
10
|
-
url = 'https://bdd.assertthat.
|
10
|
+
url = 'https://bdd.assertthat.app/rest/api/1/project/'+ projectId +'/features'
|
11
11
|
resource = RestClient::Resource.new(url, :user => accessKey, :password => secretKey, :content_type => 'application/zip')
|
12
12
|
begin
|
13
13
|
contents = resource.get(:accept => 'application/zip', params: {mode: mode, jql: jql})
|
@@ -46,7 +46,7 @@ module AssertThatBDD
|
|
46
46
|
|
47
47
|
class Report
|
48
48
|
def self.upload(accessKey: ENV['ASSERTTHAT_ACCESS_KEY'], secretKey: ENV['ASSERTTHAT_ACCESS_KEY'], projectId: nil, runName: 'Test run '+Time.now.strftime("%d %b %Y %H:%M:%S"), jsonReportFolder: './reports', jsonReportIncludePattern: '.*.json' )
|
49
|
-
url = "https://bdd.assertthat.
|
49
|
+
url = "https://bdd.assertthat.app/rest/api/1/project/" + projectId + "/report"
|
50
50
|
files = Find.find(jsonReportFolder).grep(/#{jsonReportIncludePattern}/)
|
51
51
|
puts "*** INFO: #{files.count} files found matching parretn #{jsonReportIncludePattern}:"
|
52
52
|
puts "*** INFO: #{files}"
|
@@ -89,4 +89,4 @@ module AssertThatBDD
|
|
89
89
|
end
|
90
90
|
end
|
91
91
|
end
|
92
|
-
end
|
92
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: assertthat-bdd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Glib Briia
|
@@ -34,24 +34,24 @@ dependencies:
|
|
34
34
|
name: rubyzip
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - ">="
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 1.0.0
|
40
37
|
- - "~>"
|
41
38
|
- !ruby/object:Gem::Version
|
42
39
|
version: '1.0'
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 1.0.0
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - ">="
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: 1.0.0
|
50
47
|
- - "~>"
|
51
48
|
- !ruby/object:Gem::Version
|
52
49
|
version: '1.0'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 1.0.0
|
53
53
|
description:
|
54
|
-
email: glib
|
54
|
+
email: glib@assertthat.com
|
55
55
|
executables:
|
56
56
|
- assertthat-bdd-features
|
57
57
|
- assertthat-bdd-report
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.7.
|
84
|
+
rubygems_version: 2.7.7
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AssertThat bdd integration for Ruby
|