termkit 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b6770eb73c73bd20e0f77c236eb37b273b06f15c
4
+ data.tar.gz: c9ce9e4938d9a72abf0c884d8888983e70e86ed6
5
+ SHA512:
6
+ metadata.gz: d16a0c4b0038157e8b4ddd9b9e99a7b1a1438c145b272f9beeefc6462617e51d5f847ceb9d81bd6a8f16982d51ee4e378350040e6faf16aaa07dd3e0d668abc4
7
+ data.tar.gz: 1e1a35bee654a35afd72e5691f8e0727232dbfbe018edd162dc660779ae84dbb479d09e71ded7c01a3286e5f4df0821f815e4ff58f3d7d8f695d34d6c1e20199
data/.gitignore ADDED
@@ -0,0 +1,5 @@
1
+ /.bundle/
2
+ .setup
3
+ CHANGELOG-*.txt
4
+ Gemfile.lock
5
+ /releases/
data/.travis.yml ADDED
@@ -0,0 +1,16 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.1
4
+ - 2.2
5
+ sudo: required
6
+ before_install:
7
+ - gem update --system
8
+ - gem install bundler -v '~>1.11'
9
+ - bundler --version
10
+ install:
11
+ - make
12
+ - gem build termkit.gemspec
13
+ - gem install termkit-*.gem
14
+ - gem list -l termkit
15
+ script:
16
+ - make test
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+
2
+ source 'https://rubygems.org'
3
+ gemspec
data/Makefile ADDED
@@ -0,0 +1,8 @@
1
+
2
+ GEM_NAME = termkit
3
+
4
+ include Makefile.common
5
+
6
+ .PHONY: test
7
+ test:
8
+ RUBYOPT=-w $(BUNDLER) exec ./tests/ts_all.rb
data/Makefile.common ADDED
@@ -0,0 +1,56 @@
1
+
2
+ # Ruby Common Big
3
+ # 2016-05-20
4
+
5
+ MV = mv -nv
6
+ RM = rm -rfd
7
+ MKDIR = mkdir -p
8
+ CHMOD = chmod
9
+ BUNDLER = bundle
10
+ BUNDLER_OPTIONS = --jobs=5 --retry=3
11
+ GEMSPEC_FILE = $(GEM_NAME).gemspec
12
+
13
+ .PHONY: all
14
+ all: setup $(ALL_TARGETS_EXT)
15
+
16
+ .PHONY: setup
17
+ setup: .setup
18
+
19
+ .setup:
20
+ $(BUNDLER) install $(BUNDLER_OPTIONS)
21
+ touch $@
22
+
23
+ .PHONY: install
24
+ install:
25
+ gem_file=$$(gem build $(GEMSPEC_FILE) | grep 'File:' | tail -1 | awk '{ print $$2 }'); \
26
+ sudo gem install $$gem_file; \
27
+ $(RM) $$gem_file
28
+
29
+ .PHONY: uninstall
30
+ uninstall:
31
+ sudo gem uninstall $(GEM_NAME)
32
+
33
+ .PHONY: update
34
+ update:
35
+ $(BUNDLER) update
36
+
37
+ .PHONY: clean
38
+ clean:
39
+ $(RM) .bundle .setup Gemfile.lock
40
+
41
+ .PHONY: release
42
+ release: | releases
43
+ set -e; \
44
+ gem_file=$$(gem build $(GEMSPEC_FILE) | grep 'File:' | tail -1 | awk '{ print $$2 }'); \
45
+ dst="releases/$$gem_file"; \
46
+ [ ! -f $$dst ]; \
47
+ $(MV) $$gem_file releases; \
48
+ gem push $$dst; \
49
+ echo 'done'
50
+
51
+ releases:
52
+ $(MKDIR) $@
53
+
54
+ tmp:
55
+ $(MKDIR) $@
56
+ $(CHMOD) u=rwx,go-rwx $@
data/README.md ADDED
@@ -0,0 +1,27 @@
1
+ # TermKit
2
+
3
+ A Model-View-Controller Framework for Terminal applications.
4
+
5
+ ## Install
6
+
7
+ The preferred method of installation is via RubyGems.org:
8
+ <https://rubygems.org/gems/termkit>
9
+
10
+ gem install termkit
11
+
12
+ or via `Gemfile`:
13
+
14
+ gem 'termkit', '~>0.0'
15
+
16
+ ## Project Links
17
+
18
+ - [TermKit Gem](https://rubygems.org/gems/termkit)
19
+ - [Travis CI Repository](https://travis-ci.org/TheFox/termkit)
20
+
21
+ ## License
22
+
23
+ Copyright (C) 2016 Christian Mayer <http://fox21.at>
24
+
25
+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
26
+
27
+ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
data/lib/termkit.rb ADDED
@@ -0,0 +1,2 @@
1
+
2
+ require 'termkit/version'
@@ -0,0 +1,9 @@
1
+
2
+ module TheFox
3
+ module TermKit
4
+ RELEASE_ID = 1
5
+ VERSION = '0.0.0'
6
+ DATE = '2016-07-24'
7
+ HOMEPAGE = 'https://github.com/TheFox/termkit'
8
+ end
9
+ end
data/termkit.gemspec ADDED
@@ -0,0 +1,25 @@
1
+ # coding: UTF-8
2
+
3
+ lib = File.expand_path('../lib', __FILE__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+
6
+ require 'termkit/version'
7
+
8
+ Gem::Specification.new do |spec|
9
+ spec.name = 'termkit'
10
+ spec.version = TheFox::TermKit::VERSION
11
+ spec.date = TheFox::TermKit::DATE
12
+ spec.author = 'Christian Mayer'
13
+ spec.email = 'christian@fox21.at'
14
+
15
+ spec.summary = %q{Terminal Model-View-Controller Framework}
16
+ spec.description = %q{A Model-View-Controller Framework for Terminal applications.}
17
+ spec.homepage = TheFox::TermKit::HOMEPAGE
18
+ spec.license = 'GPL-3.0'
19
+
20
+ spec.files = `git ls-files -z`.split("\x0").reject{ |f| f.match(%r{^(test|spec|features)/}) }
21
+ spec.require_paths = ['lib']
22
+ spec.required_ruby_version = '>=2.1.0'
23
+
24
+ spec.add_development_dependency 'minitest', '~>5.8'
25
+ end
@@ -0,0 +1,10 @@
1
+ {
2
+ "folders":[
3
+ {
4
+ "path": ".",
5
+ "name": "TermKit",
6
+ "folder_exclude_patterns": [ ],
7
+ "file_exclude_patterns": [ ]
8
+ }
9
+ ]
10
+ }
data/tests/ts_all.rb ADDED
@@ -0,0 +1 @@
1
+ #!/usr/bin/env ruby
metadata ADDED
@@ -0,0 +1,68 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: termkit
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Christian Mayer
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-07-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: minitest
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '5.8'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '5.8'
27
+ description: A Model-View-Controller Framework for Terminal applications.
28
+ email: christian@fox21.at
29
+ executables: []
30
+ extensions: []
31
+ extra_rdoc_files: []
32
+ files:
33
+ - ".gitignore"
34
+ - ".travis.yml"
35
+ - Gemfile
36
+ - Makefile
37
+ - Makefile.common
38
+ - README.md
39
+ - lib/termkit.rb
40
+ - lib/termkit/version.rb
41
+ - termkit.gemspec
42
+ - termkit.sublime-project
43
+ - tests/ts_all.rb
44
+ homepage: https://github.com/TheFox/termkit
45
+ licenses:
46
+ - GPL-3.0
47
+ metadata: {}
48
+ post_install_message:
49
+ rdoc_options: []
50
+ require_paths:
51
+ - lib
52
+ required_ruby_version: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 2.1.0
57
+ required_rubygems_version: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ requirements: []
63
+ rubyforge_project:
64
+ rubygems_version: 2.5.1
65
+ signing_key:
66
+ specification_version: 4
67
+ summary: Terminal Model-View-Controller Framework
68
+ test_files: []