dtk-common 0.7.5 → 0.7.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 2aa7ca6d8e66c3c4ca62433a96653af6d85d3ef3
4
- data.tar.gz: 5a09a139ee36c62f3daf595d33a14f7856a7233b
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ODQzY2E2YWJkN2M5MzUyMjY0ZTM0N2ZhOTM5NDc1MTRhMzA5YzIyMg==
5
+ data.tar.gz: !binary |-
6
+ ZTM5M2Q3NTBmNmIyYWJmYmFkNjg4Y2MzZGQwODMyYjVjM2E0YmNiNQ==
5
7
  SHA512:
6
- metadata.gz: 41282d3f1cdc7fb1b06eec9269338c355a117ea43d7dad8af0cb25a387988a49669859513898398f73e01b4169082cf385662618c106d49f522c5a683e57dfdc
7
- data.tar.gz: e2b72add03ce0a3c247fa1b3ab9e0c48d09672b32c3da0efce81df8a9280e0802ea5cdc08737e9df81e1b5c2313a51a0e81ec9c41f0603d6497bced8fe19f243
8
+ metadata.gz: !binary |-
9
+ YmNlYzRjZGE3NDYzNWE4ZTg5YmFhN2Q4ZWM2YTRjNjg3Y2MwNzg5MDRiNWVj
10
+ YTFhNDMzOWFjOGFhMzRkN2M4MzQ2NTlmNmMyOTVjNmZkZjE3ZDE1MDcxZDhm
11
+ ODdhZDM5MTdmMzNkOTZjN2JlNDA4MzlmMGVjZmVkOTRlZDY1NGY=
12
+ data.tar.gz: !binary |-
13
+ NTg5ZTVlYWU5MmE0N2U2OGFkMGE5NDZhOTFiYTM3MmI5N2YwNzQ1MTE4OTU1
14
+ MmNjZTk2ZmVjYTFhYTkzODZkNDMwM2FlZDY4NDQ2YmY5YWVjMzM1NDg3Nzhi
15
+ NDlhMzU4MGE0YWE4N2Q5ZTQ2M2YwYzRhYzU5NjY3OTZjY2EyMGY=
@@ -1,3 +1,3 @@
1
1
  module DtkCommon
2
- VERSION="0.7.5"
2
+ VERSION="0.7.6"
3
3
  end
data/lib/gitolite/repo.rb CHANGED
@@ -133,16 +133,16 @@ module Gitolite
133
133
  end
134
134
  end
135
135
 
136
- def file_content(path)
137
- Git::FileAccess.new(@repo_dir_path).file_content(path)
136
+ def file_content(path, branch=Git::Adapter::DEFAULT_BRANCH)
137
+ Git::FileAccess.new(@repo_dir_path, branch).file_content(path)
138
138
  end
139
139
 
140
- def file_content_and_size(path)
141
- Git::FileAccess.new(@repo_dir_path).file_content_and_size(path)
140
+ def file_content_and_size(path, branch=Git::Adapter::DEFAULT_BRANCH)
141
+ Git::FileAccess.new(@repo_dir_path, branch).file_content_and_size(path)
142
142
  end
143
143
 
144
- def file_list(depth=nil)
145
- Git::FileAccess.new(@repo_dir_path).ls_r(depth)
144
+ def file_list(depth=nil, branch=Git::Adapter::DEFAULT_BRANCH)
145
+ Git::FileAccess.new(@repo_dir_path, branch).ls_r(depth)
146
146
  end
147
147
 
148
148
  private
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dtk-common
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5
4
+ version: 0.7.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rich PELAVIN
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-04 00:00:00.000000000 Z
11
+ date: 2015-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rugged
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.17.0.b7
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
26
  version: 0.17.0.b7
27
27
  - !ruby/object:Gem::Dependency
@@ -42,14 +42,14 @@ dependencies:
42
42
  name: colorize
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: 0.5.8
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.5.8
55
55
  description: Dtk common is needed to use dtk-client gem, provides common libraries
@@ -60,7 +60,7 @@ executables: []
60
60
  extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
- - ".gitignore"
63
+ - .gitignore
64
64
  - Gemfile
65
65
  - Gemfile.lock
66
66
  - LICENSE
@@ -188,17 +188,17 @@ require_paths:
188
188
  - lib
189
189
  required_ruby_version: !ruby/object:Gem::Requirement
190
190
  requirements:
191
- - - ">="
191
+ - - ! '>='
192
192
  - !ruby/object:Gem::Version
193
193
  version: '0'
194
194
  required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  requirements:
196
- - - ">="
196
+ - - ! '>='
197
197
  - !ruby/object:Gem::Version
198
198
  version: '0'
199
199
  requirements: []
200
200
  rubyforge_project:
201
- rubygems_version: 2.4.1
201
+ rubygems_version: 2.4.8
202
202
  signing_key:
203
203
  specification_version: 4
204
204
  summary: Common libraries used for DTK CLI client.