mani 0.0.2 → 0.0.3

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: 1b269a1ad0554dc57959f8142fe75d121b9bf472
4
- data.tar.gz: 76ead7572bb2b1b3ce1d05def8a96b54acad42e9
3
+ metadata.gz: e727e41964b0eb09a6acd469f48a009a58b1def2
4
+ data.tar.gz: 03c73bfaa7b35b4ceeb2bacb43c148e7f05e492d
5
5
  SHA512:
6
- metadata.gz: 18e6bbc6919d0d1744b3894b9ea948dbdfc652befde15b8561c450404978d34741d69c53fceb4aca2e5391f8da597ce8c4b9fead94d05fe99ac35a50930bb6a4
7
- data.tar.gz: e3b81f2cbc77d58f183414f867ed51389db569ef6809c9f189ec52aa21c7f5bda1711f860d4143e2ca10a91250f380cd77d99fb584a20fbecb28153113e48747
6
+ metadata.gz: eb371196ff407aaa2b2734069e1e83c468a22a3cc7fa6178930d427ab906819583f6ea13615724f7887be646b1a2843ba2fef30da863807a1b3027342fe76d21
7
+ data.tar.gz: 213de9b2fbeeecbcee18182306d35de2ced187823d71facbc9f7bcd6adf312b557f6f82133ef863d39f65faa700951204b6949bf4bc79cbcca43b49619a46c85
data/Gemfile CHANGED
@@ -1,3 +1,3 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- gem 'x_do'
3
+ gem 'x_do', github: 'NSinopoli/x_do'
data/Gemfile.lock CHANGED
@@ -1,80 +1,17 @@
1
+ GIT
2
+ remote: git://github.com/NSinopoli/x_do.git
3
+ revision: ff43fa555d1c497c0516bf12353ac64860faf1e6
4
+ specs:
5
+ x_do (0.1.2)
6
+ ffi (>= 1.0.0)
7
+
1
8
  GEM
2
9
  remote: http://rubygems.org/
3
10
  specs:
4
- activesupport (4.1.6)
5
- i18n (~> 0.6, >= 0.6.9)
6
- json (~> 1.7, >= 1.7.7)
7
- minitest (~> 5.1)
8
- thread_safe (~> 0.1)
9
- tzinfo (~> 1.1)
10
- addressable (2.3.6)
11
- builder (3.2.2)
12
- descendants_tracker (0.0.4)
13
- thread_safe (~> 0.3, >= 0.3.1)
14
- docile (1.1.5)
15
- faraday (0.9.0)
16
- multipart-post (>= 1.2, < 3)
17
- git (1.2.8)
18
- github_api (0.12.1)
19
- addressable (~> 2.3)
20
- descendants_tracker (~> 0.0.4)
21
- faraday (~> 0.8, < 0.10)
22
- hashie (>= 3.2)
23
- multi_json (>= 1.7.5, < 2.0)
24
- nokogiri (~> 1.6.3)
25
- oauth2
26
- hashie (3.3.1)
27
- highline (1.6.21)
28
- i18n (0.6.11)
29
- jeweler (2.0.1)
30
- builder
31
- bundler (>= 1.0)
32
- git (>= 1.2.5)
33
- github_api
34
- highline (>= 1.6.15)
35
- nokogiri (>= 1.5.10)
36
- rake
37
- rdoc
38
- json (1.8.1)
39
- jwt (1.0.0)
40
- mini_portile (0.6.0)
41
- minitest (5.4.2)
42
- multi_json (1.10.1)
43
- multi_xml (0.5.5)
44
- multipart-post (2.0.0)
45
- nokogiri (1.6.3.1)
46
- mini_portile (= 0.6.0)
47
- oauth2 (1.0.0)
48
- faraday (>= 0.8, < 0.10)
49
- jwt (~> 1.0)
50
- multi_json (~> 1.3)
51
- multi_xml (~> 0.5)
52
- rack (~> 1.2)
53
- rack (1.5.2)
54
- rake (10.3.2)
55
- rdoc (3.12.2)
56
- json (~> 1.4)
57
- shoulda (3.5.0)
58
- shoulda-context (~> 1.0, >= 1.0.1)
59
- shoulda-matchers (>= 1.4.1, < 3.0)
60
- shoulda-context (1.2.1)
61
- shoulda-matchers (2.7.0)
62
- activesupport (>= 3.0.0)
63
- simplecov (0.9.1)
64
- docile (~> 1.1.0)
65
- multi_json (~> 1.0)
66
- simplecov-html (~> 0.8.0)
67
- simplecov-html (0.8.0)
68
- thread_safe (0.3.4)
69
- tzinfo (1.2.2)
70
- thread_safe (~> 0.1)
11
+ ffi (1.9.8)
71
12
 
