webconsole 0.1.18 → 0.1.19

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 36cac7f11fec06a59f3a1e8a21d531df13d95a7f
4
- data.tar.gz: 907811064f3e83a2da3091ee16ec82d87e7fc3d3
3
+ metadata.gz: b8f200f0d4c9363e825360b36228c122eb27d7a6
4
+ data.tar.gz: 88e1354ed11b95876358b9f55d21cd9371c4b1f4
5
5
  SHA512:
6
- metadata.gz: e43dccf68af6db8a6bae3567cea1535525724ae8efa29b5f4e44e615a63ec439b49c05c51004bd5acfd17f65ba82037a0d275fc69f1ad955deef6fbd68947d1e
7
- data.tar.gz: f0cdd0ac39679578f10f2dc7083e535149b65c936152c8c55a088d74a7ca2956ecf1d24247577cbff74e0f04417488f3360384c15c5788f54fdf5027aa274f19
6
+ metadata.gz: 12b03c52f08299e47056df30960e523703afee479986b0d0fd3e75cc2875c424c78e623df2329da35d028438bf207cefebb3a155ea8b0195bc94e7a89bcef952
7
+ data.tar.gz: 09148ae88d698a0b1d392dc301e22cf84e4324386b30e1cbe9caa84897eaf76b7b9a3cfe8d904d3d290b64b6903d980c355dfd7985b53430318b1453d26cb133
@@ -10,30 +10,23 @@ module WebConsole::Dependencies
10
10
  passed = true
11
11
  dependencies.each { |dependency|
12
12
  dependency_passed = check(dependency)
13
- if !dependency_passed
14
- passed = false
15
- end
13
+ passed = false unless dependency_passed
16
14
  }
17
- return passed
15
+ passed
18
16
  end
19
17
 
20
18
  def check(dependency)
21
19
  name = dependency.name
22
20
  type = dependency.type
23
21
  passed = Tester::check(name, type)
24
- if !passed
25
- controller.missing_dependency(dependency)
26
- end
27
- return passed
22
+ controller.missing_dependency(dependency) unless passed
23
+ passed
28
24
  end
29
25
 
30
26
  private
31
27
 
32
28
  def controller
33
- if !@controller
34
- @controller = Controller.new
35
- end
36
- return @controller
29
+ @controller ||= Controller.new
37
30
  end
38
31
 
39
32
  end
@@ -14,11 +14,9 @@ module WebConsole::Dependencies
14
14
  name = dependency.name
15
15
  type = self.class.string_for_type(dependency.type)
16
16
  options = dependency.options
17
-
18
17
  if options.has_key?(:installation_instructions)
19
18
  installation_instructions = options[:installation_instructions]
20
19
  end
21
-
22
20
  @view.add_missing_dependency(name, type, installation_instructions)
23
21
  end
24
22
 
@@ -29,7 +27,7 @@ module WebConsole::Dependencies
29
27
  when :shell_command
30
28
  return "shell command"
31
29
  end
32
- return nil
30
+ nil
33
31
  end
34
32
 
35
33
  end
@@ -12,7 +12,7 @@ module WebConsole::Dependencies
12
12
  require 'shellwords'
13
13
  def self.check_shell_command(name)
14
14
  command = "type -a #{Shellwords.escape(name)} > /dev/null 2>&1"
15
- return system(command)
15
+ system(command)
16
16
  end
17
17
 
18
18
  end
@@ -13,7 +13,7 @@ module WebConsole::Dependencies
13
13
 
14
14
  ADD_MISSING_DEPENDENCY_FUNCTION = "addMissingDependency"
15
15
  def add_missing_dependency(name, type, installation_instructions = nil)
16
- self.do_javascript_function(ADD_MISSING_DEPENDENCY_FUNCTION, [name, type, installation_instructions])
16
+ do_javascript_function(ADD_MISSING_DEPENDENCY_FUNCTION, [name, type, installation_instructions])
17
17
  end
18
18
  end
19
19
  end
