scriptorium 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: ba4a7ccc7ce7a40b162ed707305dd93d57f6ea1bf833ed906850ec1f36aff472
4
+ data.tar.gz: d3235d8de8f2a933f97f28ab4cd5b3dc7e5c2301ea519a17e997b0849985b893
5
+ SHA512:
6
+ metadata.gz: 043c37917c9420e5fdc38f032197c13a79cd7fe97dfc9d2cc02ba3bceeb606ee626b3827803726da7452cf955921698d95a174178a542275d51899657b75f3da
7
+ data.tar.gz: 9403ab04666321ac164fad080e26600ccdbe5668973e476952082c3011ebb75f99cba35e9f7dd23f5e70fb3329f82a6ecdb86bbf0d21f35532ddd835b6b2ec63
data/README.lt3 ADDED
File without changes
data/README.md ADDED
@@ -0,0 +1 @@
1
+ # Nothing here yet
data/bin/sblog ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'scriptorium'
4
+ require 'rubytext'
5
+
6
+ puts "sblog: Nothing here yet."
7
+ puts
8
+ ~
@@ -0,0 +1,5 @@
1
+ class Scriptorium
2
+
3
+ VERSION = "0.0.1"
4
+
5
+ end
@@ -0,0 +1,10 @@
1
+ require_relative "skeleton"
2
+
3
+ class Scriptorium
4
+
5
+ def initialize
6
+ puts "Initializing... no code yet."
7
+ puts
8
+ end
9
+
10
+ end
data/lib/skeleton.rb ADDED
@@ -0,0 +1,9 @@
1
+ class Scriptorium
2
+
3
+ class Engine
4
+ end
5
+
6
+ class UI
7
+ end
8
+
9
+ end
@@ -0,0 +1,48 @@
1
+ require 'date'
2
+ require 'find'
3
+
4
+ $LOAD_PATH << "lib"
5
+
6
+ require "scriptorium/version"
7
+
8
+ Gem.post_install do |spec|
9
+ Dir.chdir(Scriptorium::Path)
10
+ # system("livetext -i liveblog.rb")
11
+ system("livetext -i code_rouge.rb")
12
+ end
13
+
14
+ spec = Gem::Specification.new do |s|
15
+ system("rm -f *.gem")
16
+ s.name = 'scriptorium'
17
+ s.version = Scriptorium::VERSION
18
+ s.date = Date.today.strftime("%Y-%m-%d")
19
+ s.summary = "A command-line blogging system"
20
+ s.description = "A blog system based on Ruby and Livetext"
21
+ s.authors = ["Hal Fulton"]
22
+ s.email = 'rubyhacker@gmail.com'
23
+ s.executables << "sblog"
24
+
25
+ s.add_runtime_dependency 'livetext', '~> 0.9', '>= 0.9.41'
26
+ s.add_runtime_dependency 'rubytext', '~> 0.1', '>= 0.1.26'
27
+ s.add_runtime_dependency 'rouge', '~> 3.25', '>= 3.25.0'
28
+
29
+ s.add_development_dependency 'minitest', '~> 5.10', '>= 5.10.0'
30
+
31
+ # Files...
32
+
33
+ main = Find.find("bin").to_a +
34
+ Find.find("lib").to_a +
35
+ Find.find("doc").to_a
36
+ test = Find.find("test").to_a
37
+
38
+ misc = %w[./README.lt3 ./README.md ./scriptorium.gemspec]
39
+
40
+ s.files = main + misc + test
41
+ s.homepage = 'https://github.com/Hal9000/scriptorium'
42
+ s.license = "Ruby"
43
+ s.post_install_message =
44
+ "\n Success! Run 'sblog' command and type h for help.\n "
45
+ end
46
+
47
+ spec
48
+
metadata ADDED
@@ -0,0 +1,130 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: scriptorium
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Hal Fulton
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-01-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: livetext
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.9'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 0.9.41
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '0.9'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 0.9.41
33
+ - !ruby/object:Gem::Dependency
34
+ name: rubytext
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '0.1'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 0.1.26
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '0.1'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 0.1.26
53
+ - !ruby/object:Gem::Dependency
54
+ name: rouge
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '3.25'
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 3.25.0
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '3.25'
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 3.25.0
73
+ - !ruby/object:Gem::Dependency
74
+ name: minitest
75
+ requirement: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - "~>"
78
+ - !ruby/object:Gem::Version
79
+ version: '5.10'
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 5.10.0
83
+ type: :development
84
+ prerelease: false
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '5.10'
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: 5.10.0
93
+ description: A blog system based on Ruby and Livetext
94
+ email: rubyhacker@gmail.com
95
+ executables:
96
+ - sblog
97
+ extensions: []
98
+ extra_rdoc_files: []
99
+ files:
100
+ - "./README.lt3"
101
+ - "./README.md"
102
+ - "./scriptorium.gemspec"
103
+ - bin/sblog
104
+ - lib/scriptorium.rb
105
+ - lib/scriptorium/version.rb
106
+ - lib/skeleton.rb
107
+ homepage: https://github.com/Hal9000/scriptorium
108
+ licenses:
109
+ - Ruby
110
+ metadata: {}
111
+ post_install_message: "\n Success! Run 'sblog' command and type h for help.\n "
112
+ rdoc_options: []
113
+ require_paths:
114
+ - lib
115
+ required_ruby_version: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ version: '0'
120
+ required_rubygems_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ requirements: []
126
+ rubygems_version: 3.2.3
127
+ signing_key:
128
+ specification_version: 4
129
+ summary: A command-line blogging system
130
+ test_files: []