greeb 0.2.4 → 0.2.5

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
  SHA1:
3
- metadata.gz: 0b353d307d409d5f67e7a7932e4d9aba26fd9dc8
4
- data.tar.gz: 134d541cd2ccf1f6d71d6faea69edca8b650f08a
3
+ metadata.gz: 784eddaa89045b1e6911baf5f7d26c4b5a29e12e
4
+ data.tar.gz: 27e199ace6287cb169e6d7293217d27e7822e72f
5
5
  SHA512:
6
- metadata.gz: cdac0fb93910ef3a3c2e78a9d8dbeb2aeb9b906982c00ca51cfe385e40a75595cd26e3241a6b5ae6bf3b6e3e3090688ba2fd5d2890c38b9483fd09b405d3a2f4
7
- data.tar.gz: ad5b4faf513f95359b864699af9f5f9e34d6b78d8681ba57d8eada5f2b4ec833d2532571660a9e36f1537792eebf79d3144236cec48e7b3be349281433db8b70
6
+ metadata.gz: c790b71500a9b0797278d62be9cfc4014e507a8c2a0c7c56133e1bb6d5e770c45be3053ca8c3a56c3186b6865a1c259847b79bd74430d335982b467d23e63673
7
+ data.tar.gz: 55e36cde42f0b27543687e691f24a57cec100b0ec2a7fc9d5c6cc6f8d2b413e1ed6063b5370c5a17b11429c985d508d6d181a0dc2d3f3f98fc204a4e38c4d76b
@@ -1,9 +1,5 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - ruby
5
- - rbx
6
- - jruby-19mode
7
- matrix:
8
- allow_failures:
9
- - rvm: rbx
4
+ - ruby
5
+ - jruby
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010-2015 Dmitry Ustalov
1
+ Copyright (c) 2010-2019 Dmitry Ustalov
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,11 +1,18 @@
1
1
  # Greeb
2
2
 
3
- Greeb [grʲip] is a simple yet awesome and Unicode-aware text segmentator
4
- based on regular expressions. The API documentation is available on
5
- [RubyDoc.info]. The software demonstration is available on
6
- <https://greeb.herokuapp.com>.
3
+ Greeb [grʲip] is a simple Unicode-aware text segmentator based on regular
4
+ expressions. The API documentation is available on [RubyDoc.info].
7
5
 
8
- [RubyDoc.info]: http://www.rubydoc.info/github/dustalov/greeb/master
6
+ [![Gem Version][badge_fury_badge]][badge_fury_link] [![Build Status][travis_ci_badge]][travis_ci_link] [![Code Climate][code_climate_badge]][code_climage_link]
7
+
8
+ [RubyDoc.info]: https://www.rubydoc.info/github/dustalov/greeb
9
+
10
+ [badge_fury_badge]: https://badge.fury.io/rb/greeb.svg
11
+ [badge_fury_link]: https://badge.fury.io/rb/greeb
12
+ [travis_ci_badge]: https://travis-ci.org/dustalov/greeb.svg
13
+ [travis_ci_link]: https://travis-ci.org/dustalov/greeb
14
+ [code_climate_badge]: https://codeclimate.com/github/dustalov/greeb/badges/gpa.svg
15
+ [code_climage_link]: https://codeclimate.com/github/dustalov/greeb
9
16
 
10
17
  ## Installation
11
18
 
@@ -27,7 +34,7 @@ Or install it yourself as:
27
34
 
28
35
  Greeb can approach such essential text processing problems as
29
36
  tokenization and segmentation. There are two ways to use it:
30
- 1) as a command-line application, 2) as a Ruby library.
37
+ (1) as a command-line application, (2) as a Ruby library.
31
38
 
32
39
  ### Command-Line Interface
33
40
 
@@ -48,7 +55,7 @@ you
48
55
 
49
56
  ### Tokenization API
50
57
 
51
- Greeb has a very convinient API that makes you happy.
58
+ Greeb has a very convenient API that makes you happy.
52
59
 
53
60
  ```ruby
54
61
  pp Greeb::Tokenizer.tokenize('Hello!')
@@ -203,16 +210,6 @@ There are several span types at the tokenization stage: `:letter`,
203
210
  4. Push to the branch (`git push origin my-new-feature`);
204
211
  5. Create new Pull Request.
205
212
 
206
- ## Build Status [<img src="https://secure.travis-ci.org/dustalov/greeb.png"/>](http://travis-ci.org/dustalov/greeb)
207
-
208
- ## Dependency Status [<img src="https://gemnasium.com/dmchk/greeb.png"/>](https://gemnasium.com/dmchk/greeb)
209
-
210
- ## Code Climate [<img src="https://codeclimate.com/github/dmchk/greeb.png"/>](https://codeclimate.com/github/dmchk/greeb)
211
-
212
- ## DOI [<img src="https://zenodo.org/badge/doi/10.5281/zenodo.10119.png"/>](http://dx.doi.org/10.5281/zenodo.10119)
213
-
214
213
  ## Copyright
215
214
 
216
- Copyright (c) 2010-2015 [Dmitry Ustalov]. See LICENSE for details.
217
-
218
- [Dmitry Ustalov]: https://ustalov.name/
215
+ Copyright (c) 2010-2019 Dmitry Ustalov. See LICENSE for details.
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
7
7
  spec.version = Greeb::VERSION
8
8
  spec.platform = Gem::Platform::RUBY
9
9
  spec.authors = ['Dmitry Ustalov']
10
- spec.email = ['dmitry@eveel.ru']
10
+ spec.email = ['dmitry.ustalov@gmail.com']
11
11
  spec.homepage = 'https://github.com/dustalov/greeb'
12
12
  spec.summary = 'Greeb is a simple Unicode-aware regexp-based tokenizer.'
13
13
  spec.description = 'Greeb is a simple yet awesome and Unicode-aware ' \
@@ -24,7 +24,7 @@ module Greeb::Tokenizer extend self
24
24
 
25
25
  # Punctuation character (i.e.: "." or "!").
26
26
  #
27
- PUNCTUATIONS = /[(\.|\!|\?)]+/u
27
+ PUNCTUATIONS = /(\.|\!|\?)+/u
28
28
 
29
29
  # In-subsentence seprator (i.e.: "*" or "=").
30
30
  #
@@ -5,5 +5,5 @@
5
5
  module Greeb
6
6
  # Version of Greeb.
7
7
  #
8
- VERSION = '0.2.4'
8
+ VERSION = '0.2.5'
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: greeb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Ustalov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-14 00:00:00.000000000 Z
11
+ date: 2019-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -27,7 +27,7 @@ dependencies:
27
27
  description: Greeb is a simple yet awesome and Unicode-aware regexp-based tokenizer,
28
28
  written in Ruby.
29
29
  email:
30
- - dmitry@eveel.ru
30
+ - dmitry.ustalov@gmail.com
31
31
  executables:
32
32
  - greeb
33
33
  extensions: []
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  requirements: []
80
80
  rubyforge_project:
81
- rubygems_version: 2.2.2
81
+ rubygems_version: 2.5.2
82
82
  signing_key:
83
83
  specification_version: 4
84
84
  summary: Greeb is a simple Unicode-aware regexp-based tokenizer.