cocos 0.0.1

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
+ SHA256:
3
+ metadata.gz: 0c0c91a32d9421aa68462fe03987ffd9c0e7ec6b8ef56acb4d3ed2b8f148ed6d
4
+ data.tar.gz: a7fa42e171cd6480f264cadeb196b287f2a9f46af1b0fa4a284295fee030bfdc
5
+ SHA512:
6
+ metadata.gz: 5aa60909fb45f952871b8a7f0fb1afac09bbf73bda390d3f1a1ca51a4f91454621dffc44cad32552ec5ce3d9f731168b7a659a3529d564650b3902fc57eac07f
7
+ data.tar.gz: 0ee9fde4d05b4a82101cc023e01833b1a946579fbf5ec321076e6247e1b1387516830e847a0bccc4070f1c34772dd53d47f7e7029e06fd300fcf8a5c9e7c6413
data/CHANGELOG.md ADDED
@@ -0,0 +1,3 @@
1
+ ### 0.0.1 / 2022-08-01
2
+
3
+ * Everything is new. First release.
data/Manifest.txt ADDED
@@ -0,0 +1,6 @@
1
+ CHANGELOG.md
2
+ Manifest.txt
3
+ README.md
4
+ Rakefile
5
+ lib/cocos.rb
6
+ lib/cocos/version.rb
data/README.md ADDED
@@ -0,0 +1,22 @@
1
+ # cocos (code commons) - auto-incude quick-starter prelude & prolog
2
+
3
+
4
+ * home :: [github.com/rubycocos/cococs](https://github.com/rubycocos/cococs)
5
+ * bugs :: [github.com/rubycocos/cococs/issues](https://github.com/rubycocos/cococs/issues)
6
+ * gem :: [rubygems.org/gems/cocos](https://rubygems.org/gems/cocos)
7
+ * rdoc :: [rubydoc.info/gems/cocos](http://rubydoc.info/gems/cocos)
8
+
9
+
10
+
11
+ ## Usage
12
+
13
+
14
+ To be done
15
+
16
+
17
+
18
+ ## License
19
+
20
+ The `cocos` scripts are dedicated to the public domain.
21
+ Use it as you please with no restrictions whatsoever.
22
+
data/Rakefile ADDED
@@ -0,0 +1,28 @@
1
+ require 'hoe'
2
+ require './lib/cocos/version.rb'
3
+
4
+
5
+ Hoe.spec 'cocos' do
6
+
7
+ self.version = Cocos::VERSION
8
+
9
+ self.summary = "cocos (code commons) - auto-incude quick-starter prelude & prolog"
10
+ self.description = summary
11
+
12
+ self.urls = { home: 'https://github.com/rubycocos/cocos' }
13
+
14
+ self.author = 'Gerald Bauer'
15
+ self.email = 'opensport@googlegroups.com'
16
+
17
+ # switch extension to .markdown for gihub formatting
18
+ self.readme_file = 'README.md'
19
+ self.history_file = 'CHANGELOG.md'
20
+
21
+ self.licenses = ['Public Domain']
22
+
23
+ self.extra_deps = []
24
+
25
+ self.spec_extras = {
26
+ required_ruby_version: '>= 2.2.2'
27
+ }
28
+ end
@@ -0,0 +1,21 @@
1
+
2
+ module Cocos
3
+ MAJOR = 0 ## todo: namespace inside version or something - why? why not??
4
+ MINOR = 0
5
+ PATCH = 1
6
+ VERSION = [MAJOR,MINOR,PATCH].join('.')
7
+
8
+ def self.version
9
+ VERSION
10
+ end
11
+
12
+ def self.banner
13
+ "cocos/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}] in (#{root})"
14
+ end
15
+
16
+ def self.root
17
+ File.expand_path( File.dirname(File.dirname(__FILE__) ))
18
+ end
19
+
20
+ end # module Cocos
21
+
data/lib/cocos.rb ADDED
@@ -0,0 +1,31 @@
1
+ ##
2
+ ## "prelude / prolog " add some common used stdlibs
3
+ ## add more - why? why not?
4
+ require 'pp'
5
+ require 'time'
6
+ require 'date'
7
+ require 'json'
8
+ require 'yaml'
9
+ require 'fileutils'
10
+
11
+ require 'uri'
12
+ require 'net/http'
13
+ require 'net/https'
14
+
15
+
16
+ require 'optparse' ## used by monofile (built-in test/debug) command line tool
17
+
18
+
19
+
20
+ #####################
21
+ # our own code
22
+ require 'cocos/version' # note: let version always go first
23
+
24
+
25
+ ####
26
+ # convenience alias (use plural or singual)
27
+ Coco = Cocos
28
+
29
+
30
+ puts Cocos.banner ## say hello
31
+
metadata ADDED
@@ -0,0 +1,87 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cocos
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Gerald Bauer
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-08-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rdoc
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '4.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '7'
23
+ type: :development
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '4.0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '7'
33
+ - !ruby/object:Gem::Dependency
34
+ name: hoe
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '3.23'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '3.23'
47
+ description: cocos (code commons) - auto-incude quick-starter prelude & prolog
48
+ email: opensport@googlegroups.com
49
+ executables: []
50
+ extensions: []
51
+ extra_rdoc_files:
52
+ - CHANGELOG.md
53
+ - Manifest.txt
54
+ - README.md
55
+ files:
56
+ - CHANGELOG.md
57
+ - Manifest.txt
58
+ - README.md
59
+ - Rakefile
60
+ - lib/cocos.rb
61
+ - lib/cocos/version.rb
62
+ homepage: https://github.com/rubycocos/cocos
63
+ licenses:
64
+ - Public Domain
65
+ metadata: {}
66
+ post_install_message:
67
+ rdoc_options:
68
+ - "--main"
69
+ - README.md
70
+ require_paths:
71
+ - lib
72
+ required_ruby_version: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: 2.2.2
77
+ required_rubygems_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ requirements: []
83
+ rubygems_version: 3.3.7
84
+ signing_key:
85
+ specification_version: 4
86
+ summary: cocos (code commons) - auto-incude quick-starter prelude & prolog
87
+ test_files: []