title-processor 0.1.3 → 0.1.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 780b66f5d35fde02235bcde39aeb77e9a6aa5792c7d832d2f13ee6ca8677d5ca
4
- data.tar.gz: cf1cefc2c093f502ef00bf38b983180111d0901ba6430025e424eec5a91e0295
3
+ metadata.gz: 4a749a69c1a8fb332830c1de0c38370f144374f716c0b5dc69a00eca2a219fe3
4
+ data.tar.gz: fc51d8ef08b1b2476f25d34d0789627c92331ad22be49ad93ea944e98cc87b4e
5
5
  SHA512:
6
- metadata.gz: ab55047652106ef632cd5ae5d2661e57048947a0be5105dd8fe26a927a65fa10faac1b94a3826188164423f7b3f084ff9a4157895b035dafc4747aea045ce6d8
7
- data.tar.gz: d6f7129c31253f6f452917fe3dfd4f64bca966e3b04ad2dbb837f4ee1f5078f6bfd4e7fc3b944ec0a9b9acbf02fccc873a8b7e224ce1a1868f618f4b0ba44704
6
+ metadata.gz: 542d235fe56dd0859baf0f80b8957f1121d0c19cc6a69c9e56ac797a71b2dd1ed6eabf8b27963b6920ff486cb79ba5582eea1fcdb2d45479b4c5cdf39dde2dd6
7
+ data.tar.gz: b683b1fbcd0e49d64cf813ebcdae7411f130784dc9f50436009ce09c8c414a5e1e3d6765d72f6f6f961528aa74c7c630f568285a8a021f9c10e33f1edbbcf1a3
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Title::Processor
1
+ # Title processor CLI
2
2
 
3
3
  Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/title/processor`. To experiment with that code, run `bin/console` for an interactive prompt.
4
4
 
@@ -11,6 +11,12 @@ Add this line to your application's Gemfile:
11
11
  ```ruby
12
12
  gem 'title-processor'
13
13
  ```
14
+ Or:
15
+ ```ruby
16
+ source "https://rubygems.pkg.github.com/nikitanaumenko" do
17
+ gem "title-processor", "0.1.3"
18
+ end
19
+ ```
14
20
 
15
21
  And then execute:
16
22
 
@@ -19,26 +25,16 @@ And then execute:
19
25
  Or install it yourself as:
20
26
 
21
27
  $ gem install title-processor
28
+ Or from github registry:
22
29
 
23
- ## Usage
24
-
25
- TODO: Write usage instructions here
26
-
27
- ## Development
28
-
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
-
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
-
33
- ## Contributing
34
-
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/title-processor. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/title-processor/blob/master/CODE_OF_CONDUCT.md).
30
+ $ gem install title-processor --version "0.1.3" --source "https://rubygems.pkg.github.com/nikitanaumenko"
36
31
 
32
+ ## Usage
37
33
 
38
- ## License
34
+ From STDIN:
39
35
 
40
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
36
+ $ cat links.txt | title-processor
41
37
 
42
- ## Code of Conduct
38
+ From File:
43
39
 
44
- Everyone interacting in the Title::Processor project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/title-processor/blob/master/CODE_OF_CONDUCT.md).
40
+ $ title-processor ./links.txt
@@ -5,7 +5,7 @@ require 'title/processor'
5
5
 
6
6
  links = if ARGV.empty?
7
7
  acc = []
8
- $stdin.each_line { |line| acc << line }
8
+ $stdin.each_line { |line| acc << line.strip }
9
9
  acc
10
10
  else
11
11
  filename = ARGV[0]
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Title
4
4
  module Processor
5
- VERSION = '0.1.3'
5
+ VERSION = '0.1.4'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: title-processor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikita Naumenko