dtk-common-core 0.10.0 → 0.10.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 57e7b2f7172d4b8686439cefa1e44014a329ff0a
4
- data.tar.gz: fa086bc0778c2cfb08a66708d386ce9179be8453
3
+ metadata.gz: 29af3e06865757af513fd4ed43868a2c76822935
4
+ data.tar.gz: d16daf324cabc533c3fb4bc80a4704f87a974ac9
5
5
  SHA512:
6
- metadata.gz: b0163a7a31c792de57597257cada0140efef5142f7150ea37095f1fa665d53811df54b9c6703e170169a3679b4dfeddda7c1233ecd4b4aca328ef8741077db3b
7
- data.tar.gz: 093cdd7d86b73e0c1ba9eee5cb25371ee5a1105cc878c881b9f3c17a1194ee8818d65432ad9a6ea8218ca789f7e87bbe54342e20a216299b8787735a12ddeefb
6
+ metadata.gz: 004de8e0f6e8a04c5ef91f287207d5b71c68a982e1f9ce23ed0dafebb3085d2570955cf6e8755e48c8b7c69d94a4ef7028e6992876daecf457df92c2d60de483
7
+ data.tar.gz: b64939ed454248a9be9e75e339e9adeb9b74154234778bbb477c08ce76bf3a0bd12061ed3efb7776f69f756d1b819e44ff3c77c31139e5e8a35495fc9ec316ca
@@ -16,5 +16,5 @@
16
16
  # limitations under the License.
17
17
  #
18
18
  module DtkCommonCore
19
- VERSION="0.10.0"
19
+ VERSION="0.10.1"
20
20
  end
@@ -15,8 +15,9 @@
15
15
  # See the License for the specific language governing permissions and
16
16
  # limitations under the License.
17
17
  #
18
- require File.expand_path('auxiliary.rb', File.dirname(__FILE__))
19
- require File.expand_path('errors.rb', File.dirname(__FILE__))
20
- require File.expand_path('hash_object.rb', File.dirname(__FILE__))
21
- require File.expand_path('log.rb', File.dirname(__FILE__))
22
- require File.expand_path('response.rb', File.dirname(__FILE__))
18
+ require File.expand_path('auxiliary', File.dirname(__FILE__))
19
+ require File.expand_path('errors', File.dirname(__FILE__))
20
+ require File.expand_path('hash_object', File.dirname(__FILE__))
21
+ require File.expand_path('log', File.dirname(__FILE__))
22
+ require File.expand_path('response', File.dirname(__FILE__))
23
+ require File.expand_path('pretty_print_form', File.dirname(__FILE__))
@@ -0,0 +1,31 @@
1
+ #
2
+ # Copyright (C) 2010-2016 dtk contributors
3
+ #
4
+ # This file is part of the dtk project.
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+ module DTK
19
+ module Common
20
+ module PrettyPrintForm
21
+ # opts can have terms:
22
+ # :namespace
23
+ # :version
24
+ def self.module_ref(module_name, opts = {})
25
+ ret = opts[:namespace] ? "#{opts[:namespace]}/#{module_name}" : module_name
26
+ ret << "(#{opts[:version]})" if opts[:version]
27
+ ret
28
+ end
29
+ end
30
+ end
31
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dtk-common-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rich PELAVIN
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-16 00:00:00.000000000 Z
11
+ date: 2016-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -31,8 +31,8 @@ executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
- - ".gitignore"
35
- - ".license_header"
34
+ - .gitignore
35
+ - .license_header
36
36
  - Gemfile
37
37
  - LICENSE
38
38
  - README.md
@@ -46,6 +46,7 @@ files:
46
46
  - lib/errors/rest_error.rb
47
47
  - lib/hash_object.rb
48
48
  - lib/log.rb
49
+ - lib/pretty_print_form.rb
49
50
  - lib/response.rb
50
51
  homepage: https://github.com/rich-reactor8/dtk-common-repo
51
52
  licenses:
@@ -57,17 +58,17 @@ require_paths:
57
58
  - lib
58
59
  required_ruby_version: !ruby/object:Gem::Requirement
59
60
  requirements:
60
- - - ">="
61
+ - - '>='
61
62
  - !ruby/object:Gem::Version
62
63
  version: '0'
63
64
  required_rubygems_version: !ruby/object:Gem::Requirement
64
65
  requirements:
65
- - - ">="
66
+ - - '>='
66
67
  - !ruby/object:Gem::Version
67
68
  version: '0'
68
69
  requirements: []
69
70
  rubyforge_project:
70
- rubygems_version: 2.4.1
71
+ rubygems_version: 2.0.14.1
71
72
  signing_key:
72
73
  specification_version: 4
73
74
  summary: Common libraries used for DTK CLI client.