assemblage-web 0.1.pre20180313193549

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 9aed769a1b2aa3699044d6d1cf7571ad8b5ecc476f357fc532cfbd97f0c0bf55
4
+ data.tar.gz: a51da65253d5ad0ccad1eb659b6fe47a71e9c08c9673c243f74f80522d4cbb11
5
+ SHA512:
6
+ metadata.gz: ff150ff16a0841feffd3cf2b328a5ca467fe529865b12e2293e8e1c39866aac7a2369bc6a79ce299a8e4a28c52af075b9bd282a4eaf0dc25ef9c14e29b401e84
7
+ data.tar.gz: 9816bc9ee5be96b70be3073dcb04305744925f4a6ca0806d88fbef86b8871a3a94e63b0e5a19bd74ba8ff25914f4eac4a4de8be9f751a65a915ebecb3d178d02
data/.simplecov ADDED
@@ -0,0 +1,9 @@
1
+ # Simplecov config
2
+
3
+ SimpleCov.start do
4
+ add_filter 'spec'
5
+ add_filter 'integration'
6
+ add_group "Needing tests" do |file|
7
+ file.covered_percent < 90
8
+ end
9
+ end
data/ChangeLog ADDED
@@ -0,0 +1,10 @@
1
+ 2018-03-13 Michael Granger <ged@FaerieMUD.org>
2
+
3
+ * .document, .editorconfig, .gems, .hgignore, .pryrc, .rdoc_options,
4
+ .ruby-gemset, .ruby-version, .simplecov, Gemfile, Gemfile.devel,
5
+ Gemfile.devel.lock, History.md, LICENSE.txt, Manifest.txt,
6
+ README.md, Rakefile, assemblage-web.gemspec, certs/ged.pem,
7
+ lib/assemblage/command/web.rb, lib/assemblage/web.rb,
8
+ spec/assemblage/web_spec.rb, spec/spec_helper.rb:
9
+ Initial repo setup
10
+ [6195e7550d98] [github/master, tip]
data/History.md ADDED
@@ -0,0 +1,4 @@
1
+ ## v0.0.1 [YYYY-MM-DD] Michael Granger <ged@FaerieMUD.org>
2
+
3
+ Initial release.
4
+
data/README.md ADDED
@@ -0,0 +1,75 @@
1
+ # Assemblage-Web
2
+
3
+ home
4
+ : http://deveiate.org/projects/Assemblage-Web
5
+
6
+ code
7
+ : http://bitbucket.org/ged/Assemblage-Web
8
+
9
+ github
10
+ : https://github.com/ged/assemblage-web
11
+
12
+ docs
13
+ : http://deveiate.org/code/assemblage-web
14
+
15
+
16
+ ## Description
17
+
18
+
19
+
20
+
21
+ ## Prerequisites
22
+
23
+ * Ruby
24
+
25
+
26
+ ## Installation
27
+
28
+ $ gem install assemblage-web
29
+
30
+
31
+ ## Contributing
32
+
33
+ You can check out the current development source with Mercurial via its
34
+ {project page}[http://bitbucket.org/ged/assemblage-web]. Or if you prefer Git, via
35
+ {its Github mirror}[https://github.com/ged/assemblage-web].
36
+
37
+ After checking out the source, run:
38
+
39
+ $ rake newb
40
+
41
+ This task will install any missing dependencies, run the tests/specs,
42
+ and generate the API documentation.
43
+
44
+
45
+ ## License
46
+
47
+ Copyright (c) 2018, Michael Granger
48
+ All rights reserved.
49
+
50
+ Redistribution and use in source and binary forms, with or without
51
+ modification, are permitted provided that the following conditions are met:
52
+
53
+ * Redistributions of source code must retain the above copyright notice,
54
+ this list of conditions and the following disclaimer.
55
+
56
+ * Redistributions in binary form must reproduce the above copyright notice,
57
+ this list of conditions and the following disclaimer in the documentation
58
+ and/or other materials provided with the distribution.
59
+
60
+ * Neither the name of the author/s, nor the names of the project's
61
+ contributors may be used to endorse or promote products derived from this
62
+ software without specific prior written permission.
63
+
64
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
65
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
66
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
67
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
68
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
69
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
70
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
71
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
72
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
73
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
74
+
75
+
data/Rakefile ADDED
@@ -0,0 +1,100 @@
1
+ #!/usr/bin/env rake
2
+
3
+ begin
4
+ require 'hoe'
5
+ rescue LoadError
6
+ abort "This Rakefile requires hoe (gem install hoe)"
7
+ end
8
+
9
+ GEMSPEC = 'assemblage-web.gemspec'
10
+
11
+
12
+ Hoe.plugin :mercurial
13
+ Hoe.plugin :signing
14
+ Hoe.plugin :deveiate
15
+
16
+ Hoe.plugins.delete :rubyforge
17
+ Hoe.plugins.delete :gemcutter # Remove for public gems
18
+
19
+ hoespec = Hoe.spec 'assemblage-web' do |spec|
20
+ spec.urls = {
21
+ home: 'https://assembla.ge/',
22
+ code: 'https://bitbucket.org/sascrotch/assemblage-web',
23
+ github: 'https://github.com/ged/assemblage-web',
24
+ docs: 'http://assembla.ge/docs/assemblage-web'
25
+ }
26
+
27
+ spec.readme_file = 'README.md'
28
+ spec.history_file = 'History.md'
29
+
30
+ spec.extra_rdoc_files = FileList[ '*.rdoc', '*.md' ]
31
+ spec.license 'BSD-3-Clause'
32
+
33
+ spec.developer 'Michael Granger', 'ged@FaerieMUD.org'
34
+
35
+ spec.dependency 'assemblage', '~> 0'
36
+ spec.dependency 'roda', '~> 3.5'
37
+
38
+ spec.dependency 'hoe-deveiate', '~> 0.9', :developer
39
+ spec.dependency 'simplecov', '~> 0.7', :developer
40
+ spec.dependency 'rdoc-generator-fivefish', '~> 0.4', :developer
41
+ spec.dependency 'rdoc', '~> 6.0', :developer
42
+
43
+ spec.require_ruby_version( '>=2.5.0' )
44
+ spec.hg_sign_tags = true if spec.respond_to?( :hg_sign_tags= )
45
+ spec.check_history_on_release = true if spec.respond_to?( :check_history_on_release= )
46
+
47
+ self.rdoc_locations << "deveiate:/usr/local/assemblage/docs/#{remote_rdoc_dir}"
48
+ end
49
+
50
+
51
+ ENV['VERSION'] ||= hoespec.spec.version.to_s
52
+
53
+ # Run the tests before checking in
54
+ task 'hg:precheckin' => [ :check_history, :check_manifest, :gemspec, :spec ]
55
+
56
+ task :test => :spec
57
+
58
+ # Rebuild the ChangeLog immediately before release
59
+ task :prerelease => 'ChangeLog'
60
+ CLOBBER.include( 'ChangeLog' )
61
+
62
+ desc "Build a coverage report"
63
+ task :coverage do
64
+ ENV["COVERAGE"] = 'yes'
65
+ Rake::Task[:spec].invoke
66
+ end
67
+ CLOBBER.include( 'coverage' )
68
+
69
+
70
+ # Use the fivefish formatter for docs generated from development checkout
71
+ if File.directory?( '.hg' )
72
+ require 'rdoc/task'
73
+
74
+ Rake::Task[ 'docs' ].clear
75
+ RDoc::Task.new( 'docs' ) do |rdoc|
76
+ rdoc.main = "README.rdoc"
77
+ rdoc.markup = 'markdown'
78
+ rdoc.rdoc_files.include( "*.rdoc", "ChangeLog", "lib/**/*.rb" )
79
+ rdoc.generator = :fivefish
80
+ rdoc.title = 'Assemblage-Web'
81
+ rdoc.rdoc_dir = 'doc'
82
+ end
83
+ end
84
+
85
+ task :gemspec => GEMSPEC
86
+ file GEMSPEC => __FILE__
87
+ task GEMSPEC do |task|
88
+ spec = $hoespec.spec
89
+ spec.files.delete( '.gemtest' )
90
+ spec.signing_key = nil
91
+ spec.cert_chain = ['certs/ged.pem']
92
+ spec.version = "#{spec.version.bump}.pre#{Time.now.strftime("%Y%m%d%H%M%S")}"
93
+ File.open( task.name, 'w' ) do |fh|
94
+ fh.write( spec.to_ruby )
95
+ end
96
+ end
97
+ CLOBBER.include( GEMSPEC.to_s )
98
+
99
+ task :default => :gemspec
100
+
@@ -0,0 +1,16 @@
1
+ # -*- ruby -*-
2
+ # frozen_string_literal: true
3
+
4
+ require 'assemblage' unless defined?( Assemblage )
5
+
6
+ # Toplevel namespace
7
+ module Assemblage::Web
8
+
9
+ # Package version
10
+ VERSION = '0.0.1'
11
+
12
+ # Version control revision
13
+ REVISION = %q$Revision: 6195e7550d98 $
14
+
15
+ end # module Assemblage::Web
16
+
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env rspec -cfd
2
+ #encoding: utf-8
3
+
4
+ require_relative '../spec_helper'
5
+
6
+ require 'rspec'
7
+ require 'assemblage/web'
8
+
9
+ describe Assemblage::Web do
10
+
11
+
12
+
13
+ end
14
+
@@ -0,0 +1,21 @@
1
+ # -*- ruby -*-
2
+ #encoding: utf-8
3
+
4
+ require 'simplecov' if ENV['COVERAGE']
5
+
6
+ require 'rspec'
7
+
8
+ require 'loggability/spechelpers'
9
+
10
+
11
+ ### Mock with RSpec
12
+ RSpec.configure do |config|
13
+ config.run_all_when_everything_filtered = true
14
+ config.filter_run :focus
15
+ config.order = 'random'
16
+ config.mock_with( :rspec ) do |mock|
17
+ mock.syntax = :expect
18
+ end
19
+ end
20
+
21
+
metadata ADDED
@@ -0,0 +1,209 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: assemblage-web
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.pre20180313193549
5
+ platform: ruby
6
+ authors:
7
+ - Michael Granger
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIEbDCCAtSgAwIBAgIBATANBgkqhkiG9w0BAQUFADA+MQwwCgYDVQQDDANnZWQx
14
+ GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
15
+ HhcNMTcwOTI3MDAzMDQ0WhcNMTgwOTI3MDAzMDQ0WjA+MQwwCgYDVQQDDANnZWQx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vr4q8yRft0ww+3jq5iwNkrX1buL2pwBbyvgms6D/BV41
32
+ MaTVMjsHqJUwU2xVfhGtxGAWAer5S1HGYHkbio6mGVtiie0uWjmnzi7ppIlMr48a
33
+ 7BNTsoZ+/JRk3iQWmmNsyFT7xfqBKye7cH11BX8V8P4MeGB5YWlMI+Myj5DZY3fQ
34
+ st2AGD4rb1l0ia7PfubcBThSIdz61eCb8gRi/RiZZwb3/7+eyEncLJzt2Ob9fGSF
35
+ X0qdrKi+2aZZ0NGuFj9AItBsVmAvkBGIpX4TEKQp5haEbPpmaqO5nIIhV26PXmyT
36
+ OMKv6pWsoS81vw5KAGBmfX8nht/Py90DQrbRvakATGI=
37
+ -----END CERTIFICATE-----
38
+ date: 2018-03-14 00:00:00.000000000 Z
39
+ dependencies:
40
+ - !ruby/object:Gem::Dependency
41
+ name: assemblage
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ type: :runtime
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ - !ruby/object:Gem::Dependency
55
+ name: roda
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '3.5'
61
+ type: :runtime
62
+ prerelease: false
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '3.5'
68
+ - !ruby/object:Gem::Dependency
69
+ name: hoe-mercurial
70
+ requirement: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '1.4'
75
+ type: :development
76
+ prerelease: false
77
+ version_requirements: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '1.4'
82
+ - !ruby/object:Gem::Dependency
83
+ name: hoe-deveiate
84
+ requirement: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '0.9'
89
+ type: :development
90
+ prerelease: false
91
+ version_requirements: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '0.9'
96
+ - !ruby/object:Gem::Dependency
97
+ name: hoe-highline
98
+ requirement: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '0.2'
103
+ type: :development
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '0.2'
110
+ - !ruby/object:Gem::Dependency
111
+ name: simplecov
112
+ requirement: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '0.7'
117
+ type: :development
118
+ prerelease: false
119
+ version_requirements: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: '0.7'
124
+ - !ruby/object:Gem::Dependency
125
+ name: rdoc-generator-fivefish
126
+ requirement: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - "~>"
129
+ - !ruby/object:Gem::Version
130
+ version: '0.4'
131
+ type: :development
132
+ prerelease: false
133
+ version_requirements: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - "~>"
136
+ - !ruby/object:Gem::Version
137
+ version: '0.4'
138
+ - !ruby/object:Gem::Dependency
139
+ name: rdoc
140
+ requirement: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - "~>"
143
+ - !ruby/object:Gem::Version
144
+ version: '6.0'
145
+ type: :development
146
+ prerelease: false
147
+ version_requirements: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - "~>"
150
+ - !ruby/object:Gem::Version
151
+ version: '6.0'
152
+ - !ruby/object:Gem::Dependency
153
+ name: hoe
154
+ requirement: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - "~>"
157
+ - !ruby/object:Gem::Version
158
+ version: '3.16'
159
+ type: :development
160
+ prerelease: false
161
+ version_requirements: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - "~>"
164
+ - !ruby/object:Gem::Version
165
+ version: '3.16'
166
+ description: ''
167
+ email:
168
+ - ged@FaerieMUD.org
169
+ executables: []
170
+ extensions: []
171
+ extra_rdoc_files:
172
+ - README.md
173
+ - History.md
174
+ files:
175
+ - ".simplecov"
176
+ - ChangeLog
177
+ - History.md
178
+ - README.md
179
+ - Rakefile
180
+ - lib/assemblage/web.rb
181
+ - spec/assemblage/web_spec.rb
182
+ - spec/spec_helper.rb
183
+ homepage: https://assembla.ge/
184
+ licenses:
185
+ - BSD-3-Clause
186
+ metadata: {}
187
+ post_install_message:
188
+ rdoc_options:
189
+ - "--main"
190
+ - README.md
191
+ require_paths:
192
+ - lib
193
+ required_ruby_version: !ruby/object:Gem::Requirement
194
+ requirements:
195
+ - - ">="
196
+ - !ruby/object:Gem::Version
197
+ version: 2.5.0
198
+ required_rubygems_version: !ruby/object:Gem::Requirement
199
+ requirements:
200
+ - - ">"
201
+ - !ruby/object:Gem::Version
202
+ version: 1.3.1
203
+ requirements: []
204
+ rubyforge_project:
205
+ rubygems_version: 2.7.4
206
+ signing_key:
207
+ specification_version: 4
208
+ summary: ''
209
+ test_files: []