plumo 0.0.1 → 0.0.2

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
  SHA256:
3
- metadata.gz: d9a765709e5fe89c6026a19a017c94aac11c5f990e086002a5d83d856a19524a
4
- data.tar.gz: f209c5807a9bacb2e0a4292f40f8be7aa46471fb998b5463b2a0f9f363574857
3
+ metadata.gz: cf31bc4c5e223d8ec9d4c4fa7cc5758f5f7c72bece8dcbc12a406962e99997b9
4
+ data.tar.gz: a32e6955be6556ba9f4a1452835d8221d7df0f5edfa383fa04cfd3fb21c78db9
5
5
  SHA512:
6
- metadata.gz: 8d5a123b92fc2c152c015343247a078b602af9b61cb8add276425f728bc7f1ad8e122b25eeb0ee82f15687daaa2adcbee835ca67068509f9e70dbfb3fd10b885
7
- data.tar.gz: 8afa3b523d58b2aa3707530f4f721bba34050e36a8144ade70c6e80fb5815a9ebafde4b0af269e55599358435f87ee45b0f84a3c8c4488b00b85a7a549c0a46c
6
+ metadata.gz: 55901cd274acd1d75b56343d875850ad33c12dfc705ad5d5d3c31c5b1782a7e65fdffc97f70b297f3b386b907583aec9ecfdc75bdd9aa70cc1f549563980169e
7
+ data.tar.gz: 6e86a541180dc1e31d5703d9c754a5f687ca7b88fefb5939e23e92bfad8ffa7542d470e7afe4a250b2453ac1aa95b69856d5d0d11c89fc83a202d29565116c4f
data/lib/plumo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Plumo
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -81,7 +81,7 @@ class Plumo
81
81
  logger_access = NullLogger.new
82
82
 
83
83
  @server = WEBrick::HTTPServer.new(
84
- DocumentRoot: File.join(__dir__, "public"),
84
+ DocumentRoot: File.join(__dir__, "plumo/public"),
85
85
  BindAddress: '127.0.0.1',
86
86
  Port: @opts[:port],
87
87
  AccessLog: [
@@ -165,7 +165,7 @@ class Plumo
165
165
  if style.key?(:color)
166
166
  cmds << [:fillStyle, style[:color]]
167
167
  end
168
-
168
+
169
169
  cmds += [
170
170
  [:beginPath],
171
171
  [:fillRect, x, y, w, h],
@@ -180,7 +180,7 @@ class Plumo
180
180
  if style.key?(:color)
181
181
  cmds << [:fillStyle, style[:color]]
182
182
  end
183
-
183
+
184
184
  cmds += [
185
185
  [:beginPath],
186
186
  [:arc,
data/sample_1.rb CHANGED
@@ -1,4 +1,4 @@
1
- $LOAD_PATH.unshift './lib/plumo'
1
+ $LOAD_PATH.unshift './lib'
2
2
 
3
3
  require 'plumo'
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plumo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - sonota88
@@ -51,7 +51,7 @@ files:
51
51
  - README.md
52
52
  - Rakefile
53
53
  - bin/plumo-reloader
54
- - lib/plumo/plumo.rb
54
+ - lib/plumo.rb
55
55
  - lib/plumo/public/index.html
56
56
  - lib/plumo/public/plumo.js
57
57
  - lib/plumo/version.rb