72
13
  PLATFORMS
73
14
  ruby
74
15
 
75
16
  DEPENDENCIES
76
- bundler (~> 1.0)
77
- jeweler (~> 2.0.1)
78
- rdoc (~> 3.12)
79
- shoulda
80
- simplecov
17
+ x_do!
data/README.md CHANGED
@@ -9,6 +9,10 @@ a few lines of code. Please open an
9
9
  [issue](https://github.com/NSinopoli/mani/issues) to add support for your
10
10
  favorite window manager.
11
11
 
12
+ ## Demo
13
+
14
+ [![Mani Demo](/demo.png?raw=true "Mani Demo")](https://vimeo.com/110445089)
15
+
12
16
  ## Installation
13
17
 
14
18
  ```bash
data/demo.png ADDED
Binary file
data/examples/chording.rb CHANGED
@@ -1,4 +1,4 @@
1
- Mani.new do
1
+ Mani.new(window_manager: :xmonad) do
2
2
  window :urxvt, launch: 'urxvt' do
3
3
  # Copy the most recent report id
4
4
  run %q(
@@ -1,28 +1,23 @@
1
1
  Mani.new(window_manager: :xmonad) do
2
2
  workspace 1 do
3
- window :top, launch: 'urxvt' do
4
- run 'top'
5
- end
6
-
7
- window :date, launch: 'urxvt' do
8
- run 'date'
3
+ window :glances, launch: 'urxvt' do
4
+ run 'par', delay: 1
5
+ run 'glances'
9
6
  end
10
7
  end
11
8
 
12
9
  workspace 2 do
13
- window :firefox, launch: 'firefox', delay: 1.5 do
14
- # Type "F6" first so that the cursor is in the address bar before typing
15
- # the url.
16
- visit '{{F6}}gmail.com'
10
+ window :pidgin, launch: 'pidgin', delay: 2
11
+
12
+ window :mutt, launch: 'urxvt' do
13
+ run 'mutt'
17
14
  end
18
15
  end
19
16
 
20
17
  workspace 3 do
21
18
  # Use "-f" to prevent vim from forking and detaching from the original
22
19
  # process.
23
- window :gvim, launch: 'gvim -f', delay: 2 do
24
- type 'GoHello, world.'
25
- end
20
+ window :gvim, launch: 'gvim -f', delay: 1
26
21
  end
27
22
 
28
23
  workspace 4 do
@@ -33,14 +28,11 @@ Mani.new(window_manager: :xmonad) do
33
28
 
34
29
  workspace 8 do
35
30
  window :chromium, launch: 'chromium', delay: 1.5 do
36
- visit 'localhost:8080'
31
+ visit 'reddit.com'
37
32
 
38
33
  browser_tab :new do
39
34
  visit 'news.ycombinator.com'
40
35
  end
41
-
42
- # Switch back to the first tab (localhost)
43
- browser_tab 1
44
36
  end
45
37
  end
46
38
  end
data/lib/mani/version.rb CHANGED
@@ -2,6 +2,6 @@ class Mani
2
2
  # This class holds the Mani version information.
3
3
  class Version
4
4
  # The current version
5
- VERSION = '0.0.2'
5
+ VERSION = '0.0.3'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mani
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sinopoli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-14 00:00:00.000000000 Z
11
+ date: 2015-05-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A window automation tool
14
14
  email: NSinopoli@gmail.com
@@ -17,14 +17,15 @@ executables:
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
- - .gitignore
21
- - .rubocop.yml
20
+ - ".gitignore"
21
+ - ".rubocop.yml"
22
22
  - Gemfile
23
23
  - Gemfile.lock
24
24
  - LICENSE
25
25
  - Makefile
26
26
  - README.md
27
27
  - bin/mani
28
+ - demo.png
28
29
  - examples/chording.rb
29
30
  - examples/hello.rb
30
31
  - examples/workspace_initializer.rb
@@ -46,17 +47,17 @@ require_paths:
46
47
  - lib
47
48
  required_ruby_version: !ruby/object:Gem::Requirement
48
49
  requirements:
49
- - - '>='
50
+ - - ">="
50
51
  - !ruby/object:Gem::Version
51
52
  version: '0'
52
53
  required_rubygems_version: !ruby/object:Gem::Requirement
53
54
  requirements:
54
- - - '>='
55
+ - - ">="
55
56
  - !ruby/object:Gem::Version
56
57
  version: '0'
57
58
  requirements: []
58
59
  rubyforge_project:
59
- rubygems_version: 2.1.4
60
+ rubygems_version: 2.4.5
60
61
  signing_key:
61
62
  specification_version: 4
62
63
  summary: A window automation tool