verbs 2.2.1 → 3.1.0

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.
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: 2.2.1
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-05-25 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,18 +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
84
- - VERSION
102
+ - bin/console
85
103
  - lib/verbs.rb
86
104
  - lib/verbs/conjugations.rb
87
105
  - lib/verbs/conjugator.rb
@@ -89,6 +107,7 @@ files:
89
107
  - lib/verbs/verb.rb
90
108
  - lib/verbs/verblike.rb
91
109
  - lib/verbs/version.rb
110
+ - tasks/release.rake
92
111
  - test/helper.rb
93
112
  - test/test_verbs.rb
94
113
  - verbs.gemspec
@@ -103,14 +122,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
103
122
  requirements:
104
123
  - - ">="
105
124
  - !ruby/object:Gem::Version
106
- version: '0'
125
+ version: 2.4.0
107
126
  required_rubygems_version: !ruby/object:Gem::Requirement
108
127
  requirements:
109
128
  - - ">="
110
129
  - !ruby/object:Gem::Version
111
130
  version: '0'
112
131
  requirements: []
113
- rubygems_version: 3.0.1
132
+ rubygems_version: 3.1.2
114
133
  signing_key:
115
134
  specification_version: 4
116
135
  summary: English verb conjugation in Ruby
data/README.rdoc DELETED
@@ -1,77 +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>.
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
- == Tense/aspect quick reference
47
-
48
- EXAMPLE TENSE ASPECT
49
-
50
- I used to accept past habitual
51
- I had accepted past perfect
52
- I accepted past perfective
53
- I was accepting past progressive
54
- I was about to accept past prospective
55
-
56
- I accept present habitual
57
- I have accepted present perfect
58
- I am having accepted present perfective
59
- I am accepting present progressive
60
- I am about to accept present prospective
61
-
62
- I will accept future habitual
63
- I will have accepted future perfect
64
- I will be having accepted future perfective
65
- I will be accepting future progressive
66
- I will be about to accept future prospective
67
-
68
- == Acknowledgements
69
-
70
- * {Lingua::Conjugate}[http://cpansearch.perl.org/src/RWG/Lingua-EN-Conjugate-0.308/lib/Lingua/EN/Conjugate.pm]
71
- * {Pat Byrd and Tom McKlin}[http://www2.gsu.edu/~wwwesl/egw/pluralsv.htm]
72
- * {Rick Harrison}[http://www.rickharrison.com/language/aspect.html]
73
- * {Anatoli Makarevich}[https://github.com/makaroni4] for {#6}[https://github.com/rossmeissl/verbs/pull/6]
74
-
75
- == Copyright
76
-
77
- Copyright (c) 2012 Andy Rossmeissl. See LICENSE for details.
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 2.0.10