futest 0.0.4 → 0.1.0

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/futest.rb +14 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 82635f01116e4488660e0b10211386ba0e5219cc
4
- data.tar.gz: 21ed652a8c50c0e724f7570ae5357a868d14a570
3
+ metadata.gz: 35a95d6ea6fbf97288d5911168bec2c8c7a4d63b
4
+ data.tar.gz: 82d69b0048efe37201021c0f3799defba323045c
5
5
  SHA512:
6
- metadata.gz: 456c2085e7e3a2f534ba84f258ee1d937cf599315a8072ae510ad753c2926d09c77770b01935b8b78ba4c499b4e77c4fd2f3869643612cfb3c885987dfe05495
7
- data.tar.gz: 53578d9ada463c5c78f798948e544f13f7206025bffa8f5de7b38289b273254aa448934ba0e39fb6e6d906b3a2eabc002e44fdb66836e774a595d9f7c6b2013b
6
+ metadata.gz: 62a1557f1ea417b35e2eb30bd723228b76206c24852ce1d996754ab650415214f35a607751b90e91c995957fd59fbb8a63a6d6ce12a55e81f38738d0db2e6424
7
+ data.tar.gz: 93f4788d9ea0708a3214e5182a6495ad4bcb38075748fe591b2d2a3e6cad9138dcd4df55c71e59e5b9c605bfc0e4fb44da979b9c2220d818c9c7aece62896fe0
data/lib/futest.rb CHANGED
@@ -1,3 +1,5 @@
1
+ require 'json'
2
+
1
3
  module Futest
2
4
 
3
5
  # # # # # #
@@ -6,6 +8,18 @@ module Futest
6
8
  # @author: Vidar <vidar@fugroup.net>, Fugroup Ltd.
7
9
  # @license: MIT, contributions are welcome.
8
10
  # # # # # #
11
+
12
+ class << self; attr_accessor :show, :mode, :debug; end
13
+
14
+ # The command to run when you use 'show'
15
+ # The default is for MacOs. The -g flag opens the page in the background.
16
+ @show = 'open -g'
17
+
18
+ # Mode, default is development
19
+ @mode = ENV['RACK_ENV'] || 'development'
20
+
21
+ # Debug
22
+ @debug = false
9
23
  end
10
24
 
11
25
  require_relative 'futest/helpers'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: futest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fugroup Limited
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-27 00:00:00.000000000 Z
11
+ date: 2017-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client