flute 0.2.3 → 0.2.4

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: c50d9df45364f7ebc2d3522509f32c2bfd82763d
4
- data.tar.gz: 6def70837c5c6e7b580e4de504c538514068be96
3
+ metadata.gz: 1908668f5687c58fb7ef019a538c4e912f74697b
4
+ data.tar.gz: 3c7c2561376b4896fa0a07e9fb5c03b296241e7a
5
5
  SHA512:
6
- metadata.gz: cdf98c7c495aa44b5dfb50e6c8e72a6dacbda2d88e742fa6bef6538635033cccb8ea0a79ba5616bc660d6e470d4ba8a4014f07720789617cac6cc2c093b58fdc
7
- data.tar.gz: 6ef656f0c63879939d4ff6ef1038c239547824cc0c9e29843552359a3193b13a450daa67c12d7231ce38d79c35766e3cba889dcf53c8f8e51dd0eff3243bb4b3
6
+ metadata.gz: 4474c10113fa6650739950a9dd9ea852f3993f8b4e601b5d12572ad32a5bda2d2784c3410db6e5beb9efeec5f493e8e207f08b9c4673e62c86119a636c63c0fa
7
+ data.tar.gz: 5445f804e899340384427268c5575d35591451bdf4e698cb1aa5cf882d79f8abfe0fcf142b3f8e3f230c33d42ece19cc7635e8f4ef73626b15325da3cd5e8f2a
data/exe/flute CHANGED
@@ -1,10 +1,3 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- git_path = File.expand_path("../../../.git", __FILE__)
4
-
5
- if File.exist?(git_path)
6
- railties_path = File.expand_path("../../lib", __FILE__)
7
- $:.unshift(railties_path)
8
- end
9
-
10
3
  require "flute/cli"
data/flute.gemspec CHANGED
@@ -29,6 +29,6 @@ Gem::Specification.new do |spec|
29
29
  spec.add_dependency 'activesupport', '~> 5.0.1'
30
30
  spec.add_dependency 'typhoeus', '~> 1.1.2'
31
31
  spec.add_dependency 'nokogiri', '~> 1.7.0'
32
- spec.add_dependency 'thor'
32
+ spec.add_dependency 'thor', '~> 0.19.4'
33
33
 
34
34
  end
data/lib/flute/cli.rb CHANGED
@@ -42,7 +42,7 @@ class FluteCLI < Thor
42
42
  end
43
43
 
44
44
  def template_path(name)
45
- File.expand_path("../template/#{name}", File.dirname(__FILE__))
45
+ File.expand_path("../../template/#{name}", File.dirname(__FILE__))
46
46
  end
47
47
  end
48
48
 
data/lib/flute/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Flute
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flute
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - 'manjia
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2017-01-04 00:00:00.000000000 Z
13
+ date: 2017-01-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -100,16 +100,16 @@ dependencies:
100
100
  name: thor
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
- - - ">="
103
+ - - "~>"
104
104
  - !ruby/object:Gem::Version
105
- version: '0'
105
+ version: 0.19.4
106
106
  type: :runtime
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
- - - ">="
110
+ - - "~>"
111
111
  - !ruby/object:Gem::Version
112
- version: '0'
112
+ version: 0.19.4
113
113
  description: 一个简单的网络爬虫框架.
114
114
  email:
115
115
  - tywf91@gmail.com
@@ -138,14 +138,14 @@ files:
138
138
  - lib/flute/response.rb
139
139
  - lib/flute/spider_base.rb
140
140
  - lib/flute/version.rb
141
- - lib/template/Gemfile
142
- - lib/template/Rakefile
143
- - lib/template/items/base_item.rb
144
- - lib/template/items/rss_item.rb
145
- - lib/template/items/web_item.rb
146
- - lib/template/main.rb
147
- - lib/template/middlewares/rss_middleware.rb
148
- - lib/template/spiders/ifanr_spider.rb
141
+ - template/Gemfile
142
+ - template/Rakefile
143
+ - template/items/base_item.rb
144
+ - template/items/rss_item.rb
145
+ - template/items/web_item.rb
146
+ - template/main.rb
147
+ - template/middlewares/rss_middleware.rb
148
+ - template/spiders/ifanr_spider.rb
149
149
  homepage: https://github.com/oxoooo/flute
150
150
  licenses:
151
151
  - MIT