apollo-crawler 0.0.29 → 0.0.30

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/bin/apollo-crawler CHANGED
@@ -165,9 +165,6 @@ module Crawler
165
165
  end
166
166
 
167
167
  dest_path = File.join(Dir.pwd, "#{name.underscore}.rb")
168
- if(@options[:verbose])
169
- puts "Generating '#{dest_path}'"
170
- end
171
168
 
172
169
  url = url ? url : "http://some-url-here"
173
170
  matcher = matcher ? matcher : "//a"
@@ -179,6 +176,8 @@ module Crawler
179
176
  "PLUGIN_MATCHER" => matcher
180
177
  }
181
178
 
179
+ puts "Generating plugin '#{name.titleize}', class: '#{name}', path: '#{dest_path}'"
180
+
182
181
  File.open(template_path, 'r') do |tmpl|
183
182
  File.open(dest_path, 'w') do |plugin|
184
183
  while line = tmpl.gets
@@ -1,5 +1,5 @@
1
1
  module Apollo
2
2
  module Crawler
3
- VERSION = '0.0.29'
3
+ VERSION = '0.0.30'
4
4
  end # Crawler
5
5
  end # Apollo
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apollo-crawler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.29
4
+ version: 0.0.30
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: