kekkan 0.0.1 → 0.0.4
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/Gemfile +2 -0
- data/LICENSE +16 -22
- data/NEWS.markdown +4 -0
- data/README.markdown +2 -4
- data/Rakefile +38 -31
- data/bin/kekkan +16 -23
- data/kekkan.gemspec +26 -34
- data/lib/kekkan.rb +20 -31
- data/lib/kekkan/base.rb +16 -22
- data/lib/kekkan/base/schema.rb +16 -22
- data/lib/kekkan/cli.rb +16 -22
- data/lib/kekkan/cli/application.rb +16 -22
- data/lib/kekkan/cli/banner.rb +16 -24
- data/lib/kekkan/models.rb +16 -22
- data/lib/kekkan/models/assessmentcheck.rb +16 -22
- data/lib/kekkan/models/cvss.rb +16 -22
- data/lib/kekkan/models/entry.rb +16 -22
- data/lib/kekkan/models/reference.rb +16 -22
- data/lib/kekkan/models/scanner.rb +16 -22
- data/lib/kekkan/models/version.rb +16 -22
- data/lib/kekkan/models/vulnerablesoftwarelist.rb +16 -22
- data/lib/kekkan/parsers.rb +16 -22
- data/lib/kekkan/parsers/cve_2_sax_listener.rb +16 -22
- data/lib/kekkan/version.rb +28 -0
- metadata +46 -37
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 44b6b8f0fb4465e6bd598f951e28253f042ab554
|
4
|
+
data.tar.gz: c5166d0858ff6de61f19f5aeab83eb153fac611a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 490c1032a53447a9803735234ff23c02801bd5cf02552d4730ef2de2a4032dc878372998593c25628ace9450e51e94b7e1ddbfdd0bcaab6df1b18cb6c6fdbc2d
|
7
|
+
data.tar.gz: 0b957d7e1f2e611cb98270fc6d6d9ad74304f08d3b4b83730266197823fc459780f71217685e225c5e74d6bcba6ff21c795c242d0785023edf00ced13fbde29d
|
data/Gemfile
ADDED
data/LICENSE
CHANGED
@@ -1,25 +1,19 @@
|
|
1
|
-
Copyright (c) 2012 Arxopia LLC.
|
2
|
-
All rights reserved.
|
1
|
+
Copyright (c) 2012-2016 Arxopia LLC.
|
3
2
|
|
4
|
-
|
5
|
-
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
5
|
+
in the Software without restriction, including without limitation the rights
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
8
|
+
furnished to do so, subject to the following conditions:
|
6
9
|
|
7
|
-
|
8
|
-
|
9
|
-
* Redistributions in binary form must reproduce the above copyright
|
10
|
-
notice, this list of conditions and the following disclaimer in the
|
11
|
-
documentation and/or other materials provided with the distribution.
|
12
|
-
* Neither the name of the Arxopia LLC nor the names of its contributors
|
13
|
-
may be used to endorse or promote products derived from this software
|
14
|
-
without specific prior written permission.
|
10
|
+
The above copyright notice and this permission notice shall be included in
|
11
|
+
all copies or substantial portions of the Software.
|
15
12
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
24
|
-
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
25
|
-
OF THE POSSIBILITY OF SUCH DAMAGE.
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
+
THE SOFTWARE.
|
data/NEWS.markdown
CHANGED
data/README.markdown
CHANGED
@@ -1,11 +1,9 @@
|
|
1
|
-
#Kekkan
|
1
|
+
#Kekkan [](http://badge.fury.io/rb/risu) [](https://travis-ci.org/arxopia/risu) [](https://codeclimate.com/github/arxopia/risu) [](http://inch-ci.org/github/arxopia/risu)
|
2
2
|
|
3
3
|
Kekkan is a parser and [ActiveRecord](http://api.rubyonrails.org/classes/ActiveRecord/Base.html) database for NVD CVE and CPE XML files.
|
4
4
|
|
5
5
|
The name comes from the Japanese word for 'flaw/defect'.
|
6
6
|
|
7
|
-
Version **0.0.1** is the current release.
|
8
|
-
|
9
7
|
# Requirements
|
10
8
|
|
11
9
|
##Ruby
|
@@ -22,7 +20,7 @@ Kekkan relies heavily on [RubyGems](http://rubygems.org/) to install other depen
|
|
22
20
|
Installation is really easy just gem install!
|
23
21
|
|
24
22
|
% gem install kekkan
|
25
|
-
|
23
|
+
|
26
24
|
## Database Setup
|
27
25
|
|
28
26
|
% kekkan --create-config
|
data/Rakefile
CHANGED
@@ -1,43 +1,50 @@
|
|
1
|
-
# Copyright (c) 2012 Arxopia LLC.
|
2
|
-
#
|
3
|
-
|
4
|
-
#
|
5
|
-
#
|
6
|
-
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
12
|
-
#
|
13
|
-
#
|
14
|
-
#
|
15
|
-
|
16
|
-
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
20
|
-
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
21
|
-
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
22
|
-
# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
23
|
-
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
24
|
-
#OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
25
|
-
#OF THE POSSIBILITY OF SUCH DAMAGE.
|
1
|
+
# Copyright (c) 2012-2016 Arxopia LLC.
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
# of this software and associated documentation files (the "Software"), to deal
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
8
|
+
# furnished to do so, subject to the following conditions:
|
9
|
+
#
|
10
|
+
# The above copyright notice and this permission notice shall be included in
|
11
|
+
# all copies or substantial portions of the Software.
|
12
|
+
#
|
13
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
+
# THE SOFTWARE.
|
26
20
|
|
27
21
|
$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
|
28
22
|
|
29
|
-
require
|
30
|
-
require "kekkan"
|
23
|
+
require "kekkan/version"
|
31
24
|
require 'rake'
|
32
25
|
require 'rake/testtask'
|
33
26
|
|
34
27
|
task :build do
|
35
|
-
|
28
|
+
system "gem build #{Kekkan::APP_NAME}.gemspec"
|
36
29
|
end
|
37
30
|
|
38
|
-
task :
|
39
|
-
|
40
|
-
|
31
|
+
task :tag_and_bag do
|
32
|
+
system "git tag -a v#{Kekkan::VERSION} -m 'version #{Kekkan::VERSION}'"
|
33
|
+
system "git push --tags"
|
34
|
+
system "git checkout master"
|
35
|
+
system "git merge dev"
|
36
|
+
system "git push"
|
37
|
+
end
|
38
|
+
|
39
|
+
task :push do
|
40
|
+
system "gem push #{Kekkan::APP_NAME}-#{Kekkan::VERSION}.gem"
|
41
|
+
end
|
42
|
+
|
43
|
+
task :tweet do
|
44
|
+
puts "Just released #{Kekkan::APP_NAME} v#{Kekkan::VERSION}. #{Kekkan::APP_NAME} is an Nessus XML parser/database/report generator. More information at #{Kekkan::SITE}"
|
45
|
+
end
|
46
|
+
|
47
|
+
task :release => [:tag_and_bag, :build, :push, :tweet] do
|
41
48
|
end
|
42
49
|
|
43
50
|
task :clean do
|
data/bin/kekkan
CHANGED
@@ -1,30 +1,23 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
# Copyright (c) 2012-2016 Arxopia LLC.
|
2
3
|
#
|
3
|
-
#
|
4
|
-
#
|
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:
|
5
10
|
#
|
6
|
-
#
|
7
|
-
#
|
11
|
+
# The above copyright notice and this permission notice shall be included in
|
12
|
+
# all copies or substantial portions of the Software.
|
8
13
|
#
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
12
|
-
#
|
13
|
-
#
|
14
|
-
#
|
15
|
-
#
|
16
|
-
# without specific prior written permission.
|
17
|
-
#
|
18
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
19
|
-
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
20
|
-
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
21
|
-
# DISCLAIMED. IN NO EVENT SHALL ARXOPIA LLC BE LIABLE FOR ANY DIRECT, INDIRECT,
|
22
|
-
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
23
|
-
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
24
|
-
# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
25
|
-
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
26
|
-
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
27
|
-
# OF THE POSSIBILITY OF SUCH DAMAGE.
|
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 NON INFRINGEMENT. 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.
|
28
21
|
|
29
22
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '/../lib'))
|
30
23
|
|
data/kekkan.gemspec
CHANGED
@@ -1,45 +1,38 @@
|
|
1
|
-
# Copyright (c) 2012 Arxopia LLC.
|
2
|
-
#
|
3
|
-
|
4
|
-
#
|
5
|
-
#
|
6
|
-
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
12
|
-
#
|
13
|
-
#
|
14
|
-
#
|
15
|
-
|
16
|
-
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
20
|
-
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
21
|
-
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
22
|
-
# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
23
|
-
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
24
|
-
#OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
25
|
-
#OF THE POSSIBILITY OF SUCH DAMAGE.
|
1
|
+
# Copyright (c) 2012-2016 Arxopia LLC.
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
# of this software and associated documentation files (the "Software"), to deal
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
8
|
+
# furnished to do so, subject to the following conditions:
|
9
|
+
#
|
10
|
+
# The above copyright notice and this permission notice shall be included in
|
11
|
+
# all copies or substantial portions of the Software.
|
12
|
+
#
|
13
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
+
# THE SOFTWARE.
|
26
20
|
|
27
21
|
base = __FILE__
|
28
22
|
$:.unshift(File.join(File.dirname(base), 'lib'))
|
29
23
|
|
30
|
-
require '
|
31
|
-
require 'kekkan'
|
24
|
+
require 'kekkan/version'
|
32
25
|
|
33
26
|
Gem::Specification.new do |s|
|
34
27
|
s.name = "#{Kekkan::APP_NAME}"
|
35
28
|
s.version = Kekkan::VERSION
|
36
|
-
s.homepage =
|
29
|
+
s.homepage = Kekkan::SITE
|
37
30
|
s.summary = "#{Kekkan::APP_NAME}"
|
38
31
|
s.description = "#{Kekkan::APP_NAME} is an SAX XML parser and database for NVD CVE and CPE XML files."
|
39
|
-
s.license = "
|
32
|
+
s.license = "MIT"
|
40
33
|
|
41
|
-
s.author =
|
42
|
-
s.email =
|
34
|
+
s.author = Kekkan::AUTHOR
|
35
|
+
s.email = Kekkan::EMAIL
|
43
36
|
|
44
37
|
s.files = Dir['[A-Z]*'] + Dir['lib/**/*'] + ['kekkan.gemspec']
|
45
38
|
s.bindir = "bin"
|
@@ -48,9 +41,8 @@ Gem::Specification.new do |s|
|
|
48
41
|
s.has_rdoc = 'yard'
|
49
42
|
s.extra_rdoc_files = ["README.markdown", "LICENSE"]
|
50
43
|
|
51
|
-
s.required_rubygems_version = ">= 1.8.24"
|
52
44
|
s.rubyforge_project = "#{Kekkan::APP_NAME}"
|
53
45
|
|
54
|
-
s.
|
55
|
-
s.
|
46
|
+
s.add_runtime_dependency 'rails', '~> 4.2', '>= 4.2.6'
|
47
|
+
s.add_runtime_dependency 'nokogiri', '~> 1.6', '>= 1.6.8'
|
56
48
|
end
|
data/lib/kekkan.rb
CHANGED
@@ -1,36 +1,24 @@
|
|
1
|
-
# Copyright (c) 2012 Arxopia LLC.
|
2
|
-
#
|
3
|
-
|
4
|
-
#
|
5
|
-
#
|
6
|
-
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
12
|
-
#
|
13
|
-
#
|
14
|
-
#
|
15
|
-
|
16
|
-
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
20
|
-
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
21
|
-
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
22
|
-
# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
23
|
-
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
24
|
-
#OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
25
|
-
#OF THE POSSIBILITY OF SUCH DAMAGE.
|
1
|
+
# Copyright (c) 2012-2016 Arxopia LLC.
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
# of this software and associated documentation files (the "Software"), to deal
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
8
|
+
# furnished to do so, subject to the following conditions:
|
9
|
+
#
|
10
|
+
# The above copyright notice and this permission notice shall be included in
|
11
|
+
# all copies or substantial portions of the Software.
|
12
|
+
#
|
13
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
+
# THE SOFTWARE.
|
26
20
|
|
27
21
|
module Kekkan
|
28
|
-
APP_NAME = "kekkan"
|
29
|
-
VERSION = "0.0.1"
|
30
|
-
AUTHOR = "Arxopia LLC."
|
31
|
-
EMAIL = "kekkan@arxopia.com"
|
32
|
-
SITE = "http:://www.arxopia.com/projects/kekkan"
|
33
|
-
CONFIG_FILE = "./kekkan.cfg"
|
34
22
|
end
|
35
23
|
|
36
24
|
require 'rails'
|
@@ -41,6 +29,7 @@ require 'irb'
|
|
41
29
|
require 'yaml'
|
42
30
|
require 'nokogiri'
|
43
31
|
|
32
|
+
require 'kekkan/base'
|
44
33
|
require 'kekkan/base'
|
45
34
|
require 'kekkan/cli'
|
46
35
|
require 'kekkan/models'
|
data/lib/kekkan/base.rb
CHANGED
@@ -1,28 +1,22 @@
|
|
1
|
-
# Copyright (c)
|
2
|
-
# All rights reserved.
|
1
|
+
# Copyright (c) 2012-2016 Arxopia LLC.
|
3
2
|
#
|
4
|
-
#
|
5
|
-
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
# of this software and associated documentation files (the "Software"), to deal
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
8
|
+
# furnished to do so, subject to the following conditions:
|
6
9
|
#
|
7
|
-
#
|
8
|
-
#
|
9
|
-
# * Redistributions in binary form must reproduce the above copyright
|
10
|
-
# notice, this list of conditions and the following disclaimer in the
|
11
|
-
# documentation and/or other materials provided with the distribution.
|
12
|
-
# * Neither the name of the Arxopia LLC nor the names of its contributors
|
13
|
-
# may be used to endorse or promote products derived from this software
|
14
|
-
# without specific prior written permission.
|
10
|
+
# The above copyright notice and this permission notice shall be included in
|
11
|
+
# all copies or substantial portions of the Software.
|
15
12
|
#
|
16
|
-
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
20
|
-
#
|
21
|
-
#
|
22
|
-
#
|
23
|
-
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
24
|
-
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
25
|
-
# OF THE POSSIBILITY OF SUCH DAMAGE.
|
13
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
+
# THE SOFTWARE.
|
26
20
|
|
27
21
|
module Kekkan
|
28
22
|
module Base
|
data/lib/kekkan/base/schema.rb
CHANGED
@@ -1,28 +1,22 @@
|
|
1
|
-
# Copyright (c)
|
2
|
-
# All rights reserved.
|
1
|
+
# Copyright (c) 2012-2016 Arxopia LLC.
|
3
2
|
#
|
4
|
-
#
|
5
|
-
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
# of this software and associated documentation files (the "Software"), to deal
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
8
|
+
# furnished to do so, subject to the following conditions:
|
6
9
|
#
|
7
|
-
#
|
8
|
-
#
|
9
|
-
# * Redistributions in binary form must reproduce the above copyright
|
10
|
-
# notice, this list of conditions and the following disclaimer in the
|
11
|
-
# documentation and/or other materials provided with the distribution.
|
12
|
-
# * Neither the name of the Arxopia LLC nor the names of its contributors
|
13
|
-
# may be used to endorse or promote products derived from this software
|
14
|
-
# without specific prior written permission.
|
10
|
+
# The above copyright notice and this permission notice shall be included in
|
11
|
+
# all copies or substantial portions of the Software.
|
15
12
|
#
|
16
|
-
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
20
|
-
#
|
21
|
-
#
|
22
|
-
#
|
23
|
-
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
24
|
-
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
25
|
-
# OF THE POSSIBILITY OF SUCH DAMAGE.
|
13
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
+
# THE SOFTWARE.
|
26
20
|
|
27
21
|
module Kekkan
|
28
22
|
module Base
|