cert 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6259690b66a7e4c593ec0791ea5bb3c0942454e2
4
- data.tar.gz: 30cd02aade4ab49c87a0bc9d8ac2f14eb7996adc
3
+ metadata.gz: 1c142f32abd8752f4626a16f170b99bdf0012944
4
+ data.tar.gz: 3612130fd4c7162a723b87a78f5d046cd5e8af5e
5
5
  SHA512:
6
- metadata.gz: 20cb4cdb1b72596db16faca9bce5d3fa6fe0e24ade05d5a59e6efb707bdc98ac2b1ced4fd171e79f1c58b646c2082a69f275f8669ca29815a113cedd8a05b0f5
7
- data.tar.gz: 94ab37d8f4216f5591b37675eae649239b035f2f15f83a0a6f701cdf55db24631cc96c2cc0ab3dfcfda2c00bab56b9c2d45f5d9fa8f97676c8380a99a905ddc4
6
+ metadata.gz: c7b54058b74768425f68a5790cbeaf98ddfc227c8fd2371067de20c036f4d14aae8e3f0f7067bf55dcf3a912139ea47c1abf5fbd488aba395b843f590f6d7bb5
7
+ data.tar.gz: 6b0dbb04b3a864af0e47b0b2cd4301cb0f2ba54c470c4bc9e3281416c588c3be171f8c2fab4bc2bc11a34cdefd5114d5bdbfafa8fb9599457e576d081138177e
data/README.md CHANGED
@@ -104,7 +104,7 @@ In case you prefer environment variables:
104
104
 
105
105
  ## Use with [`sigh`](https://github.com/KrauseFx/sigh)
106
106
 
107
- `cert` is becomes really interesting when it's used in [`fastlane`](https://github.com/KrauseFx/fastlane) in combination with [`sigh`](https://github.com/KrauseFx/sigh).
107
+ `cert` becomes really interesting when used in [`fastlane`](https://github.com/KrauseFx/fastlane) in combination with [`sigh`](https://github.com/KrauseFx/sigh).
108
108
 
109
109
  Update your `Fastfile` to contain the following code:
110
110
 
data/bin/cert CHANGED
@@ -41,4 +41,9 @@ class CertApplication
41
41
  end
42
42
  end
43
43
 
44
- CertApplication.new.run
44
+ begin
45
+ FastlaneCore::UpdateChecker.start_looking_for_update('cert')
46
+ CertApplication.new.run
47
+ ensure
48
+ FastlaneCore::UpdateChecker.show_update_status('cert', Cert::VERSION)
49
+ end
@@ -21,6 +21,5 @@ module Cert
21
21
 
22
22
  ENV['FASTLANE_TEAM_ID'] ||= ENV["CERT_TEAM_ID"]
23
23
 
24
- FastlaneCore::UpdateChecker.verify_latest_version('cert', Cert::VERSION)
25
24
  DependencyChecker.check_dependencies
26
25
  end
@@ -118,11 +118,8 @@ module Cert
118
118
  url = [host, url].join('')
119
119
  Helper.log.info "Downloading URL: '#{url}'"
120
120
 
121
- cookieString = ""
122
- page.driver.cookies.each do |key, cookie|
123
- cookieString << "#{cookie.name}=#{cookie.value};" # append all known cookies
124
- end
125
- data = open(url, {'Cookie' => cookieString}).read
121
+ cookie_string = page.driver.cookies.collect { |key, cookie| "#{cookie.name}=#{cookie.value}" }.join(";")
122
+ data = open(url, {'Cookie' => cookie_string}).read
126
123
 
127
124
  raise "Something went wrong when downloading the certificate" unless data
128
125
 
@@ -1,3 +1,3 @@
1
1
  module Cert
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cert
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-09 00:00:00.000000000 Z
11
+ date: 2015-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '>='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.2.0
19
+ version: 0.5.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '>='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.2.0
26
+ version: 0.5.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement