dockly-util 0.0.4 → 0.0.5
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/.travis.yml +6 -0
- data/dockly-util.gemspec +1 -0
- data/lib/dockly/util/logger.rb +1 -1
- data/lib/dockly/util/version.rb +1 -1
- metadata +5 -3
data/.travis.yml
ADDED
data/dockly-util.gemspec
CHANGED
|
@@ -7,6 +7,7 @@ Gem::Specification.new do |gem|
|
|
|
7
7
|
gem.description = %q{DSL made easy}
|
|
8
8
|
gem.summary = %q{DSL made easy}
|
|
9
9
|
gem.homepage = "https://github.com/swipely/dockly-util"
|
|
10
|
+
gem.license = 'MIT'
|
|
10
11
|
gem.files = `git ls-files`.split($\)
|
|
11
12
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
|
12
13
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
data/lib/dockly/util/logger.rb
CHANGED
|
@@ -34,7 +34,7 @@ class Dockly::Util::Logger
|
|
|
34
34
|
|
|
35
35
|
def get_last_method
|
|
36
36
|
if print_method?
|
|
37
|
-
file_and_method = caller.reject { |trace| trace =~ /
|
|
37
|
+
file_and_method = caller.reject { |trace| trace =~ /dockly\/util\/logger\.rb|block \(\d+ levels\)/ }.first
|
|
38
38
|
file_and_method.match(/:in `(.+)'$/)[1]
|
|
39
39
|
end
|
|
40
40
|
end
|
data/lib/dockly/util/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dockly-util
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-11-
|
|
12
|
+
date: 2013-11-07 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rake
|
|
@@ -87,6 +87,7 @@ files:
|
|
|
87
87
|
- .cane
|
|
88
88
|
- .gitignore
|
|
89
89
|
- .rspec
|
|
90
|
+
- .travis.yml
|
|
90
91
|
- Gemfile
|
|
91
92
|
- LICENSE.txt
|
|
92
93
|
- Rakefile
|
|
@@ -101,7 +102,8 @@ files:
|
|
|
101
102
|
- spec/dockl/util/logger_spec.rb
|
|
102
103
|
- spec/spec_helper.rb
|
|
103
104
|
homepage: https://github.com/swipely/dockly-util
|
|
104
|
-
licenses:
|
|
105
|
+
licenses:
|
|
106
|
+
- MIT
|
|
105
107
|
post_install_message:
|
|
106
108
|
rdoc_options: []
|
|
107
109
|
require_paths:
|