@@ -8,64 +8,51 @@ module WebConsole
8
8
  EXISTS_SCRIPT = File.join(APPLESCRIPT_DIRECTORY, "exists.scpt")
9
9
  def self.application_exists
10
10
  result = self.run_applescript(EXISTS_SCRIPT)
11
- if result == "true"
12
- return true
13
- else
14
- return false
15
- end
11
+ result == "true" ? true : false
16
12
  end
17
13
 
18
14
  RUN_PLUGIN_SCRIPT = File.join(APPLESCRIPT_DIRECTORY, "run_plugin.scpt")
19
15
  def self.run_plugin(name, directory = nil, arguments = nil)
20
16
  parameters = [name]
21
- if directory
22
- parameters.push(directory)
23
- end
24
- if arguments
25
- parameters = parameters + arguments
26
- end
27
-
28
- return self.run_applescript(RUN_PLUGIN_SCRIPT, parameters)
17
+ parameters.push(directory) unless directory.nil?
18
+ parameters += arguments unless arguments.nil?
19
+ self.run_applescript(RUN_PLUGIN_SCRIPT, parameters)
29
20
  end
30
21
 
31
22
  RUN_PLUGIN_IN_SPLIT_SCRIPT = File.join(APPLESCRIPT_DIRECTORY, "run_plugin_in_split.scpt")
32
23
  def self.run_plugin_in_split(name, window_id, split_id)
33
24
  parameters = [name, window_id, split_id]
34
- return self.run_applescript(RUN_PLUGIN_IN_SPLIT_SCRIPT, parameters)
25
+ self.run_applescript(RUN_PLUGIN_IN_SPLIT_SCRIPT, parameters)
35
26
  end
36
27
 
37
28
  WINDOW_ID_FOR_PLUGIN_SCRIPT = File.join(APPLESCRIPT_DIRECTORY, "window_id_for_plugin.scpt")
38
29
  def self.window_id_for_plugin(name)
39
- return self.run_applescript(WINDOW_ID_FOR_PLUGIN_SCRIPT, [name])
30
+ self.run_applescript(WINDOW_ID_FOR_PLUGIN_SCRIPT, [name])
40
31
  end
41
32
 
42
33
  SPLIT_ID_IN_WINDOW_SCRIPT = File.join(APPLESCRIPT_DIRECTORY, "split_id_in_window.scpt")
43
34
  def self.split_id_in_window(window_id, pluginName = nil)
44
35
  arguments = [window_id]
45
-
46
- if pluginName
47
- arguments.push(pluginName)
48
- end
49
-
50
- return self.run_applescript(SPLIT_ID_IN_WINDOW_SCRIPT, arguments)
36
+ arguments.push(pluginName) unless pluginName.nil?
37
+ self.run_applescript(SPLIT_ID_IN_WINDOW_SCRIPT, arguments)
51
38
  end
52
39
 
53
40
  SPLIT_ID_IN_WINDOW_LAST_SCRIPT = File.join(APPLESCRIPT_DIRECTORY, "split_id_in_window_last.scpt")
54
41
  def self.split_id_in_window_last(window_id)
55
42
  arguments = [window_id]
56
- return self.run_applescript(SPLIT_ID_IN_WINDOW_LAST_SCRIPT, arguments)
43
+ self.run_applescript(SPLIT_ID_IN_WINDOW_LAST_SCRIPT, arguments)
57
44
  end
58
45
 
59
46
  CREATE_WINDOW_SCRIPT = File.join(APPLESCRIPT_DIRECTORY, "create_window.scpt")
60
47
  def self.create_window
61
- return self.run_applescript(CREATE_WINDOW_SCRIPT)
48
+ self.run_applescript(CREATE_WINDOW_SCRIPT)
62
49
  end
63
50
 
64
51
  # Shared Resources
65
52
 
66
53
  RESOURCE_PATH_FOR_PLUGIN_SCRIPT = File.join(APPLESCRIPT_DIRECTORY, "resource_path_for_plugin.scpt")
