et-orbi 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CREDITS.md +7 -0
- data/LICENSE.txt +21 -0
- data/Makefile +31 -0
- data/README.md +21 -0
- data/et-orbi.gemspec +35 -0
- data/lib/et-orbi.rb +6 -0
- data/lib/etorbi.rb +3 -0
- metadata +79 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f0b0845026be5ba2ba99cd43c9e91707a5167cc9
|
4
|
+
data.tar.gz: cf5a240deda4fc762680ed76ced5577d60d99f90
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1ea3c04b92874cf22162ae67b80028845ecabb64e582444161b1a088e1dfcc521c60f7fbfce41b664a8054b1b9e807d6174b4a386c88104619f213b350331fa5
|
7
|
+
data.tar.gz: a76d3b266adfabbfc6010b21457d28d80c2a4945c138f791bd931ad999eda0126692ef07771ec3d7929e4d34f64ca3faaaee6446baefb3c8531ba0ce6a9e224f
|
data/CREDITS.md
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
|
2
|
+
Copyright (c) 2017-2017, John Mettraux, jmettraux+flor@gmail.com
|
3
|
+
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
+
of this software and associated documentation files (the "Software"), to deal
|
6
|
+
in the Software without restriction, including without limitation the rights
|
7
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
+
copies of the Software, and to permit persons to whom the Software is
|
9
|
+
furnished to do so, subject to the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be included in
|
12
|
+
all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
16
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
17
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
18
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
19
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
20
|
+
THE SOFTWARE.
|
21
|
+
|
data/Makefile
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
|
2
|
+
## gem tasks ##
|
3
|
+
|
4
|
+
NAME = \
|
5
|
+
$(shell ruby -e "s = eval(File.read(Dir['*.gemspec'][0])); puts s.name")
|
6
|
+
VERSION = \
|
7
|
+
$(shell ruby -e "s = eval(File.read(Dir['*.gemspec'][0])); puts s.version")
|
8
|
+
|
9
|
+
count_lines:
|
10
|
+
find lib -name "*.rb" | xargs cat | ruby -e "p STDIN.readlines.count { |l| l = l.strip; l[0, 1] != '#' && l != '' }"
|
11
|
+
cl: count_lines
|
12
|
+
|
13
|
+
gemspec_validate:
|
14
|
+
@echo "---"
|
15
|
+
ruby -e "s = eval(File.read(Dir['*.gemspec'].first)); s.validate"
|
16
|
+
@echo "---"
|
17
|
+
|
18
|
+
name: gemspec_validate
|
19
|
+
@echo "$(NAME) $(VERSION)"
|
20
|
+
|
21
|
+
build: gemspec_validate
|
22
|
+
gem build $(NAME).gemspec
|
23
|
+
mkdir -p pkg
|
24
|
+
mv $(NAME)-$(VERSION).gem pkg/
|
25
|
+
|
26
|
+
push: build
|
27
|
+
gem push pkg/$(NAME)-$(VERSION).gem
|
28
|
+
|
29
|
+
|
30
|
+
.PHONY: build push
|
31
|
+
|
data/README.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
|
2
|
+
# et-orbi
|
3
|
+
|
4
|
+
[![Build Status](https://secure.travis-ci.org/floraison/et-orbi.svg)](http://travis-ci.org/floraison/et-orbi)
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/et-orbi.svg)](http://badge.fury.io/rb/et-orbi)
|
6
|
+
|
7
|
+
Time zones for [fugit](https://github.com/floraison/fugit) and for [rufus-scheduler](https://github.com/jmettraux/rufus-scheduler). Urbi et Orbi.
|
8
|
+
|
9
|
+
|
10
|
+
## Related projects
|
11
|
+
|
12
|
+
### Sister projects
|
13
|
+
|
14
|
+
* [rufus-scheduler](https://github.com/jmettraux/rufus-scheduler) - a cron/at/in/every/interval in-process scheduler, in fact, it's the father project to this fugit project
|
15
|
+
* [fugit](https://github.com/floraison/fugit) - Time tools for flor and the floraison project. Cron parsing and occurence computing. Timestamps and more.
|
16
|
+
|
17
|
+
|
18
|
+
## LICENSE
|
19
|
+
|
20
|
+
MIT, see [LICENSE.txt](LICENSE.txt)
|
21
|
+
|
data/et-orbi.gemspec
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
|
2
|
+
Gem::Specification.new do |s|
|
3
|
+
|
4
|
+
s.name = 'et-orbi'
|
5
|
+
|
6
|
+
s.version = File.read(
|
7
|
+
File.expand_path('../lib/et-orbi.rb', __FILE__)
|
8
|
+
).match(/ VERSION *= *['"]([^'"]+)/)[1]
|
9
|
+
|
10
|
+
s.platform = Gem::Platform::RUBY
|
11
|
+
s.authors = [ 'John Mettraux' ]
|
12
|
+
s.email = [ 'jmettraux+flor@gmail.com' ]
|
13
|
+
s.homepage = 'http://github.com/floraison/et-orbi'
|
14
|
+
s.license = 'MIT'
|
15
|
+
s.summary = 'time with zones'
|
16
|
+
|
17
|
+
s.description = %{
|
18
|
+
Time zones for fugit and rufus-scheduler. Urbi et Orbi.
|
19
|
+
}.strip
|
20
|
+
|
21
|
+
#s.files = `git ls-files`.split("\n")
|
22
|
+
s.files = Dir[
|
23
|
+
'Makefile',
|
24
|
+
'lib/**/*.rb', #'spec/**/*.rb', 'test/**/*.rb',
|
25
|
+
'*.gemspec', '*.txt', '*.md'
|
26
|
+
]
|
27
|
+
|
28
|
+
s.add_runtime_dependency 'tzinfo'
|
29
|
+
#s.add_runtime_dependency 'raabro', '>= 1.1.3'
|
30
|
+
|
31
|
+
s.add_development_dependency 'rspec', '~> 3.4'
|
32
|
+
|
33
|
+
s.require_path = 'lib'
|
34
|
+
end
|
35
|
+
|
data/lib/et-orbi.rb
ADDED
data/lib/etorbi.rb
ADDED
metadata
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: et-orbi
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.9.5
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- John Mettraux
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-03-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: tzinfo
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.4'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.4'
|
41
|
+
description: Time zones for fugit and rufus-scheduler. Urbi et Orbi.
|
42
|
+
email:
|
43
|
+
- jmettraux+flor@gmail.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- Makefile
|
49
|
+
- lib/et-orbi.rb
|
50
|
+
- lib/etorbi.rb
|
51
|
+
- et-orbi.gemspec
|
52
|
+
- LICENSE.txt
|
53
|
+
- CREDITS.md
|
54
|
+
- README.md
|
55
|
+
homepage: http://github.com/floraison/et-orbi
|
56
|
+
licenses:
|
57
|
+
- MIT
|
58
|
+
metadata: {}
|
59
|
+
post_install_message:
|
60
|
+
rdoc_options: []
|
61
|
+
require_paths:
|
62
|
+
- lib
|
63
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - '>='
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - '>='
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '0'
|
73
|
+
requirements: []
|
74
|
+
rubyforge_project:
|
75
|
+
rubygems_version: 2.0.14
|
76
|
+
signing_key:
|
77
|
+
specification_version: 4
|
78
|
+
summary: time with zones
|
79
|
+
test_files: []
|