silica 0.1.6 → 0.1.7

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
  SHA1:
3
- metadata.gz: bc74c142e98412ca918f03022154c7b2e0c5926f
4
- data.tar.gz: f63f22c5f6be585ebcda15847a385872e0b9869b
3
+ metadata.gz: 3cd3e4541aebb179438a82543af3e5df6f4f60bf
4
+ data.tar.gz: 8d494a966267e3c712283e71bcf48e1093bba817
5
5
  SHA512:
6
- metadata.gz: 4af957cd68e6aaa45ffcc776d00e04efda7a6aa0702d58c67560754cd8fa41fb31bef36b69b392f75469878f57dc82d28abb2240684487a6a1548bbebaff52e2
7
- data.tar.gz: ed5ac1d5402bb2307797488158ea9386875fc8b079538fe348b393c415be585605c0664458914d4052482578e635ac6728912d993b0aa3e5e3e1015207f55862
6
+ metadata.gz: 62a49ca16b683a7722a6fd0cdf927ce4bcb28f5f68e9cd352c15ae7a31c32058faac246384480ba04d0d571d31653bfe0bf2c00417d018c7782499a0f4f7ef55
7
+ data.tar.gz: 392f21df8b31e1e516eb5fb2de0067a649bd9059fbb55d60de1f87b665641af8e7c7bc71730b444da7e7534fe7a008c9880d7c6d338bade6d8cd8723426c006c
@@ -5,6 +5,8 @@ require 'git'
5
5
  module Silica
6
6
  class Cli < Thor
7
7
  desc 'new', 'create new project'
8
+ option :enable_menilite, type: :boolean, default: true, aliases: %i(m)
9
+ option :plain, type: :boolean, default: false, aliases: %i(p)
8
10
 
9
11
  def new(name)
10
12
  puts "Create new project '#{name}'"
@@ -1,3 +1,3 @@
1
1
  module Silica
2
- VERSION = '0.1.6'
2
+ VERSION = '0.1.7'
3
3
  end
@@ -21,6 +21,7 @@ class Server < Sinatra::Base
21
21
  configure do
22
22
  set opal: OPAL
23
23
  enable :sessions
24
+ set :protection, except: :json_csrf
24
25
  end
25
26
 
26
27
  get '/' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: silica
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - youchan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-03 00:00:00.000000000 Z
11
+ date: 2017-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  version: '0'
125
125
  requirements: []
126
126
  rubyforge_project:
127
- rubygems_version: 2.5.1
127
+ rubygems_version: 2.6.13
128
128
  signing_key:
129
129
  specification_version: 4
130
130
  summary: Web application framework spcialized for the single page applications using