67
54
  def self.resource_path_for_plugin(name)
68
- return self.run_applescript(RESOURCE_PATH_FOR_PLUGIN_SCRIPT, [name])
55
+ self.run_applescript(RESOURCE_PATH_FOR_PLUGIN_SCRIPT, [name])
69
56
  end
70
57
 
71
58
  # Shared Resource Path
@@ -73,81 +60,74 @@ module WebConsole
73
60
  SHARED_RESOURCES_PLUGIN_NAME = "Shared Resources"
74
61
  SHARED_TEST_RESOURCES_PLUGIN_NAME = "Shared Test Resources"
75
62
  def self.shared_resources_path
76
- return resource_path_for_plugin(SHARED_RESOURCES_PLUGIN_NAME)
63
+ resource_path_for_plugin(SHARED_RESOURCES_PLUGIN_NAME)
77
64
  end
78
65
  def self.shared_test_resources_path
79
- return resource_path_for_plugin(SHARED_TEST_RESOURCES_PLUGIN_NAME)
66
+ resource_path_for_plugin(SHARED_TEST_RESOURCES_PLUGIN_NAME)
80
67
  end
81
68
 
82
69
  def self.shared_resource(resource)
83
- return File.join(self.shared_resources_path, resource)
70
+ File.join(self.shared_resources_path, resource)
84
71
  end
85
72
  def self.shared_test_resource(resource)
86
- return File.join(self.shared_test_resources_path, resource)
73
+ File.join(self.shared_test_resources_path, resource)
87
74
  end
88
75
 
89
76
  # Shared Resource URL
90
77
 
91
78
  RESOURCE_URL_FOR_PLUGIN_SCRIPT = File.join(APPLESCRIPT_DIRECTORY, "resource_url_for_plugin.scpt")
92
79
  def self.resource_url_for_plugin(name)
93
- return self.run_applescript(RESOURCE_URL_FOR_PLUGIN_SCRIPT, [name])
80
+ self.run_applescript(RESOURCE_URL_FOR_PLUGIN_SCRIPT, [name])
94
81
  end
95
82
  def self.shared_resources_url
96
- return resource_url_for_plugin(SHARED_RESOURCES_PLUGIN_NAME)
83
+ resource_url_for_plugin(SHARED_RESOURCES_PLUGIN_NAME)
97
84
  end
98
85
 
99
86
  private
100
87
 
101
88
  def self.run_applescript(script, arguments = nil)
102
- command = "osascript #{Shellwords.escape(script)}"
89
+ command = "osascript #{script.shell_escape}"
90
+
103
91
  if arguments
104
- arguments.each { |argument|
105
- if argument
106
- argument = argument.to_s
107
- command = command + " " + Shellwords.escape(argument)
108
- end
109
- }
92
+ command += " " + arguments.compact.map(&:to_s).map(&:shell_escape).join(' ')
110
93
  end
111
94
 
112
95
  result = `#{command}`
113
96
 
114
97
  result.chomp!
115
98
 
116
- if result.empty?
117
- return nil
118
- end
119
-
120
- if result.is_integer?
121
- return result.to_i
122
- end
123
-
124
- if result.is_float?
125
- return result.to_f
126
- end
127
-
128
- return result
99
+ return nil if result.empty?
100
+ return result.to_i if result.is_integer?
101
+ return result.to_f if result.is_float?
102
+
103
+ result
129
104
  end
130
105
 
131
106
  class ::String
132
107
  def is_float?
133
- !!Float(self) rescue false
108
+ true if Float(self) rescue false
134
109
  end
135
110
 
136
111
  def is_integer?
137
112
  self.to_i.to_s == self
138
113
  end
114
+
115
+ def shell_escape
116
+ Shellwords.escape(self)
117
+ end
118
+
119
+ def shell_escape!
120
+ replace(shell_escape)
121
+ end
122
+
139
123
  end
140
124
 
141
125
  class ::Float
142
- def javascript_argument
143
- return self.to_s
144
- end
126
+ alias_method :javascript_argument, :to_s
145
127
  end
