autotest-emacs 1.0.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.
@@ -0,0 +1,3 @@
1
+ === 1.0.0 / 2012-06-22
2
+
3
+ * Happy Birthday???
@@ -0,0 +1,5 @@
1
+ History.txt
2
+ Manifest.txt
3
+ README.txt
4
+ Rakefile
5
+ lib/autotest/emacs.rb
@@ -0,0 +1,53 @@
1
+ = autotest-emacs
2
+
3
+ http://github.com/zhando/autotest-emacs
4
+
5
+ == DESCRIPTION:
6
+
7
+ Makes UI portion of Ryan Davis' autotest.el work.
8
+ Once upon a time included with ZenTest (4.0.0 and earlier)
9
+
10
+ See http://www.emacswiki.org/emacs/autotest.el and
11
+ http://youtu.be/iRoo-33kGzM and
12
+ http://blog.zenspider.com/blog/2012/06/autotest-el.html
13
+
14
+ == FEATURES/PROBLEMS:
15
+
16
+ End of frustration with autotest.el - pilgrims, this is the missing piece!
17
+
18
+ == SYNOPSIS:
19
+
20
+ require 'autotest/emacs' # in your .autotest
21
+
22
+ == REQUIREMENTS:
23
+
24
+ emacs v22 or later,
25
+ autotest.el from emacswiki and configured in your .emacs,
26
+ ZenTest v4.1.0 and later (included in earlier versions)
27
+
28
+ == INSTALL:
29
+
30
+ gem install autotest-emacs
31
+
32
+ == LICENSE:
33
+
34
+ (The MIT License)
35
+
36
+ Permission is hereby granted, free of charge, to any person obtaining
37
+ a copy of this software and associated documentation files (the
38
+ 'Software'), to deal in the Software without restriction, including
39
+ without limitation the rights to use, copy, modify, merge, publish,
40
+ distribute, sublicense, and/or sell copies of the Software, and to
41
+ permit persons to whom the Software is furnished to do so, subject to
42
+ the following conditions:
43
+
44
+ The above copyright notice and this permission notice shall be
45
+ included in all copies or substantial portions of the Software.
46
+
47
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
48
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
49
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
50
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
51
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
52
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
53
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,12 @@
1
+ # -*- ruby -*-
2
+
3
+ require 'rubygems'
4
+ require 'hoe'
5
+
6
+ Hoe.spec 'autotest-emacs' do
7
+ developer('zhando', 'zhando@opensourceliving.com')
8
+
9
+ extra_deps << ["ZenTest", "> 4.0.0"]
10
+ end
11
+
12
+ # vim: syntax=ruby
@@ -0,0 +1,38 @@
1
+ #
2
+ # Get autotest.el from http://www.emacswiki.org/cgi-bin/wiki/RyanDavis
3
+ #
4
+
5
+ module Autotest::Emacs
6
+ VERSION = '1.0.0'
7
+
8
+ @@client_cmd = 'emacsclient -e'
9
+
10
+ def self.command= o
11
+ @@client_cmd = o
12
+ end
13
+
14
+ def self.emacs_autotest status
15
+ `#{@@client_cmd} \"(autotest-update '#{status})\"`
16
+ nil
17
+ end
18
+
19
+ Autotest.add_hook :run_command do |at|
20
+ emacs_autotest :running
21
+ end
22
+
23
+ Autotest.add_hook :green do |at|
24
+ emacs_autotest :passed
25
+ end
26
+
27
+ Autotest.add_hook :all_good do |at|
28
+ emacs_autotest :passed
29
+ end
30
+
31
+ Autotest.add_hook :red do |at|
32
+ emacs_autotest :failed
33
+ end
34
+
35
+ Autotest.add_hook :quit do |at|
36
+ emacs_autotest :quit
37
+ end
38
+ end
metadata ADDED
@@ -0,0 +1,112 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: autotest-emacs
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - zhando
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-06-23 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: ZenTest
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>'
20
+ - !ruby/object:Gem::Version
21
+ version: 4.0.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>'
28
+ - !ruby/object:Gem::Version
29
+ version: 4.0.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: rdoc
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: '3.10'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '3.10'
46
+ - !ruby/object:Gem::Dependency
47
+ name: hoe
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: '3.0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ description: ! 'Makes UI portion of Ryan Davis'' autotest.el work.
63
+
64
+ Once upon a time included with ZenTest (4.0.0 and earlier)
65
+
66
+
67
+ See http://www.emacswiki.org/emacs/autotest.el and
68
+
69
+ http://youtu.be/iRoo-33kGzM and
70
+
71
+ http://blog.zenspider.com/blog/2012/06/autotest-el.html'
72
+ email:
73
+ - zhando@opensourceliving.com
74
+ executables: []
75
+ extensions: []
76
+ extra_rdoc_files:
77
+ - History.txt
78
+ - Manifest.txt
79
+ - README.txt
80
+ files:
81
+ - History.txt
82
+ - Manifest.txt
83
+ - README.txt
84
+ - Rakefile
85
+ - lib/autotest/emacs.rb
86
+ homepage: http://github.com/zhando/autotest-emacs
87
+ licenses: []
88
+ post_install_message:
89
+ rdoc_options:
90
+ - --main
91
+ - README.txt
92
+ require_paths:
93
+ - lib
94
+ required_ruby_version: !ruby/object:Gem::Requirement
95
+ none: false
96
+ requirements:
97
+ - - ! '>='
98
+ - !ruby/object:Gem::Version
99
+ version: '0'
100
+ required_rubygems_version: !ruby/object:Gem::Requirement
101
+ none: false
102
+ requirements:
103
+ - - ! '>='
104
+ - !ruby/object:Gem::Version
105
+ version: '0'
106
+ requirements: []
107
+ rubyforge_project: autotest-emacs
108
+ rubygems_version: 1.8.24
109
+ signing_key:
110
+ specification_version: 3
111
+ summary: Makes UI portion of Ryan Davis' autotest.el work
112
+ test_files: []