lexical_units 0.0.2 → 0.0.3

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: 35f8950c1907e3f92afb2a3dc64ee3506779d87c
4
- data.tar.gz: 3b08b4af5ada8ee6abaad85621b7f0cfd5850df7
3
+ metadata.gz: 54b7af74476b988b4d16a479c0c203c2203717c5
4
+ data.tar.gz: 921daa7336245afe96d4de75432573182c2b3dd7
5
5
  SHA512:
6
- metadata.gz: 7d610db7578359ee8724beea9f019b4b62e514ece052fa4d6d5b417af1069c58818387329c18b97145761522fc52ab613f20ea8e5d079b097baadad7102a83fe
7
- data.tar.gz: eb0fd0fca6c27dbcb4169a97f4e18969f06f204b613866cee58a0365102603c131643b711bf9c42d86d06d29e50aceed173b0fee785081c073ed0b1db8dabaf9
6
+ metadata.gz: bf00b304bbce76a2f99b71757013579316aab270ab4e0e81405d312d096533e1194563d3d326b8874027fdc0316abbf1fa6799d3ce77a435b25cfb72282383db
7
+ data.tar.gz: f653206c75b32294155f03a8135d903320a3c42e6b48a46c92ec720cd0eb40684772b0a0461fa2c06c691ef6d93df1e58d31b6edb97b5675d9c960b917080ae6
data/CHANGELOG.md CHANGED
@@ -5,3 +5,7 @@
5
5
  ## v0.0.2
6
6
 
7
7
  * added split into sentences
8
+
9
+ ## v0.0.3
10
+
11
+ * fixed problem with coding
data/Gemfile CHANGED
@@ -1,12 +1,13 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ # Specify your gem's dependencies in lexical_units.gemspec
4
+ gemspec
5
+
3
6
  group :development, :test do
4
7
  gem 'coveralls', require: false
5
8
  gem 'rspec'
9
+ gem 'reek'
6
10
  gem 'guard'
7
11
  gem 'guard-bundler'
8
12
  gem 'guard-rspec'
9
13
  end
10
-
11
- # Specify your gem's dependencies in lexical_units.gemspec
12
- gemspec
data/README.md CHANGED
@@ -24,6 +24,7 @@ LexicalUnits::sentences(text)
24
24
  ```
25
25
 
26
26
  You can include methods into String class:
27
+
27
28
  ```ruby
28
29
  class String
29
30
  include LexicalUnits::String
data/Rakefile CHANGED
@@ -1 +1,5 @@
1
1
  require "bundler/gem_tasks"
2
+ require 'rspec/core/rake_task'
3
+
4
+ task :default => :spec
5
+ RSpec::Core::RakeTask.new
@@ -1,3 +1,4 @@
1
+ # coding: utf-8
1
2
  module LexicalUnits
2
3
  # Split text into sentences
3
4
  #
@@ -13,7 +14,7 @@ module LexicalUnits
13
14
  def self.sentence_separators
14
15
  [
15
16
  '\.', '\?', '\!',
16
- ''
17
+ ""
17
18
  ].join
18
19
  end
19
20
  end
@@ -1,3 +1,4 @@
1
+ # coding: utf-8
1
2
  module LexicalUnits
2
3
  module String
3
4
  def words
@@ -1,3 +1,3 @@
1
1
  module LexicalUnits
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -1,3 +1,4 @@
1
+ # coding: utf-8
1
2
  module LexicalUnits
2
3
  # Split text into words
3
4
  #
@@ -1,4 +1,4 @@
1
- #encoding: utf-8
1
+ # coding: utf-8
2
2
  require 'spec_helper'
3
3
 
4
4
  describe LexicalUnits do
@@ -1,3 +1,4 @@
1
+ # coding: utf-8
1
2
  require 'spec_helper'
2
3
 
3
4
  describe LexicalUnits::String do
@@ -1,3 +1,4 @@
1
+ # coding: utf-8
1
2
  require 'spec_helper'
2
3
 
3
4
  describe LexicalUnits do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lexical_units
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aleksander Malaszkiewicz