146
128
 
147
129
  class ::Integer
148
- def javascript_argument
149
- return self.to_s
150
- end
130
+ alias_method :javascript_argument, :to_s
151
131
  end
152
132
 
153
133
  end
@@ -13,14 +13,7 @@ module WebConsole
13
13
  end
14
14
 
15
15
  def view_id
16
- if !@view_id
17
- if ENV.has_key?(SPLIT_ID_KEY)
18
- @view_id = ENV[SPLIT_ID_KEY]
19
- else
20
- @view_id = split_id
21
- end
22
- end
23
- return @view_id
16
+ @view_id ||= ENV.has_key?(SPLIT_ID_KEY) ? ENV[SPLIT_ID_KEY] : split_id
24
17
  end
25
18
 
26
19
  private
@@ -28,9 +21,7 @@ module WebConsole
28
21
  # Web
29
22
 
30
23
  def arguments_with_target(arguments)
31
- arguments = super(arguments)
32
- arguments.push(view_id)
33
- return arguments
24
+ super(arguments).push(view_id)
34
25
  end
35
26
 
36
27
  end
@@ -3,7 +3,7 @@ module WebConsole
3
3
 
4
4
  def do_javascript_function(function, arguments = nil)
5
5
  javascript = self.class.javascript_function(function, arguments)
6
- return do_javascript(javascript)
6
+ do_javascript(javascript)
7
7
  end
8
8
 
9
9
  def self.javascript_function(function, arguments = nil)
@@ -23,15 +23,13 @@ module WebConsole
23
23
  end
24
24
 
25
25
  function << ');'
26
-
27
- return function
28
26
  end
29
27
 
30
28
  private
31
29
 
32
30
  class ::String
33
31
  def javascript_argument
34
- return "'#{self.javascript_escape}'"
32
+ "'#{self.javascript_escape}'"
35
33
  end
36
34
 
37
35
  def javascript_escape
@@ -11,38 +11,32 @@ module WebConsole
11
11
  CSS_PATH_COMPONENT = "css/"
12
12
  def shared_stylesheet_link_tag(resource)
13
13
  uri = URI.join(shared_resources_url, CSS_PATH_COMPONENT, resource + CSS_EXTENSION)
14
- return stylesheet_link_tag(uri.to_s)
14
+ stylesheet_link_tag(uri.to_s)
15
15
  end
16
16
 
17
17
  def stylesheet_link_tag(url)
18
- return "<link rel=\"stylesheet\" href=\"#{url}\" />"
18
+ "<link rel=\"stylesheet\" href=\"#{url}\" />"
19
19
  end
20
20
 
21
21
  JS_EXTENSION = ".js"
22
22
  JS_PATH_COMPONENT = "js/"
23
23
  def shared_javascript_include_tag(resource)
24
24
  uri = URI.join(shared_resources_url, JS_PATH_COMPONENT, resource + JS_EXTENSION)
25
- return javascript_include_tag(uri.to_s)
25
+ javascript_include_tag(uri.to_s)
26
26
  end
27
27
 
28
28
  def javascript_include_tag(url)
29
- return "<script type=\"text/javascript\" src=\"#{url}\"></script>"
29
+ "<script type=\"text/javascript\" src=\"#{url}\"></script>"
30
30
  end
31
31
 
32
32
  def title
33
- if !@title && ENV.has_key?(PLUGIN_NAME_KEY)
34
- @title = ENV[PLUGIN_NAME_KEY]
35
- end
36
- return @title
33
+ @title ||= ENV.has_key?(PLUGIN_NAME_KEY) ? ENV[PLUGIN_NAME_KEY] : nil
37
34
  end
38
35
 
39
36
  private
40
37
 
41
38
  def shared_resources_url
