sscharter 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce79b0e7cd394c7481ae58378e26af8c6cd319a7a9dbce5b36d0882cdac69af3
4
- data.tar.gz: baa62e322601453959eaa93b353ee535f2ce56561894438c900694792a116f96
3
+ metadata.gz: 850d9242b14197642f97c44a83302b16b9093d57bf591b9e0a05be40c9575055
4
+ data.tar.gz: 6190327d91cd1101e469f35f28df7a0297feffa42409bb200382b756908cd40c
5
5
  SHA512:
6
- metadata.gz: e1cb17ba611908ba3c2ec03d061e8f72e1f90ddcbd21fc7240bf0997b97ee608e0199b5e032084ccb470b2ab2aeecd9da89e1ef27caa85cd247349cc61964e16
7
- data.tar.gz: 59c5e7e375432ba5061807c29bc7a0a3959d4cc5b9b8b2b92bf9686938269b36d0973a881c90b61113ad2beb534a8ddeb88c21017748cb742fb9d93a512a8472
6
+ metadata.gz: 127338f44c7290e6feee3bf1f353b1588fd6afdee192149b458417811e8a46bb800869f20715600b76fa18e05c0e5253f249aaa894d93c82f9fb0cef696e1254
7
+ data.tar.gz: 463989ea415f5701f02ea4d2cf44f188f2e620ac4641bc5b9873b2821997fdd657610d29e94b9b69030fb6b0e59a25fa2f813fc7859e8b5ba7d52a20746aec05
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sscharter (0.2.0)
4
+ sscharter (0.2.1)
5
5
  filewatcher (~> 2.0)
6
6
  launchy (~> 2.5)
7
7
  rubyzip (~> 2.3)
@@ -16,7 +16,7 @@ GEM
16
16
  module_methods (~> 0.1.0)
17
17
  launchy (2.5.2)
18
18
  addressable (~> 2.8)
19
- minitest (5.19.0)
19
+ minitest (5.20.0)
20
20
  module_methods (0.1.0)
21
21
  public_suffix (5.0.3)
22
22
  rake (13.0.6)
data/lib/sscharter/cli.rb CHANGED
@@ -179,7 +179,7 @@ module Sunniesnow::Charter::CLI
179
179
  server.mount_proc "/#{config[:project_name]}.ssc" do |request, response|
180
180
  response['Content-Type'] = 'application/zip'
181
181
  response['Access-Control-Allow-Origin'] = '*'
182
- response.body = File.read File.join config[:build_dir], "#{config[:project_name]}.ssc"
182
+ response.body = File.read File.join(config[:build_dir], "#{config[:project_name]}.ssc"), binmode: true
183
183
  end
184
184
  url = CGI.escape "http://localhost:#{port}/#{config[:project_name]}.ssc"
185
185
  filewatcher = Filewatcher.new [config[:files_dir], config[:sources_dir], *config[:include]]
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sunniesnow
4
4
  class Charter
5
- VERSION = "0.2.0"
5
+ VERSION = "0.2.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sscharter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ulysses Zhan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-31 00:00:00.000000000 Z
11
+ date: 2023-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip