yandex_mystem 0.1.0 → 0.1.1

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: cba5e52c1b005179967ad5a066786c5050342018
4
- data.tar.gz: f9112c1e6ce51124d48279f8218fa5d522b2ded8
3
+ metadata.gz: a6c7e0e979e518cf69b18065ac82fef6341fa401
4
+ data.tar.gz: d21da1203a6bff374411f82ed2e8d044cf88e821
5
5
  SHA512:
6
- metadata.gz: 9337422e5f0293516d4b8c48a5adc3ae1d48f1682d403d700480a4f9f71ee5a71f68bec89525001b6dc05ce7e01193a2bc609c089e8e603fa2bff271740d2a20
7
- data.tar.gz: 1c84c101387557db4f8760445168412b3f14053e678689c63e2237b21137b978dea4c23f4633f26e2cd33a07cfe8b061f90339764056072d59a1bc58dd3de0a8
6
+ metadata.gz: 79d31c75be6137c8d4fa5cc451fd4ed54f1fe76fb001460b10d4d33d8c1530e1a154f20979de116f51a5cf940a594d1829682bca9594bd61bfa9a624397a35ee
7
+ data.tar.gz: edb8e0a6d1cec46d4f5a5db9412a57ce9698808685e1bea2990c2a44e53497f30442bb8fd82dee8f73e71cae497cf12fab66515d4eab3b3dd099404fc22da88b
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Yandex Mystem 0.1.0
1
+ # Yandex Mystem
2
2
 
3
- [![Build Status](https://secure.travis-ci.org/dmitry/yandex_mystem.png?branch=master)](http://travis-ci.org/dmitry/yandex_mystem) [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/dmitry/yandex_mystem/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
3
+ [![Build Status](https://secure.travis-ci.org/dmitry/yandex_mystem.png?branch=master)](http://travis-ci.org/dmitry/yandex_mystem) [![Gem Version](https://badge.fury.io/rb/yandex_mystem.png)](http://badge.fury.io/rb/yandex_mystem) [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/dmitry/yandex_mystem/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
4
4
 
5
5
 
6
6
  ## Introduction
@@ -1,3 +1,3 @@
1
1
  module YandexMystem
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
data/lib/yandex_mystem.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'open3'
2
2
  require 'yandex_mystem/version'
3
+ require 'pathname'
3
4
 
4
5
  module YandexMystem
5
6
  class Base
@@ -28,7 +29,7 @@ module YandexMystem
28
29
  @command_postfix ||= case RUBY_PLATFORM
29
30
  when /(win|w)32$/
30
31
  'win.exe'
31
- when /32.+linux$/ || /i486.+linux$/
32
+ when /32.+linux$|i[46]86.+linux$/
32
33
  'linux-32'
33
34
  when /64.+linux$/
34
35
  'linux-64'
@@ -2,19 +2,20 @@
2
2
  require File.expand_path('../lib/yandex_mystem/version', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
- gem.authors = ["Dmitry Polushkin"]
6
- gem.email = ["dmitry.polushkin@gmail.com"]
5
+ gem.authors = ['Dmitry Polushkin']
6
+ gem.email = %w(dmitry.polushkin@gmail.com)
7
+ gem.homepage = 'http://github.com/dmitry/yandex_mystem'
7
8
  gem.description = %q{Mystem is a software that provided by the Yandex only for non-commercial project. With use of it you can detect base forms of the words in a text, make a simple morphological analysis of russian words.}
8
9
  gem.summary = %q{Yandex Mystem makes morphological analysis of a russian text}
9
- gem.homepage = ""
10
+ gem.homepage = ''
10
11
 
11
12
  gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
12
13
  gem.files = `git ls-files`.split("\n")
13
14
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
14
- gem.name = "yandex_mystem"
15
- gem.require_paths = ["lib"]
15
+ gem.name = 'yandex_mystem'
16
+ gem.require_paths = %w(lib)
16
17
  gem.version = YandexMystem::VERSION
17
18
 
18
- gem.add_development_dependency "rspec", '~> 2.8'
19
- gem.add_development_dependency "rake", '~> 10.1'
19
+ gem.add_development_dependency 'rspec', '~> 2.8'
20
+ gem.add_development_dependency 'rake', '~> 10.1'
20
21
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yandex_mystem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Polushkin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-04 00:00:00.000000000 Z
11
+ date: 2014-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '2.8'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.8'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.1'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.1'
41
41
  description: Mystem is a software that provided by the Yandex only for non-commercial
@@ -47,10 +47,10 @@ executables: []
47
47
  extensions: []
48
48
  extra_rdoc_files: []
49
49
  files:
50
- - .gitignore
51
- - .rspec
52
- - .rvmrc
53
- - .travis.yml
50
+ - ".gitignore"
51
+ - ".rspec"
52
+ - ".rvmrc"
53
+ - ".travis.yml"
54
54
  - Gemfile
55
55
  - README.md
56
56
  - Rakefile
@@ -72,17 +72,17 @@ require_paths:
72
72
  - lib
73
73
  required_ruby_version: !ruby/object:Gem::Requirement
74
74
  requirements:
75
- - - '>='
75
+ - - ">="
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  requirements: []
84
84
  rubyforge_project:
85
- rubygems_version: 2.0.3
85
+ rubygems_version: 2.2.2
86
86
  signing_key:
87
87
  specification_version: 4
88
88
  summary: Yandex Mystem makes morphological analysis of a russian text