susana 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/susana.rb +8 -7
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 880668952666ff483afa2924acce07f11d805d52
4
- data.tar.gz: ba34d30c36f4850286a40395b9c0b237e4a2abbd
3
+ metadata.gz: 399ad4a4053c9c33553366d076d79a27a4f06785
4
+ data.tar.gz: c037d97307d9e01ddaae6933571d7bf5407bb522
5
5
  SHA512:
6
- metadata.gz: 4e8e1c4c679f053b350e74d965c179742d8196102746221297fc32930fc66010fef3f813cc6be2e2da538cb417637e2269578631a1e2e2c2bf5cc86ff457fed4
7
- data.tar.gz: 4809f413ea73fb22174319e0c18c86dd3740d6627b118a139acf75d0780cc3cc8751a75ff4aeb9f824359b8f0edbaecd12f33e3a9c61c5cd5f5010e4a3fb222f
6
+ metadata.gz: 7eed0f3b57f496e2ed7886a45dce38b47aad7c2f61673f369aa12c4b940bb4cfe7f9ceda1e3c752e9cffc9b2d1872971e13f942ff8861b97c5f61ea6e355f84f
7
+ data.tar.gz: 78ea254926de06236181b1af219dc14bf4dc72ba1520ac544efed136718c5f5e4db8cdfbf4c5b4769c735f7b38bad43809fed80d72e5856e6d23869cc39b7bde
@@ -25,20 +25,21 @@ end
25
25
  FileUtils.cd(name)
26
26
 
27
27
  # Cleanup
28
- FileUtils.remove_dir(".git")
29
- FileUtils.remove_dir("gem")
28
+ FileUtils.remove_dir('.git')
29
+ FileUtils.remove_dir('gem')
30
30
 
31
31
  # Create cookie secret
32
- secret = SecureRandom::hex(26)
32
+ secret = SecureRandom.hex(32)
33
33
 
34
34
  # Install secret
35
- key = 'a8976c0df4fb8a28f8fe979270443d37f239cf8da8f1bf9734ba'
36
- file = File.read("config.ru").gsub(key, secret)
37
- File.open("config.ru", 'w'){|f| f.write(file)}
35
+ key = '1eca29037f08b783cee7e77a958e01a4c7f2fa7dd9be61171709cf3e5f54ef65'
36
+ file = File.read('config.ru').gsub(key, secret)
37
+ File.open('config.ru', 'w'){|f| f.write(file)}
38
38
 
39
39
  puts "\nApp #{name} created, please review your settings in the config directory\n\n"
40
40
  puts "To start the application:\n\n"
41
41
  puts "cd #{name}"
42
42
  puts "bundle install"
43
- puts "puma\n\n"
43
+ puts "bundle exec puma\n\n"
44
+ puts "Open http://localhost:9292 in your browser. Enjoy!\n\n"
44
45
  puts "Go to https://github.com/fugroup/susana for documentation\n\n"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: susana
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fugroup Limited
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-13 00:00:00.000000000 Z
11
+ date: 2017-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: futest