cron_format 0.3.1 → 0.3.2

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: 6b7a9ad799ea0d334a9bcdd94b3cd030bc94b6e0
4
- data.tar.gz: cfa16945499ebd07cad406d1b44ab5397a701ac3
3
+ metadata.gz: 99a0ca904d654c337740464abd374dba588c9b17
4
+ data.tar.gz: 16fead223c0e283f59131ad3e531e8c7a1c532e3
5
5
  SHA512:
6
- metadata.gz: 80640d911aa6ca0a7754edbd853b546bab8a8d664ec0c62bccae10f30adab0858edf3e11bc43f5b36fb150563b9caab17a3aeeaa93e2223261576000b035fe2e
7
- data.tar.gz: 72804d3f01e34d5ae5b3f478d249fa4248f5d88af191fb58584cd275400e70ffedaddd6cd6bbc48a51ffdc66a95fca002ed7dc14e852b656e49417ddeda9022b
6
+ metadata.gz: a01c508a4c06f085a992eac8429dcc2cdf25ea46111f6d9d199ee93e374eb929db9bbab3b0c15a9cc12e50edf49ca093a34c26d359465a9dc5e3f3ed7a1a055f
7
+ data.tar.gz: 14a894176506cd61ec1950fb4c6cae49dfde78d57f7b0ffb79683e4f06cc86c8b2ccac94963242b7478450d140371dbad561c07b329eed93dad8199b6bffc910
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/cron_format.rb CHANGED
@@ -39,7 +39,7 @@ class CronFormat
39
39
  val = if @cron_string =~ %r{[/,-]} then
40
40
  a.reverse.detect{|x| x[/[\/,-]/]}
41
41
  else
42
- a.detect{|x| x != '*'}
42
+ a[1..-1].detect{|x| x != '*'}
43
43
  end
44
44
 
45
45
  index, n = 0, 1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cron_format
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  MmJuAQVfTk9wZd03YN619a64hLGIvud4ASW7UVAW0B4U0PcmbhHvne07e11jt7j5
32
32
  WwVcDIvT38Bo3hAt
33
33
  -----END CERTIFICATE-----
34
- date: 2015-04-02 00:00:00.000000000 Z
34
+ date: 2015-04-14 00:00:00.000000000 Z
35
35
  dependencies: []
36
36
  description:
37
37
  email: james@r0bertson.co.uk
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  version: '0'
61
61
  requirements: []
62
62
  rubyforge_project:
63
- rubygems_version: 2.4.5
63
+ rubygems_version: 2.4.6
64
64
  signing_key:
65
65
  specification_version: 4
66
66
  summary: cron_format
metadata.gz.sig CHANGED
Binary file