ohloh_scm 2.2.7 → 2.2.8

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: e7ef7eb19da18d514eea11e05d2093588a90aea5
4
- data.tar.gz: 240111d3afbd8af81800b95e516d11cee23e73b5
3
+ metadata.gz: a29ba7bd9fe641bb6d7d4c60eba96e2a8aaa4ffd
4
+ data.tar.gz: 9ea7f7edc6bdceb46003e6ca2a6b3e9a458bb8d0
5
5
  SHA512:
6
- metadata.gz: d1bedf10f618ce3b5db0dd3e878c0f78f6b60e8b471596fc70b2586459c4c5fd55d6600dfe695c38e7973702d8deb82af6338792318614001d979f602bf82f0f
7
- data.tar.gz: a36f917a95e08adebcdd87cd790cfbf7d0e8c6ea037aaddaf33ba6990566f8a543998ff3cff3f4f0ca323de5bc0ad40f10da7defa3faf48ae8e4d928975f50d0
6
+ metadata.gz: 6da5066c6ccc1b9b8b88b9051be9d8696fb7f9a6494e30d81e47a00b6bd26551bb64e55d5a7e1b381684ab5c19e69b84295a7e78209cfa175459b19beede9c0b
7
+ data.tar.gz: 8357e71ef82c1d5ca6daf864637f8999c5995b83aa123f2ff3ac0416d068c5de86a9c47060fc76bf508dcf2354e696739f283dd3b97be918079c4bcc903da7d2
@@ -79,6 +79,7 @@ module OhlohScm::Adapters
79
79
  tag_strings = run("cd #{url} && git tag --format='%(creatordate:iso-strict) %(objectname) %(refname)'").split(/\n/)
80
80
  tag_strings.map do |tag_string|
81
81
  timestamp_string, commit_hash, tag_path = tag_string.split(/\s/)
82
+ timestamp_string = '1970-01-01' if timestamp_string.strip.empty?
82
83
  timestamp = Time.parse(timestamp_string)
83
84
  tag_name = tag_path.gsub('refs/tags/', '')
84
85
  [tag_name, commit_hash, timestamp]
@@ -1,5 +1,5 @@
1
1
  module OhlohScm
2
2
  module Version
3
- STRING = '2.2.7'
3
+ STRING = '2.2.8'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ohloh_scm
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.7
4
+ version: 2.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - BlackDuck Software
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-16 00:00:00.000000000 Z
11
+ date: 2017-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: posix-spawn