rspec-openhab-scripting 0.0.8-java → 0.0.9-java

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: 5b4f4a385d3672410faee3ca6a90eb931f4499060de30d5dfc11869c73b78db7
4
- data.tar.gz: 2d6c73ceabd6796134434250824ee255f80cc74b98b16f4172ac76d6be350c5b
3
+ metadata.gz: ec85830015f39fcbcf027f869f5af4b215717b1c027deb47959428a8f156b652
4
+ data.tar.gz: 22050257da398fa958a657e69c773f27e215e2d478bacb9d9e1400f84b0c6191
5
5
  SHA512:
6
- metadata.gz: e9153da220c8491f9a8f79bed277646df27b95ed4c17fb0181dcfd8519df0d9443c989ace2f2fe8da3fb39c14e177d7147e7148cffd5a47baa6a121a821ce883
7
- data.tar.gz: 70b3fefd8b2df95db3fc553fcb785c48c8e63d3671c0922328bd0937819e7f3b3cc164edb58e3d4fc04da20101297c65868696ebf624b664892b16c86bed22cd
6
+ metadata.gz: d29f9f59280c73b33cb7caef1bbde2baf7b1931bbf9c8fdd8ccb51c3ec8ec13bf9efe51d6e13a410fadd9a53bf78928f22cdc25917ee37d64dc66906fc47bcfc
7
+ data.tar.gz: b0132dec180bf8e9bf6fca0e8223c67e6fda04529f376f74a9b2405c0defd01bf1661fed63534a15ccf4392440a4faefe8936f4a42428af8de1be5c6778755d8
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RSpec
4
4
  module OpenHAB
5
- VERSION = "0.0.8"
5
+ VERSION = "0.0.9"
6
6
  end
7
7
  end
@@ -58,6 +58,8 @@ end
58
58
  # global variables need to be set up before openhab-scripting loads
59
59
  require "openhab/log/logger"
60
60
  require "rspec/openhab/core/logger"
61
+ # during testing, we don't want "regular" output from rules
62
+ OpenHAB::Log.logger("org.openhab.automation.jruby.runtime").level = :warn
61
63
  require "openhab/dsl/imports"
62
64
  OpenHAB::DSL::Imports.api = api
63
65
  OpenHAB::DSL::Imports.import_presets
@@ -75,6 +77,9 @@ require "rspec/openhab/state"
75
77
  require "rspec/openhab/timer"
76
78
  require "rspec/openhab/trigger"
77
79
  require "rspec/openhab/wait"
80
+ RSpec.configure do |config|
81
+ config.include OpenHAB::Core::EntityLookup
82
+ end
78
83
 
79
84
  RSpec::OpenHAB::Items.populate_items_from_api(api)
80
85
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-openhab-scripting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: java
6
6
  authors:
7
7
  - Cody Cutrer