flor 0.0.1
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.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +7 -0
- data/Rakefile +52 -0
- data/flor.gemspec +36 -0
- data/lib/flor.rb +31 -0
- metadata +77 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: f1e93081e56d396d007a70e9692a819aafca389b
|
|
4
|
+
data.tar.gz: c6d3b034da40ba64af7569e55ad03d00b3007bf7
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 92fbb5ce515da2f2f1495ae42feb609c150503307924945c2eebe2ed0a6a72ecea2a1096e9af2f1746081a592bf2bb212153e56da662a56b1e28fdbed3e6d03d
|
|
7
|
+
data.tar.gz: 4ae50173c1c27e3b8e06838b19fb9051f024e076a474917ddc9557268bdf2704813e078a5a28ead18989511dc39cdeb06738818f1211263ff17a19dfd93f2e76
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
|
|
2
|
+
Copyright (c) 2015-2015, John Mettraux, jmettraux+flon@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/README.md
ADDED
data/Rakefile
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
|
|
2
|
+
require 'rubygems'
|
|
3
|
+
|
|
4
|
+
require 'rake'
|
|
5
|
+
require 'rake/clean'
|
|
6
|
+
require 'rdoc/task'
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
#
|
|
10
|
+
# clean
|
|
11
|
+
|
|
12
|
+
CLEAN.include('pkg', 'rdoc')
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
#
|
|
16
|
+
# test / spec
|
|
17
|
+
|
|
18
|
+
#task :spec => :check_dependencies do
|
|
19
|
+
task :spec do
|
|
20
|
+
exec 'rspec spec/'
|
|
21
|
+
end
|
|
22
|
+
task :test => :spec
|
|
23
|
+
|
|
24
|
+
task :default => :spec
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
#
|
|
28
|
+
# gem
|
|
29
|
+
|
|
30
|
+
GEMSPEC_FILE = Dir['*.gemspec'].first
|
|
31
|
+
GEMSPEC = eval(File.read(GEMSPEC_FILE))
|
|
32
|
+
GEMSPEC.validate
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
desc %{
|
|
36
|
+
builds the gem and places it in pkg/
|
|
37
|
+
}
|
|
38
|
+
task :build do
|
|
39
|
+
|
|
40
|
+
sh "gem build #{GEMSPEC_FILE}"
|
|
41
|
+
sh "mkdir -p pkg"
|
|
42
|
+
sh "mv #{GEMSPEC.name}-#{GEMSPEC.version}.gem pkg/"
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
desc %{
|
|
46
|
+
builds the gem and pushes it to rubygems.org
|
|
47
|
+
}
|
|
48
|
+
task :push => :build do
|
|
49
|
+
|
|
50
|
+
sh "gem push pkg/#{GEMSPEC.name}-#{GEMSPEC.version}.gem"
|
|
51
|
+
end
|
|
52
|
+
|
data/flor.gemspec
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
Gem::Specification.new do |s|
|
|
3
|
+
|
|
4
|
+
s.name = 'flor'
|
|
5
|
+
|
|
6
|
+
s.version = File.read(
|
|
7
|
+
File.expand_path('../lib/flor.rb', __FILE__)
|
|
8
|
+
).match(/ VERSION *= *['"]([^'"]+)/)[1]
|
|
9
|
+
|
|
10
|
+
s.platform = Gem::Platform::RUBY
|
|
11
|
+
s.authors = [ 'John Mettraux' ]
|
|
12
|
+
s.email = [ 'jmettraux@gmail.com' ]
|
|
13
|
+
s.homepage = 'http://github.com/flon-io/flor'
|
|
14
|
+
#s.rubyforge_project = 'flor'
|
|
15
|
+
s.license = 'MIT'
|
|
16
|
+
s.summary = 'the flon programs, in Ruby'
|
|
17
|
+
|
|
18
|
+
s.description = %{
|
|
19
|
+
the flon programs, in Ruby
|
|
20
|
+
}.strip
|
|
21
|
+
|
|
22
|
+
#s.files = `git ls-files`.split("\n")
|
|
23
|
+
s.files = Dir[
|
|
24
|
+
'Rakefile',
|
|
25
|
+
'lib/**/*.rb', 'spec/**/*.rb', 'test/**/*.rb',
|
|
26
|
+
'*.gemspec', '*.txt', '*.rdoc', '*.md'
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
#s.add_runtime_dependency 'tzinfo'
|
|
30
|
+
|
|
31
|
+
s.add_development_dependency 'rake'
|
|
32
|
+
s.add_development_dependency 'rspec', '>= 2.13.0'
|
|
33
|
+
|
|
34
|
+
s.require_path = 'lib'
|
|
35
|
+
end
|
|
36
|
+
|
data/lib/flor.rb
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
|
|
2
|
+
#--
|
|
3
|
+
# Copyright (c) 2015-2015, John Mettraux, jmettraux+flon@gmail.com
|
|
4
|
+
#
|
|
5
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
# of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
# in the Software without restriction, including without limitation the rights
|
|
8
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
# copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
# furnished to do so, subject to the following conditions:
|
|
11
|
+
#
|
|
12
|
+
# The above copyright notice and this permission notice shall be included in
|
|
13
|
+
# all copies or substantial portions of the Software.
|
|
14
|
+
#
|
|
15
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
# THE SOFTWARE.
|
|
22
|
+
#
|
|
23
|
+
# Made in Japan.
|
|
24
|
+
#++
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
module Flor
|
|
28
|
+
|
|
29
|
+
VERSION = '0.0.1'
|
|
30
|
+
end
|
|
31
|
+
|
metadata
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: flor
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- John Mettraux
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2015-11-04 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: rake
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - '>='
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0'
|
|
20
|
+
type: :development
|
|
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: 2.13.0
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - '>='
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: 2.13.0
|
|
41
|
+
description: the flon programs, in Ruby
|
|
42
|
+
email:
|
|
43
|
+
- jmettraux@gmail.com
|
|
44
|
+
executables: []
|
|
45
|
+
extensions: []
|
|
46
|
+
extra_rdoc_files: []
|
|
47
|
+
files:
|
|
48
|
+
- Rakefile
|
|
49
|
+
- lib/flor.rb
|
|
50
|
+
- flor.gemspec
|
|
51
|
+
- LICENSE.txt
|
|
52
|
+
- README.md
|
|
53
|
+
homepage: http://github.com/flon-io/flor
|
|
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: the flon programs, in Ruby
|
|
77
|
+
test_files: []
|