livecode 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -11,6 +11,7 @@ begin
11
11
  gem.homepage = "http://github.com/elektronaut/livecode"
12
12
  gem.authors = ["Inge Jørgensen"]
13
13
  gem.add_dependency "daemons"
14
+ gem.files.include 'extras/**/*'
14
15
  #gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
15
16
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
16
17
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.6
1
+ 0.0.7
@@ -0,0 +1,38 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>beforeRunningCommand</key>
6
+ <string>nop</string>
7
+ <key>command</key>
8
+ <string>#!/usr/bin/env ruby -KU
9
+
10
+ require 'rubygems'
11
+ require 'livecode_server'
12
+ code = STDIN.read
13
+ client = LivecodeServer::Client.new
14
+
15
+ begin
16
+ client.run code
17
+ rescue LivecodeServer::ConnectionError =&gt; e
18
+ puts "Livecode server not running!\n\n"
19
+ puts '- Press ⌘B to start in daemon mode'
20
+ puts '- Run in Terminal with "livecode run"'
21
+ rescue Exception =&gt; e
22
+ puts "Error!"
23
+ puts " #{e.class}: #{e}"
24
+ end</string>
25
+ <key>input</key>
26
+ <string>document</string>
27
+ <key>keyEquivalent</key>
28
+ <string>@r</string>
29
+ <key>name</key>
30
+ <string>Execute Document</string>
31
+ <key>output</key>
32
+ <string>showAsTooltip</string>
33
+ <key>scope</key>
34
+ <string>source.ruby.livecode</string>
35
+ <key>uuid</key>
36
+ <string>D0828725-3DE5-43FB-BDEC-FF90DB9DE9A7</string>
37
+ </dict>
38
+ </plist>
@@ -0,0 +1,40 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>beforeRunningCommand</key>
6
+ <string>nop</string>
7
+ <key>command</key>
8
+ <string>#!/usr/bin/env ruby -KU
9
+
10
+ require 'rubygems'
11
+ require 'livecode_server'
12
+ code = STDIN.read
13
+ client = LivecodeServer::Client.new
14
+
15
+ begin
16
+ client.run code
17
+ rescue LivecodeServer::ConnectionError =&gt; e
18
+ puts "Livecode server not running!\n\n"
19
+ puts '- Press ⌘B to start in daemon mode'
20
+ puts '- Run in Terminal with "livecode run"'
21
+ rescue Exception =&gt; e
22
+ puts "Error!"
23
+ puts " #{e.class}: #{e}"
24
+ end</string>
25
+ <key>fallbackInput</key>
26
+ <string>line</string>
27
+ <key>input</key>
28
+ <string>selection</string>
29
+ <key>keyEquivalent</key>
30
+ <string>@e</string>
31
+ <key>name</key>
32
+ <string>Execute Selection/Line</string>
33
+ <key>output</key>
34
+ <string>showAsTooltip</string>
35
+ <key>scope</key>
36
+ <string>source.ruby.livecode</string>
37
+ <key>uuid</key>
38
+ <string>A171158B-D12C-4A2A-A40E-221873AE80E4</string>
39
+ </dict>
40
+ </plist>
@@ -0,0 +1,40 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>beforeRunningCommand</key>
6
+ <string>nop</string>
7
+ <key>command</key>
8
+ <string>#!/usr/bin/env ruby -KU
9
+
10
+ require 'rubygems'
11
+ require 'livecode_server'
12
+ code = STDIN.read
13
+ client = LivecodeServer::Client.new
14
+
15
+ begin
16
+ client.run code
17
+ rescue LivecodeServer::ConnectionError =&gt; e
18
+ puts "Livecode server not running!\n\n"
19
+ puts '- Press ⌘B to start in daemon mode'
20
+ puts '- Run in Terminal with "livecode run"'
21
+ rescue Exception =&gt; e
22
+ puts "Error!"
23
+ puts " #{e.class}: #{e}"
24
+ end</string>
25
+ <key>fallbackInput</key>
26
+ <string>scope</string>
27
+ <key>input</key>
28
+ <string>selection</string>
29
+ <key>keyEquivalent</key>
30
+ <string>^e</string>
31
+ <key>name</key>
32
+ <string>Execute Selection/Scope</string>
33
+ <key>output</key>
34
+ <string>showAsTooltip</string>
35
+ <key>scope</key>
36
+ <string>source.ruby.livecode</string>
37
+ <key>uuid</key>
38
+ <string>F1A4B1E4-3324-4E7F-B102-EA9FC8D5EED3</string>
39
+ </dict>
40
+ </plist>
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>beforeRunningCommand</key>
6
+ <string>nop</string>
7
+ <key>command</key>
8
+ <string>#!/usr/bin/env ruby
9
+
10
+ puts "Starting Livecode server... (Press ⇧⌘B to stop)"
11
+ puts `livecode start`</string>
12
+ <key>input</key>
13
+ <string>none</string>
14
+ <key>keyEquivalent</key>
15
+ <string>@b</string>
16
+ <key>name</key>
17
+ <string>Start</string>
18
+ <key>output</key>
19
+ <string>showAsTooltip</string>
20
+ <key>scope</key>
21
+ <string>source.ruby.livecode</string>
22
+ <key>uuid</key>
23
+ <string>3D80B4C9-9D0F-42BD-9440-E69FDE044CBA</string>
24
+ </dict>
25
+ </plist>
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>beforeRunningCommand</key>
6
+ <string>nop</string>
7
+ <key>command</key>
8
+ <string>#!/usr/bin/env ruby
9
+
10
+ puts "Stopping Livecode server..."
11
+ puts `livecode stop`</string>
12
+ <key>input</key>
13
+ <string>none</string>
14
+ <key>keyEquivalent</key>
15
+ <string>@B</string>
16
+ <key>name</key>
17
+ <string>Stop</string>
18
+ <key>output</key>
19
+ <string>showAsTooltip</string>
20
+ <key>scope</key>
21
+ <string>source.ruby.livecode</string>
22
+ <key>uuid</key>
23
+ <string>7AAC044D-D320-47B8-85E6-F20D3EE6B3D7</string>
24
+ </dict>
25
+ </plist>
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>fileTypes</key>
6
+ <array>
7
+ <string>rblive</string>
8
+ </array>
9
+ <key>keyEquivalent</key>
10
+ <string>~@R</string>
11
+ <key>name</key>
12
+ <string>Ruby Livecode</string>
13
+ <key>patterns</key>
14
+ <array>
15
+ <dict>
16
+ <key>include</key>
17
+ <string>source.ruby</string>
18
+ </dict>
19
+ </array>
20
+ <key>scopeName</key>
21
+ <string>source.ruby.livecode</string>
22
+ <key>uuid</key>
23
+ <string>5005ED25-4281-4325-B6B6-35C4A219200A</string>
24
+ </dict>
25
+ </plist>
@@ -0,0 +1,43 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>mainMenu</key>
6
+ <dict>
7
+ <key>items</key>
8
+ <array>
9
+ <string>D0828725-3DE5-43FB-BDEC-FF90DB9DE9A7</string>
10
+ <string>A171158B-D12C-4A2A-A40E-221873AE80E4</string>
11
+ <string>F1A4B1E4-3324-4E7F-B102-EA9FC8D5EED3</string>
12
+ <string>------------------------------------</string>
13
+ <string>8C97BBC9-9456-4329-BAAB-AB223FEFC72F</string>
14
+ </array>
15
+ <key>submenus</key>
16
+ <dict>
17
+ <key>8C97BBC9-9456-4329-BAAB-AB223FEFC72F</key>
18
+ <dict>
19
+ <key>items</key>
20
+ <array>
21
+ <string>3D80B4C9-9D0F-42BD-9440-E69FDE044CBA</string>
22
+ <string>7AAC044D-D320-47B8-85E6-F20D3EE6B3D7</string>
23
+ </array>
24
+ <key>name</key>
25
+ <string>Server</string>
26
+ </dict>
27
+ </dict>
28
+ </dict>
29
+ <key>name</key>
30
+ <string>Ruby Livecode</string>
31
+ <key>ordering</key>
32
+ <array>
33
+ <string>5005ED25-4281-4325-B6B6-35C4A219200A</string>
34
+ <string>D0828725-3DE5-43FB-BDEC-FF90DB9DE9A7</string>
35
+ <string>A171158B-D12C-4A2A-A40E-221873AE80E4</string>
36
+ <string>F1A4B1E4-3324-4E7F-B102-EA9FC8D5EED3</string>
37
+ <string>3D80B4C9-9D0F-42BD-9440-E69FDE044CBA</string>
38
+ <string>7AAC044D-D320-47B8-85E6-F20D3EE6B3D7</string>
39
+ </array>
40
+ <key>uuid</key>
41
+ <string>2A003063-9054-4398-9E53-F0139603A721</string>
42
+ </dict>
43
+ </plist>
data/livecode.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{livecode}
8
- s.version = "0.0.6"
8
+ s.version = "0.0.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Inge J\303\270rgensen"]
@@ -26,6 +26,20 @@ Gem::Specification.new do |s|
26
26
  "Rakefile",
