fugit 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (7) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/Makefile +31 -0
  4. data/README.md +6 -0
  5. data/fugit.gemspec +35 -0
  6. data/lib/fugit.rb +30 -0
  7. metadata +77 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: abef59b5a960f5a9ed236dc1395bc3fd7b0d0a2e
4
+ data.tar.gz: d67e8a8c23cf0a7d61f26826e390a0bbf5a0e184
5
+ SHA512:
6
+ metadata.gz: e3f6589fbb9f41615f1826cd823f286f5f274f85784ba287f9898de93a94152f4fdf627b493043b45b4745d5cc13995b9e82bf8109d8b7b2a686cda28d65b19d
7
+ data.tar.gz: 3bc24d23a8a5f1b0e9bd5e115e27c9b30a7f0f49c9ecfef1f9116269c19f97226f56832e5e7ac9e469a2a2e7167a98c7495c74f2c6ed27895b1d83832aa7b2d7
@@ -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
+
@@ -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
+
@@ -0,0 +1,6 @@
1
+
2
+ # fugit
3
+
4
+ ## LICENSE
5
+
6
+ MIT, see [LICENSE.txt](LICENSE.txt)
@@ -0,0 +1,35 @@
1
+
2
+ Gem::Specification.new do |s|
3
+
4
+ s.name = 'fugit'
5
+
6
+ s.version = File.read(
7
+ File.expand_path('../lib/fugit.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/fugit'
14
+ s.license = 'MIT'
15
+ s.summary = 'time oriented utils for flor'
16
+
17
+ s.description = %{
18
+ time oriented utilities for flor and the floraison project
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.2'
30
+
31
+ s.add_development_dependency 'rspec', '~> 3.4'
32
+
33
+ s.require_path = 'lib'
34
+ end
35
+
@@ -0,0 +1,30 @@
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
+ #
22
+ # Made in Japan.
23
+ #++
24
+
25
+
26
+ module Fugit
27
+
28
+ VERSION = '0.1.0'
29
+ end
30
+
metadata ADDED
@@ -0,0 +1,77 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fugit
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - John Mettraux
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-01-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: raabro
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: 1.1.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: 1.1.2
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 oriented utilities for flor and the floraison project
42
+ email:
43
+ - jmettraux+flor@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - Makefile
49
+ - lib/fugit.rb
50
+ - fugit.gemspec
51
+ - LICENSE.txt
52
+ - README.md
53
+ homepage: http://github.com/floraison/fugit
54
+ licenses:
55
+ - MIT
56
+ metadata: {}
57
+ post_install_message:
58
+ rdoc_options: []
59
+ require_paths:
60
+ - lib
61
+ required_ruby_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ required_rubygems_version: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - '>='
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ requirements: []
72
+ rubyforge_project:
73
+ rubygems_version: 2.0.14
74
+ signing_key:
75
+ specification_version: 4
76
+ summary: time oriented utils for flor
77
+ test_files: []