ohloh_scm 2.2.0 → 2.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b611998a903a8fc19bcd5c5c8ac58b88b78f97c
4
- data.tar.gz: 7610da542ca2bf2859f08dff8a7e4842cb9e5af3
3
+ metadata.gz: aa915eedc497184e395d35cf1349aa8f1c7aa0e3
4
+ data.tar.gz: 0a17dfceae3b82b8d55aea56946d021455f57899
5
5
  SHA512:
6
- metadata.gz: d49ff7154ab7cd57946340d3dc02fda710f217f6ae25ec52217d13c4afa57f3675a6b66e26530d8071c9998a7fc781b44d4f82c2569775624ad7a632a1059b1d
7
- data.tar.gz: 51804d1969aeea498e40e63f770b476db01eed438127c6b44b1b6484e916c9e6ab0ee4fca39f56521be41c9de67d3782c5e1c265cbe3aad8cdba5a4ca8608131
6
+ metadata.gz: 152e63b2c78d60a55dc3b3395d1d0ea762b76b09ae6824152d79bc2e854279849d937efab8f5b6435deeb5013118a82d49c5b3293743c03e8e5b618e85d3d67f
7
+ data.tar.gz: 1f13160bf4c0bf22f625f8ddf91a36165f4860104dad7e0be46a7715b17aa31bd24ea27cd247be12519873bd8f8af290c8faa4ba36de696c65c063acc46bb716
@@ -144,10 +144,10 @@ module OhlohScm::Adapters
144
144
  # http://svn.apache.org/repos/asf/maven/plugin-testing/trunk
145
145
  # all have the same root value(https://svn.apache.org/repos/asf)
146
146
  def tags
147
- tag_strings = `svn log -v #{ base_path}/tags | grep 'tags.\\+(from.\\+:[0-9]\\+)$'`.split(/\n/)
147
+ tag_strings = `svn ls -v #{ base_path}/tags`.split(/\n/)
148
148
  tag_strings.map do |tag_string|
149
- tag_string.match(/\/tags\/(.+) \(from .+:(\d+)\)\Z/)[1..2]
150
- end
149
+ tag_string.split(' ').values_at(-1, 0).map { |v| v.chomp('/') }
150
+ end[1..-1]
151
151
  end
152
152
 
153
153
  class << self
@@ -1,5 +1,5 @@
1
1
  module OhlohScm
2
2
  module Version
3
- STRING = '2.2.0'
3
+ STRING = '2.2.1'
4
4
  end
5
5
  end
@@ -111,7 +111,7 @@ module OhlohScm::Adapters
111
111
  mkdir -p #{ source_scm.root.gsub(/^file:../, '') }/db/transactions
112
112
  svn copy trunk tags/2.0 && svn commit -m 'v2.0' && svn update"
113
113
 
114
- assert_equal([['2.0', source_scm.head_token.to_s]], source_scm.tags)
114
+ assert_equal([['2.0', '6']], source_scm.tags)
115
115
  end
116
116
  end
117
117
  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.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - BlackDuck Software
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-11 00:00:00.000000000 Z
11
+ date: 2016-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: posix-spawn