42
- if !@shared_resources_url
43
- @shared_resources_url = ENV.has_key?(SHARED_RESOURCES_URL_KEY)? ENV[SHARED_RESOURCES_URL_KEY] : WebConsole::shared_resources_url
44
- end
45
- return @shared_resources_url
39
+ @shared_resources_url || ENV.has_key?(SHARED_RESOURCES_URL_KEY) ? ENV[SHARED_RESOURCES_URL_KEY] : WebConsole::shared_resources_url
46
40
  end
47
41
  end
48
42
  end
@@ -15,14 +15,7 @@ module WebConsole
15
15
  end
16
16
 
17
17
  def window_id
18
- if !@window_id
19
- if ENV.has_key?(WINDOW_ID_KEY)
20
- @window_id = ENV[WINDOW_ID_KEY]
21
- else
22
- @window_id = WebConsole::create_window
23
- end
24
- end
25
- return @window_id
18
+ @window_id ||= ENV.has_key?(WINDOW_ID_KEY) ? ENV[WINDOW_ID_KEY] : WebConsole::create_window
26
19
  end
27
20
 
28
21
  # Web
@@ -39,12 +32,12 @@ module WebConsole
39
32
  arguments.push(@base_url)
40
33
  end
41
34
 
42
- return run_script(script, arguments)
35
+ run_script(script, arguments)
43
36
  end
44
37
 
45
38
  DOJAVASCRIPT_SCRIPT = File.join(APPLESCRIPT_DIRECTORY, "do_javascript.scpt")
46
39
  def do_javascript(javascript)
47
- return run_script(DOJAVASCRIPT_SCRIPT, [javascript])
40
+ run_script(DOJAVASCRIPT_SCRIPT, [javascript])
48
41
  end
49
42
 
50
43
  READ_FROM_STANDARD_INPUT_SCRIPT = File.join(APPLESCRIPT_DIRECTORY, "read_from_standard_input.scpt")
@@ -60,23 +53,22 @@ module WebConsole
60
53
  end
61
54
 
62
55
  def split_id
63
- return WebConsole::split_id_in_window(window_id)
56
+ WebConsole::split_id_in_window(window_id)
64
57
  end
65
58
 
66
59
  def split_id_last
67
- return WebConsole::split_id_in_window_last(window_id)
60
+ WebConsole::split_id_in_window_last(window_id)
68
61
  end
69
62
 
70
63
  private
71
64
 
72
65
  def run_script(script, arguments = [])
73
66
  arguments = arguments_with_target(arguments)
74
- return WebConsole::run_applescript(script, arguments)
67
+ WebConsole::run_applescript(script, arguments)
75
68
  end
76
69
 
77
70
  def arguments_with_target(arguments)
78
71
  arguments.push(window_id)
79
- return arguments
80
72
  end
81
73
 
82
74
  end
@@ -44,30 +44,16 @@ module WebConsole
44
44
  # Properties
45
45
 
46
46
  def window_id
47
- if !@window_id
48
- if ENV.has_key?(WINDOW_ID_KEY)
49
- @window_id = ENV[WINDOW_ID_KEY]
50
- else
51
- @window_id = WebConsole::create_window
52
- end
53
- end
54
- return @window_id
47
+ @window_id ||= ENV.has_key?(WINDOW_ID_KEY) ? ENV[WINDOW_ID_KEY] : WebConsole::create_window
55
48
  end
56
49
 
57
50
  def view_id
58
- if !@view_id
59
- # First see if there's an existing log plugin
60
- @view_id = WebConsole::split_id_in_window(window_id, LOG_PLUGIN_NAME)
51
+ @view_id ||= WebConsole::split_id_in_window(window_id, LOG_PLUGIN_NAME)
52
+ return @view_id unless @view_id.nil?
61
53
 
62
- # If not, run one
63
- if !@view_id
64
- @view_id = WebConsole::split_id_in_window_last(window_id)
65
- WebConsole::run_plugin_in_split(LOG_PLUGIN_NAME, window_id, @view_id)
66
- end
67
-
68
- end
69
-
70
- return @view_id
54
+ @view_id = WebConsole::split_id_in_window_last(window_id)
55
+ WebConsole::run_plugin_in_split(LOG_PLUGIN_NAME, window_id, @view_id)
56
+ @view_id
71
57
  end
