verbs 3.0.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/verbs.gemspec CHANGED
@@ -1,25 +1,27 @@
1
- # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path("../lib", __FILE__)
3
- require "verbs/version"
1
+ # frozen_string_literal: true
2
+
3
+ $LOAD_PATH.push File.expand_path('lib', __dir__)
4
+ require 'verbs/version'
4
5
 
5
6
  Gem::Specification.new do |s|
6
7
  s.name = 'verbs'
7
8
  s.version = Verbs::VERSION
8
- s.platform = Gem::Platform::RUBY
9
- s.authors = ["Andy Rossmeissl"]
10
- s.description = %q{Conjugates most common english verbs for all persons, tenses, standard aspects, and modern moods (with active diathesis). Standard and exceptional spelling rules are obeyed.}
11
- s.summary = %q{English verb conjugation in Ruby}
12
- s.email = %q{andy@rossmeissl.net}
13
- s.homepage = %q{http://github.com/rossmeissl/verbs}
9
+ s.platform = Gem::Platform::RUBY
10
+ s.required_ruby_version = '>= 2.4.0'
11
+ s.authors = ['Andy Rossmeissl']
12
+ s.description = 'Conjugates most common english verbs for all persons, tenses, standard aspects, and modern moods (with active diathesis). Standard and exceptional spelling rules are obeyed.'
13
+ s.summary = 'English verb conjugation in Ruby'
14
+ s.email = 'andy@rossmeissl.net'
15
+ s.homepage = 'http://github.com/rossmeissl/verbs'
14
16
 
15
17
  s.files = `git ls-files`.split("\n")
16
18
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
- s.require_paths = ["lib"]
19
-
20
- s.add_development_dependency 'test-unit'
19
+ s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
20
+ s.require_paths = ['lib']
21
+
21
22
  s.add_development_dependency 'rake'
23
+ s.add_development_dependency 'rubocop'
24
+ s.add_development_dependency 'test-unit'
22
25
  s.add_dependency 'activesupport', '>= 2.3.4'
23
26
  s.add_dependency 'i18n'
24
27
  end
25
-
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: verbs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Rossmeissl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-16 00:00:00.000000000 Z
11
+ date: 2021-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: test-unit
14
+ name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
@@ -25,7 +25,21 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rake
28
+ name: rubocop
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: test-unit
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
45
  - - ">="
@@ -70,17 +84,22 @@ description: Conjugates most common english verbs for all persons, tenses, stand
70
84
  aspects, and modern moods (with active diathesis). Standard and exceptional spelling
71
85
  rules are obeyed.
72
86
  email: andy@rossmeissl.net
73
- executables: []
87
+ executables:
88
+ - console
74
89
  extensions: []
75
90
  extra_rdoc_files: []
76
91
  files:
77
92
  - ".document"
78
93
  - ".github/workflows/ruby.yml"
79
94
  - ".gitignore"
95
+ - ".rubocop.yml"
96
+ - ".rubocop_todo.yml"
97
+ - CHANGELOG.md
80
98
  - Gemfile
81
99
  - LICENSE
82
- - README.rdoc
100
+ - README.md
83
101
  - Rakefile
102
+ - bin/console
84
103
  - lib/verbs.rb
85
104
  - lib/verbs/conjugations.rb
86
105
  - lib/verbs/conjugator.rb
@@ -88,6 +107,7 @@ files:
88
107
  - lib/verbs/verb.rb
89
108
  - lib/verbs/verblike.rb
90
109
  - lib/verbs/version.rb
110
+ - tasks/release.rake
91
111
  - test/helper.rb
92
112
  - test/test_verbs.rb
93
113
  - verbs.gemspec
@@ -102,7 +122,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
102
122
  requirements:
103
123
  - - ">="
104
124
  - !ruby/object:Gem::Version
105
- version: '0'
125
+ version: 2.4.0
106
126
  required_rubygems_version: !ruby/object:Gem::Requirement
107
127
  requirements:
108
128
  - - ">="
data/README.rdoc DELETED
@@ -1,82 +0,0 @@
1
- = verbs
2
-
3
- Conjugates most common english verbs for all persons, tenses, standard aspects, and modern moods (with active diathesis). Standard and exceptional spelling rules are obeyed.
4
-
5
- >> Verbs::Conjugator.conjugate :be, :tense => :past, :person => :second, :plurality => :singular, :aspect => :perfective
6
- => :were
7
- >> 'be nice'.verb.conjugate :subject => 'Matz'
8
- => "Matz is nice"
9
- >> :sleep.verb.conjugate :tense => :future, :person => :first, :plurality => :singular, :aspect => :progressive, :subject => true
10
- => :"I will be sleeping"
11
-
12
- == Installation
13
-
14
- gem install verbs
15
-
16
- == Options
17
-
18
- This library takes a rather strict view of English verb conjugation.
19
-
20
- === <tt>:tense</tt>
21
-
22
- One of <tt>:past</tt>, <tt>:present</tt>, or <tt>:future</tt>. Defaults to <tt>:present</tt>.
23
-
24
- === <tt>:person</tt>
25
-
26
- One of <tt>:first</tt>, <tt>:second</tt>, or <tt>:third</tt>. Defaults to <tt>:third</tt>.
27
-
28
- === <tt>:plurality</tt>
29
-
30
- Either <tt>:singular</tt> or <tt>:plural</tt>. Defaults to <tt>:singular</tt>.
31
-
32
- === <tt>:aspect</tt>
33
-
34
- One of <tt>:habitual</tt>, <tt>:perfect</tt>, <tt>:perfective</tt>, <tt>:progressive</tt>, or <tt>:prospective</tt>. Defaults to <tt>:habitual</tt> (<tt>:perfective</tt> for past tense).
35
-
36
- See below for a guide to verb aspect.
37
-
38
- === <tt>:mood</tt>
39
-
40
- One of <tt>:indicative</tt>, <tt>:imperative</tt>, or <tt>:subjunctive</tt>. Defaults to <tt>:indicative</tt>.
41
-
42
- === <tt>:subject</tt>
43
-
44
- Set this to a string to prepend the conjugated verb with it. When set to <tt>true</tt>, a standard personal pronoun will be used.
45
-
46
- === <tt>:diathesis</tt>
47
-
48
- One of <tt>:active</tt> or <tt>:passive</tt>. Defaults to <tt>:active</tt>.
49
-
50
- == Tense/aspect quick reference
51
-
52
- EXAMPLE TENSE ASPECT
53
-
54
- I used to accept past habitual
55
- I had accepted past perfect
56
- I accepted past perfective
57
- I was accepting past progressive
58
- I was about to accept past prospective
59
-
60
- I accept present habitual
61
- I have accepted present perfect
62
- I am having accepted present perfective
63
- I am accepting present progressive
64
- I am about to accept present prospective
65
-
66
- I will accept future habitual
67
- I will have accepted future perfect
68
- I will be having accepted future perfective
69
- I will be accepting future progressive
70
- I will be about to accept future prospective
71
-
72
- == Acknowledgements
73
-
74
- * {Lingua::Conjugate}[http://cpansearch.perl.org/src/RWG/Lingua-EN-Conjugate-0.308/lib/Lingua/EN/Conjugate.pm]
75
- * {Pat Byrd and Tom McKlin}[http://www2.gsu.edu/~wwwesl/egw/pluralsv.htm]
76
- * {Rick Harrison}[http://www.rickharrison.com/language/aspect.html]
77
- * {Anatoli Makarevich}[https://github.com/makaroni4] for {#6}[https://github.com/rossmeissl/verbs/pull/6]
78
- * {Nikita Kamaev}[https://github.com/nerixim] for {#35}[https://github.com/rossmeissl/verbs/pull/35]
79
-
80
- == Copyright
81
-
82
- Copyright (c) 2012 Andy Rossmeissl. See LICENSE for details.