cupertino 0.7.0 → 0.7.1

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.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cupertino (0.7.0)
4
+ cupertino (0.7.1)
5
5
  certified (>= 0.1.0)
6
6
  commander (~> 4.1.2)
7
7
  mechanize (~> 2.5.1)
Binary file
@@ -270,7 +270,7 @@ module Cupertino
270
270
  pass_certificates = []
271
271
  page.parser.xpath('//form[@name="form_logginMemberCert"]/table/tr[position()>1]').each do |row|
272
272
  pass_certificate = PassCertificate.new
273
- pass_certificate.name = row.at_xpath('td[1]').inner_text.strip.gsub(/^\p{Space}+|\p{Space}+$/, '') rescue nil
273
+ pass_certificate.name = row.at_xpath('td[1]').inner_text.strip rescue nil
274
274
  pass_certificate.status = row.at_xpath('td[2]/span/text()').to_s.strip rescue nil
275
275
  pass_certificate.expiration_date = row.at_xpath('td[3]/text()').to_s.strip rescue nil
276
276
  pass_certificate.certificate_id = row.at_xpath('td[4]//a[@id="form_logginMemberCert_"]')['href'].to_s.strip.match(/certDisplayId=(.+?)$/)[1] rescue nil
data/lib/cupertino.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Cupertino
2
- VERSION = '0.7.0'
2
+ VERSION = '0.7.1'
3
3
  HOSTNAME = "developer.apple.com"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cupertino
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -162,6 +162,7 @@ executables:
162
162
  extensions: []
163
163
  extra_rdoc_files: []
164
164
  files:
165
+ - ./cupertino-0.7.0.gem
165
166
  - ./cupertino.gemspec
166
167
  - ./Gemfile
167
168
  - ./Gemfile.lock
@@ -195,7 +196,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
195
196
  version: '0'
196
197
  segments:
197
198
  - 0
198
- hash: 2354490475708821008
199
+ hash: 4171081425387838220
199
200
  required_rubygems_version: !ruby/object:Gem::Requirement
200
201
  none: false
201
202
  requirements:
@@ -204,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
204
205
  version: '0'
205
206
  segments:
206
207
  - 0
207
- hash: 2354490475708821008
208
+ hash: 4171081425387838220
208
209
  requirements: []
209
210
  rubyforge_project:
210
211
  rubygems_version: 1.8.24