imagen 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +6 -1
- data/imagen_rb.gemspec +2 -2
- data/lib/imagen.rb +1 -1
- data/lib/imagen/ast/parser.rb +1 -0
- data/lib/imagen/clone.rb +1 -0
- data/lib/imagen/node.rb +2 -0
- data/lib/imagen/version.rb +1 -1
- data/lib/imagen/visitor.rb +1 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a3eda1d60ddcef7be0e422a0428006a5c6d2c74c8028266148c4dbedecf7468
|
4
|
+
data.tar.gz: 71585f42ee54d37a4b8930916d24701f9fa9937c0264e3d64e6be241250d7c1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2235c072dba4555b92c7a82c06f6c6112106168da68fc6a20a539698b4575d5f0246b15421bfe8e1f39d7a02654f716d41cbf3b174a0e924c122178c536c827a
|
7
|
+
data.tar.gz: 7524dfb584c87f4501d14b282c4f053e2a30a1cca45ada618cb22fd760b5d683dc4773898b6813d9644a53e2dcdd1b77c364c6dacea7600505e712d1e4fbf981
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [0.1.8]
|
10
|
+
### Changed
|
11
|
+
- Dependency updates
|
12
|
+
|
9
13
|
## [0.1.5] 2018-08-19
|
10
14
|
### Added
|
11
15
|
- This `CHANGELOG.md`
|
@@ -31,7 +35,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
31
35
|
### Added
|
32
36
|
- First release of `imagen` 🎉
|
33
37
|
|
34
|
-
[Unreleased]: https://github.com/grodowski/imagen_rb/compare/v0.1.
|
38
|
+
[Unreleased]: https://github.com/grodowski/imagen_rb/compare/v0.1.8...HEAD
|
39
|
+
[0.1.8]: https://github.com/grodowski/imagen_rb/compare/v0.1.5...v0.1.8
|
35
40
|
[0.1.5]: https://github.com/grodowski/imagen_rb/compare/v0.1.4...v0.1.5
|
36
41
|
[0.1.4]: https://github.com/grodowski/imagen_rb/compare/v0.1.3...v0.1.4
|
37
42
|
[0.1.3]: https://github.com/grodowski/imagen_rb/compare/v0.1.2...v0.1.3
|
data/imagen_rb.gemspec
CHANGED
@@ -26,9 +26,9 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.add_dependency 'parser', '>= 2.5', '!= 2.5.1.1'
|
27
27
|
|
28
28
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
29
|
-
spec.add_development_dependency 'rake', '~>
|
29
|
+
spec.add_development_dependency 'rake', '~> 12.3'
|
30
30
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
31
|
-
spec.add_development_dependency 'rubocop', '~> 0.
|
31
|
+
spec.add_development_dependency 'rubocop', '~> 0.66.0'
|
32
32
|
spec.add_development_dependency 'pry'
|
33
33
|
spec.add_development_dependency 'simplecov'
|
34
34
|
spec.add_development_dependency 'simplecov-lcov'
|
data/lib/imagen.rb
CHANGED
data/lib/imagen/ast/parser.rb
CHANGED
data/lib/imagen/clone.rb
CHANGED
data/lib/imagen/node.rb
CHANGED
@@ -110,6 +110,7 @@ module Imagen
|
|
110
110
|
|
111
111
|
def list_files
|
112
112
|
return [dir] if File.file?(dir)
|
113
|
+
|
113
114
|
Dir.glob("#{dir}/**/*.rb").reject { |path| path =~ Imagen::EXCLUDE_RE }
|
114
115
|
end
|
115
116
|
end
|
@@ -179,6 +180,7 @@ module Imagen
|
|
179
180
|
arg_nodes = ast_node.children.find { |n| n.type == :args }.children
|
180
181
|
arg_names = arg_nodes.map { |arg| arg.children[0] }
|
181
182
|
return if arg_names.empty?
|
183
|
+
|
182
184
|
"(#{arg_names.join(', ')})"
|
183
185
|
end
|
184
186
|
end
|
data/lib/imagen/version.rb
CHANGED
data/lib/imagen/visitor.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: imagen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Grodowski
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parser
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
53
|
+
version: '12.3'
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
60
|
+
version: '12.3'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: rspec
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -78,14 +78,14 @@ dependencies:
|
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: 0.
|
81
|
+
version: 0.66.0
|
82
82
|
type: :development
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: 0.
|
88
|
+
version: 0.66.0
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: pry
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|