27
27
  "VERSION",
28
28
  "bin/livecode",
29
+ "extras/textmate/Ruby Livecode.tmbundle/Commands/Execute Document.tmCommand",
30
+ "extras/textmate/Ruby Livecode.tmbundle/Commands/Execute Document.tmCommand",
31
+ "extras/textmate/Ruby Livecode.tmbundle/Commands/Execute Selection:Line.tmCommand",
32
+ "extras/textmate/Ruby Livecode.tmbundle/Commands/Execute Selection:Line.tmCommand",
33
+ "extras/textmate/Ruby Livecode.tmbundle/Commands/Execute Selection:Scope.tmCommand",
34
+ "extras/textmate/Ruby Livecode.tmbundle/Commands/Execute Selection:Scope.tmCommand",
35
+ "extras/textmate/Ruby Livecode.tmbundle/Commands/Start.tmCommand",
36
+ "extras/textmate/Ruby Livecode.tmbundle/Commands/Start.tmCommand",
37
+ "extras/textmate/Ruby Livecode.tmbundle/Commands/Stop.tmCommand",
38
+ "extras/textmate/Ruby Livecode.tmbundle/Commands/Stop.tmCommand",
39
+ "extras/textmate/Ruby Livecode.tmbundle/Syntaxes/Ruby Livecode.tmLanguage",
40
+ "extras/textmate/Ruby Livecode.tmbundle/Syntaxes/Ruby Livecode.tmLanguage",
41
+ "extras/textmate/Ruby Livecode.tmbundle/info.plist",
42
+ "extras/textmate/Ruby Livecode.tmbundle/info.plist",
29
43
  "lib/livecode.rb",
30
44
  "lib/livecode_server.rb",
31
45
  "lib/livecode_server/client.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: livecode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Inge J\xC3\xB8rgensen"
@@ -39,6 +39,13 @@ files:
39
39
  - Rakefile
40
40
  - VERSION
41
41
  - bin/livecode
42
+ - extras/textmate/Ruby Livecode.tmbundle/Commands/Execute Document.tmCommand
43
+ - extras/textmate/Ruby Livecode.tmbundle/Commands/Execute Selection:Line.tmCommand
44
+ - extras/textmate/Ruby Livecode.tmbundle/Commands/Execute Selection:Scope.tmCommand
45
+ - extras/textmate/Ruby Livecode.tmbundle/Commands/Start.tmCommand
46
+ - extras/textmate/Ruby Livecode.tmbundle/Commands/Stop.tmCommand
47
+ - extras/textmate/Ruby Livecode.tmbundle/Syntaxes/Ruby Livecode.tmLanguage
48
+ - extras/textmate/Ruby Livecode.tmbundle/info.plist
42
49
  - lib/livecode.rb
43
50
  - lib/livecode_server.rb
44
51
  - lib/livecode_server/client.rb