carnivore-files 0.1.0 → 0.2.0

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: 751a352aa27f264731f03db94c22669e2d823642
4
- data.tar.gz: 59fdf94c07eed89ada05c7b2350b5f2af1bc25d9
3
+ metadata.gz: 4150377900b933160fc7b0efb9ad3b022f30d062
4
+ data.tar.gz: 29eee65845600e46a3b99d3f15fca7c61d54e679
5
5
  SHA512:
6
- metadata.gz: 05a82a0a715c750b9eae0c785d493e53a32741996fdc24f21e34d14f3d82b4c61cf7a11f3db102458d59dc7d0df5e42b6603f53b17fa4616c73155dd86d7dc49
7
- data.tar.gz: ec5cfd66f96523885ec06655832dda10c0a78d95c381e6281194590244d7c3295a2526046c801605a2684e4cd2303977e37d93e1b6debc247ecb0ad4b5f1c227
6
+ metadata.gz: 35a949382dbeedde31e19f07c1bc9682876446f7b889defb4352c620d95885ca45330d7f86835aaa106f2b77a3315175a7ff4ef93259b6cf9bd3a1e3dec83217
7
+ data.tar.gz: 8bf78650c8048131e5b64ef7c6816fc5704791986dd62a5217a3863e48f6c8e5942a4c9966e4ea7f8e247381513dc28fb483b6b3544e5d0b1aa8db2c783122cc
data/CHANGELOG.md CHANGED
@@ -1,2 +1,5 @@
1
+ # v0.2.0
2
+ * Rename Carnivore::Source::File to Carnivore::Source::CarnFile
3
+
1
4
  # v0.1.0
2
5
  * Initial release
data/README.md CHANGED
@@ -10,7 +10,7 @@ require 'carnivore-files'
10
10
 
11
11
  Carnivore.configure do
12
12
  source = Carnivore::Source.build(
13
- :type => :file, :args => {:path => '/var/log/app.log'}
13
+ :type => :carn_file, :args => {:path => '/var/log/app.log'}
14
14
  )
15
15
  end
16
16
  ```
@@ -26,7 +26,7 @@ require 'carnivore-files'
26
26
 
27
27
  Carnivore.configure do
28
28
  source = Carnivore::Source.build(
29
- :type => :file, :args => {
29
+ :type => :carn_file, :args => {
30
30
  :path => '/var/log/app.log',
31
31
  :foundation => :nio
32
32
  }
@@ -3,7 +3,7 @@ require 'carnivore'
3
3
  module Carnivore
4
4
  class Source
5
5
  # Carnivore source for consumption from files
6
- class File < Source
6
+ class CarnFile < Source
7
7
 
8
8
  # @return [String] path to file
9
9
  attr_reader :path
@@ -1,6 +1,6 @@
1
1
  module Carnivore
2
2
  module Files
3
3
  # Current version of library
4
- VERSION = Gem::Version.new('0.1.0')
4
+ VERSION = Gem::Version.new('0.2.0')
5
5
  end
6
6
  end
@@ -11,4 +11,4 @@ module Carnivore
11
11
  end
12
12
  end
13
13
 
14
- Carnivore::Source.provide(:file, 'carnivore-files/file')
14
+ Carnivore::Source.provide(:carn_file, 'carnivore-files/carn_file')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carnivore-files
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Roberts
@@ -48,7 +48,7 @@ files:
48
48
  - README.md
49
49
  - carnivore-files.gemspec
50
50
  - lib/carnivore-files.rb
51
- - lib/carnivore-files/file.rb
51
+ - lib/carnivore-files/carn_file.rb
52
52
  - lib/carnivore-files/util/fetcher.rb
53
53
  - lib/carnivore-files/util/nio.rb
54
54
  - lib/carnivore-files/util/penguin.rb