72
58
 
73
59
  private
@@ -9,19 +9,19 @@ class TestViewHelper
9
9
  end
10
10
 
11
11
  def log_message_at_index(index)
12
- return @view.do_javascript_function('innerTextOfBodyChildAtIndex', [index])
12
+ @view.do_javascript_function('innerTextOfBodyChildAtIndex', [index])
13
13
  end
14
14
 
15
15
  def number_of_log_messages
16
- return @view.do_javascript(TEST_MESSAGE_COUNT_JAVASCRIPT)
16
+ @view.do_javascript(TEST_MESSAGE_COUNT_JAVASCRIPT)
17
17
  end
18
18
 
19
19
  def last_log_message
20
- return @view.do_javascript(TEST_MESSAGE_JAVASCRIPT)
20
+ @view.do_javascript(TEST_MESSAGE_JAVASCRIPT)
21
21
  end
22
22
 
23
23
  def last_log_class
24
- return @view.do_javascript(TEST_CLASS_JAVASCRIPT)
24
+ @view.do_javascript(TEST_CLASS_JAVASCRIPT)
25
25
  end
26
26
 
27
27
  end
@@ -8,6 +8,7 @@ module WebConsole::REPL
8
8
 
9
9
  class Wrapper
10
10
  require 'pty'
11
+
11
12
  def initialize(command)
12
13
 
13
14
  PTY.spawn(command) do |output, input, pid|
@@ -18,6 +19,7 @@ module WebConsole::REPL
18
19
  end
19
20
  @input = input
20
21
  end
22
+
21
23
  end
22
24
 
23
25
  def parse_input(input)
@@ -32,27 +34,16 @@ module WebConsole::REPL
32
34
  private
33
35
 
34
36
  def input_controller
35
- if !@input_controller
36
- @input_controller = InputController.new
37
- @input_controller.view = view
38
- end
39
- return @input_controller
37
+ @input_controller ||= InputController.new(view)
40
38
  end
41
39
 
42
40
  def output_controller
43
- if !@output_controller
44
- @output_controller = OutputController.new
45
- @output_controller.view = view
46
- end
47
- return @output_controller
41
+ @output_controller ||= OutputController.new(view)
48
42
  end
49
43
 
50
44
  def view
51
- if !@view
52
- @view = View.new
53
- end
54
- return @view
45
+ @view ||= View.new
55
46
  end
56
47
 
57
48
  end
58
- end
49
+ end
@@ -2,7 +2,8 @@ module WebConsole::REPL
2
2
  class InputController < WebConsole::Controller
3
3
 
4
4
  attr_accessor :view
5
- def initialize
5
+ def initialize(view)
6
+ @view = view
6
7
  end
7
8
 
8
9
  def parse_input(input)
@@ -2,7 +2,8 @@ module WebConsole::REPL
2
2
  class OutputController < WebConsole::Controller
3
3
 
4
4
  attr_accessor :view
5
- def initialize
5
+ def initialize(view)
6
+ @view = view
6
7
  end
7
8
 
8
9
  def parse_output(output)
@@ -23,7 +23,7 @@ module WebConsole::REPL
23
23
  # Helpers to allow easy loading of REPL resource even from another base URL
24
24
 
25
25
  def repl_header_tags
