smallcage 0.2.9 → 0.3.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 41fafadb4c6e0e7cf7c9817645ff1b62f16db534
4
- data.tar.gz: 211caeb2dce90d06bb99a792fd28f54b5a0f5412
3
+ metadata.gz: 9ea5c3a16b99584e899e92f97ecebdf474754a86
4
+ data.tar.gz: 8bfa197196a414f79521033fc1b11719aa6fd35e
5
5
  SHA512:
6
- metadata.gz: 3ed0f6f1f1138f4ee3880fafe5608e16c0258e3ee00bccfd38b683d272725843f65374902f40d73f3829653dc1e682517c7c2a912d410f78c17f96bc1d9fc616
7
- data.tar.gz: f769134d6e35859313023ef692ebab37d9e284bf2f08e938b1480b883532e6d53b8bc8feb95285ca9ebbe24664dbe4972f5e0aa68542a42eb35223d8c3602979
6
+ metadata.gz: f3fefe6ba58e6af49aad5d29094721af42875aea3be2962af90519fd5ae71a74b4d9709af5638b79cc19931e9887253b636ec7e80d1207332e7bdb097e0dd8e6
7
+ data.tar.gz: 2cab29eebad35940164acd1bd92e889861886d05a8c08b2e17b3a964ae7fb987f33f56ee98449fdad7ce79b59cdb004f7b6f79ee63006da04742eba51096175a
@@ -26,7 +26,6 @@ require 'smallcage/erb_base'
26
26
  require 'smallcage/renderer'
27
27
  require 'smallcage/runner'
28
28
  require 'smallcage/document_path'
29
- require 'smallcage/http_server'
30
29
  require 'smallcage/application'
31
30
  require 'smallcage/options_parser'
32
31
  require 'smallcage/update_list'
@@ -27,6 +27,8 @@ module SmallCage::Commands
27
27
  private :load_initial_timestamps
28
28
 
29
29
  def execute
30
+ require 'smallcage/http_server'
31
+
30
32
  puts_banner
31
33
 
32
34
  start_http_server unless @port.nil?
@@ -1,6 +1,8 @@
1
1
  module SmallCage::Commands
2
2
  class Server
3
3
  def self.execute(opts)
4
+ require 'smallcage/http_server'
5
+
4
6
  document_root = opts[:path]
5
7
  port = opts[:port]
6
8
 
@@ -1,3 +1,3 @@
1
1
  module SmallCage #:nodoc:
2
- VERSION = '0.2.9'
2
+ VERSION = '0.3.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smallcage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - SAITO Toshihiro
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-10-04 00:00:00.000000000 Z
13
+ date: 2017-11-14 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: SmallCage is a simple, but powerful website generator. It converts content
16
16
  and template files, which has common elements in a website, to a plain, static website.
@@ -23,10 +23,10 @@ executables:
23
23
  extensions: []
24
24
  extra_rdoc_files: []
25
25
  files:
26
- - .gitignore
27
- - .rspec
28
- - .rubocop.yml
29
- - .travis.yml
26
+ - ".gitignore"
27
+ - ".rspec"
28
+ - ".rubocop.yml"
29
+ - ".travis.yml"
30
30
  - Gemfile
31
31
  - Guardfile
32
32
  - History.rdoc
@@ -176,17 +176,17 @@ require_paths:
176
176
  - lib
177
177
  required_ruby_version: !ruby/object:Gem::Requirement
178
178
  requirements:
179
- - - '>='
179
+ - - ">="
180
180
  - !ruby/object:Gem::Version
181
181
  version: '0'
182
182
  required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  requirements:
184
- - - '>='
184
+ - - ">="
185
185
  - !ruby/object:Gem::Version
186
186
  version: '0'
187
187
  requirements: []
188
188
  rubyforge_project:
189
- rubygems_version: 2.0.14.1
189
+ rubygems_version: 2.2.5
190
190
  signing_key:
191
191
  specification_version: 4
192
192
  summary: a simple website generator