repla 0.9.2 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/repla/lib/constants.rb +4 -4
- data/lib/repla/logger/test/lib/log_tester.rb +5 -5
- data/lib/repla/logger/test/tc_logger.rb +1 -1
- data/lib/repla/resources/js/bullets/test/run_tests.rb +1 -1
- data/lib/repla/test/packages/HelloWorld.replaplugin/Contents/Resources/hello_world.rb +1 -1
- data/lib/repla/test/packages/Print.replaplugin/Contents/Resources/print.rb +1 -1
- data/lib/repla/test/packages/TestEnvironment.replaplugin/Contents/Resources/test_environment.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c8ffd4cf48f2c6a4ee66a4a84ba4f3f4649f2015692d6ce63667f1f242cdbfe0
|
4
|
+
data.tar.gz: 78e580e43a13a92559fc7b1696d4d2c267df2d644f90f2cd2ab147a641647675
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a97468865962e8fba6d23e3dbbb915f07ef6cc54869e5ad5436e2847e0943ae50a19ea25863dff0fbdaaacbe0ec746687884a6e07ac2c379dad83188073bb381
|
7
|
+
data.tar.gz: 4f2aa582baf656619cf1b7b63d1b8b1fbab7dd6cc6f76331d20226496f0056744ddf180ee3dd94f495fe777920613d87ef92b44f3fc1f34c9d4fffaca2e7de37
|
data/lib/repla/lib/constants.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
module Repla
|
2
2
|
# Keys
|
3
|
-
PLUGIN_NAME_KEY = '
|
4
|
-
SPLIT_ID_KEY = '
|
5
|
-
WINDOW_ID_KEY = '
|
6
|
-
DARK_MODE_KEY = '
|
3
|
+
PLUGIN_NAME_KEY = 'REPLA_PLUGIN_NAME'.freeze
|
4
|
+
SPLIT_ID_KEY = 'REPLA_SPLIT_ID'.freeze
|
5
|
+
WINDOW_ID_KEY = 'REPLA_WINDOW_ID'.freeze
|
6
|
+
DARK_MODE_KEY = 'REPLA_DARK_MODE'.freeze
|
7
7
|
|
8
8
|
# Directories
|
9
9
|
APPLESCRIPT_DIRECTORY = File.join(__dir__, '../../applescript')
|
@@ -33,9 +33,9 @@ module Repla
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
if expected != result
|
36
|
-
|
37
|
-
|
38
|
-
|
36
|
+
warn "Expected #{expected} total messages instead of #{result}"
|
37
|
+
warn "Messages #{messages}"
|
38
|
+
warn "Error messages #{error_messages}"
|
39
39
|
return false
|
40
40
|
end
|
41
41
|
# Buffering issues are causing the output of `TestLog.replaplugin` to be
|
@@ -46,7 +46,7 @@ module Repla
|
|
46
46
|
expected = combined_expected.count
|
47
47
|
result = combined_result.count
|
48
48
|
if expected != result
|
49
|
-
|
49
|
+
warn "Expected #{expected} messages instead of #{result}"
|
50
50
|
return false
|
51
51
|
end
|
52
52
|
(0..combined_expected.count).each do |i|
|
@@ -54,7 +54,7 @@ module Repla
|
|
54
54
|
result = messages[i]
|
55
55
|
next unless expected != result
|
56
56
|
|
57
|
-
|
57
|
+
warn "At index #{i}, expected message #{expected} instead of "\
|
58
58
|
"#{result}"
|
59
59
|
return false
|
60
60
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: repla
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roben Kleene
|
@@ -167,8 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
167
|
- !ruby/object:Gem::Version
|
168
168
|
version: '0'
|
169
169
|
requirements: []
|
170
|
-
|
171
|
-
rubygems_version: 2.5.2.3
|
170
|
+
rubygems_version: 3.0.2
|
172
171
|
signing_key:
|
173
172
|
specification_version: 4
|
174
173
|
summary: Repla helper gem
|