26
- return %Q[
26
+ %Q[
27
27
  #{repl_stylesheet_link_tag}
28
28
  #{repl_handlebars_template_tags}
29
29
  #{shared_javascript_include_tag("handlebars")}
@@ -33,7 +33,7 @@ module WebConsole::REPL
33
33
  end
34
34
 
35
35
  def repl_handlebars_template_tags
36
- return %Q[
36
+ %Q[
37
37
  <script id="output-template" type="text/x-handlebars-template">
38
38
  <pre class="output"><code>{{code}}</code></pre>
39
39
  </script>
@@ -45,23 +45,23 @@ module WebConsole::REPL
45
45
  def repl_stylesheet_link_tag
46
46
  path = File.join(repl_base_resource_path, "css/style.css")
47
47
  url = repl_url_for_path(path)
48
- return stylesheet_link_tag(url)
48
+ stylesheet_link_tag(url)
49
49
  end
50
50
 
51
51
  def repl_javascript_include_tag
52
52
  path = File.join(repl_base_resource_path, "js/wcrepl.js")
53
53
  url = repl_url_for_path(path)
54
- return javascript_include_tag(url)
54
+ javascript_include_tag(url)
55
55
  end
56
56
 
57
57
  require 'open-uri'
58
58
  def repl_url_for_path(path)
59
59
  uri = URI::encode(path)
60
- return "file://" + uri
60
+ "file://" + uri
61
61
  end
62
62
 
63
63
  def repl_base_resource_path
64
- path = File.expand_path(File.join(File.dirname(__FILE__), "../"))
64
+ File.expand_path(File.join(File.dirname(__FILE__), "../"))
65
65
  end
66
66
 
67
67
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webconsole
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.18
4
+ version: 0.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roben Kleene
@@ -34,8 +34,6 @@ files:
34
34
  - lib/applescript/split_id_in_window_last.scpt
35
35
  - lib/applescript/toggle_log.scpt
36
36
  - lib/applescript/window_id_for_plugin.scpt
37
- - lib/webconsole.rb
38
- - lib/webconsole/dependencies.rb
39
37
  - lib/webconsole/dependencies/css/style.css
40
38
  - lib/webconsole/dependencies/js/wcdependencies.js
41
39
  - lib/webconsole/dependencies/lib/controller.rb
@@ -43,29 +41,31 @@ files:
43
41
  - lib/webconsole/dependencies/lib/tester.rb
44
42
  - lib/webconsole/dependencies/lib/view.rb
45
43
  - lib/webconsole/dependencies/views/view.html.erb
44
+ - lib/webconsole/dependencies.rb
46
45
  - lib/webconsole/extension_constants.rb
47
46
  - lib/webconsole/lib/constants.rb
48
47
  - lib/webconsole/lib/controller.rb
49
48
  - lib/webconsole/lib/module.rb
50
- - lib/webconsole/lib/view.rb
51
49
  - lib/webconsole/lib/view/erb.rb
52
50
  - lib/webconsole/lib/view/javascript.rb
53
51
  - lib/webconsole/lib/view/resources.rb
52
+ - lib/webconsole/lib/view.rb
54
53
  - lib/webconsole/lib/window.rb
55
- - lib/webconsole/logger.rb
56
- - lib/webconsole/logger/test/Rakefile
57
54
  - lib/webconsole/logger/test/js/test_view_helper.js
58
55
  - lib/webconsole/logger/test/lib/test_constants.rb
59
56
  - lib/webconsole/logger/test/lib/test_view_helper.rb
57
+ - lib/webconsole/logger/test/Rakefile
60
58
  - lib/webconsole/logger/test/run_tests.sh
61
59
  - lib/webconsole/logger/test/tc_logger.rb
62
- - lib/webconsole/repl.rb
60
+ - lib/webconsole/logger.rb
63
61
  - lib/webconsole/repl/css/style.css
64
62
  - lib/webconsole/repl/js/wcrepl.js
65
63
  - lib/webconsole/repl/lib/input_controller.rb
66
64
  - lib/webconsole/repl/lib/output_controller.rb
67
65
  - lib/webconsole/repl/lib/view.rb
68
66
  - lib/webconsole/repl/view/view.html.erb
67
+ - lib/webconsole/repl.rb
68
+ - lib/webconsole.rb
69
69
  homepage:
70
70
  licenses: []
71
71
  metadata: {}
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  version: '0'
86
86
  requirements: []
87
87
  rubyforge_project:
88
- rubygems_version: 2.2.2
88
+ rubygems_version: 2.0.3
89
89
  signing_key:
90
90
  specification_version: 4
91
91
  summary: Web Console helper gem