cronex 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.travis.yml +3 -0
- data/CHANGELOG.md +6 -2
- data/README.md +13 -2
- data/lib/cronex/errors.rb +1 -1
- data/lib/cronex/version.rb +1 -1
- data/resources/resources_en.yml +19 -19
- data/resources/resources_fr.yml +24 -24
- data/resources/resources_pt_BR.yml +19 -19
- data/resources/resources_ro.yml +75 -0
- data/resources/resources_ru.yml +75 -0
- data/spec/exp_descriptor_en_spec.rb +5 -0
- data/spec/exp_descriptor_fr_spec.rb +87 -83
- data/spec/exp_descriptor_pt_BR_spec.rb +87 -83
- data/spec/exp_descriptor_ro_spec.rb +382 -0
- data/spec/exp_descriptor_ru_spec.rb +382 -0
- data/spec/spec_helper.rb +0 -8
- metadata +23 -16
data/spec/spec_helper.rb
CHANGED
@@ -8,12 +8,4 @@ RSpec.configure do |config|
|
|
8
8
|
def desc(expression, opts = {})
|
9
9
|
Cronex::ExpressionDescriptor.new(expression, opts).description
|
10
10
|
end
|
11
|
-
|
12
|
-
def desc_pt_br(expression, opts = {})
|
13
|
-
Cronex::ExpressionDescriptor.new(expression, opts, 'pt_BR').description
|
14
|
-
end
|
15
|
-
|
16
|
-
def desc_fr(expression, opts = {})
|
17
|
-
Cronex::ExpressionDescriptor.new(expression, opts, 'fr').description
|
18
|
-
end
|
19
11
|
end
|
metadata
CHANGED
@@ -1,69 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cronex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrian Kazaku
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unicode
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
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: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pry
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0.10'
|
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: '0.10'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '10.1'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '10.1'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '3.1'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '3.1'
|
69
69
|
description: Ruby library that converts cron expressions into human readable strings
|
@@ -73,9 +73,10 @@ executables: []
|
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
|
-
- .gitignore
|
77
|
-
- .rspec
|
78
|
-
- .rubocop.yml
|
76
|
+
- ".gitignore"
|
77
|
+
- ".rspec"
|
78
|
+
- ".rubocop.yml"
|
79
|
+
- ".travis.yml"
|
79
80
|
- CHANGELOG.md
|
80
81
|
- Gemfile
|
81
82
|
- LICENSE.md
|
@@ -101,10 +102,14 @@ files:
|
|
101
102
|
- resources/resources_en.yml
|
102
103
|
- resources/resources_fr.yml
|
103
104
|
- resources/resources_pt_BR.yml
|
105
|
+
- resources/resources_ro.yml
|
106
|
+
- resources/resources_ru.yml
|
104
107
|
- spec/casing_spec.rb
|
105
108
|
- spec/exp_descriptor_en_spec.rb
|
106
109
|
- spec/exp_descriptor_fr_spec.rb
|
107
110
|
- spec/exp_descriptor_pt_BR_spec.rb
|
111
|
+
- spec/exp_descriptor_ro_spec.rb
|
112
|
+
- spec/exp_descriptor_ru_spec.rb
|
108
113
|
- spec/spec_helper.rb
|
109
114
|
homepage: https://github.com/alpinweis/cronex
|
110
115
|
licenses:
|
@@ -116,17 +121,17 @@ require_paths:
|
|
116
121
|
- lib
|
117
122
|
required_ruby_version: !ruby/object:Gem::Requirement
|
118
123
|
requirements:
|
119
|
-
- -
|
124
|
+
- - ">="
|
120
125
|
- !ruby/object:Gem::Version
|
121
126
|
version: 1.9.3
|
122
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
128
|
requirements:
|
124
|
-
- -
|
129
|
+
- - ">="
|
125
130
|
- !ruby/object:Gem::Version
|
126
131
|
version: '0'
|
127
132
|
requirements: []
|
128
133
|
rubyforge_project:
|
129
|
-
rubygems_version: 2.
|
134
|
+
rubygems_version: 2.5.1
|
130
135
|
signing_key:
|
131
136
|
specification_version: 4
|
132
137
|
summary: Ruby library that converts cron expressions into human readable strings
|
@@ -135,4 +140,6 @@ test_files:
|
|
135
140
|
- spec/exp_descriptor_en_spec.rb
|
136
141
|
- spec/exp_descriptor_fr_spec.rb
|
137
142
|
- spec/exp_descriptor_pt_BR_spec.rb
|
143
|
+
- spec/exp_descriptor_ro_spec.rb
|
144
|
+
- spec/exp_descriptor_ru_spec.rb
|
138
145
|
- spec/spec_helper.rb
|