screeninator 0.1.0 → 0.1.1

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.
data/CHANGELOG.md ADDED
@@ -0,0 +1,10 @@
1
+ 0.1.1 / 2010-09-28
2
+ ------------------
3
+
4
+ * 1 bugfix
5
+
6
+ * allow opening VIM on Fedora / Linux
7
+
8
+ * 1 minor enhancements
9
+
10
+ * allow users to define their own default config
data/README.md CHANGED
@@ -41,6 +41,8 @@ This will open your default editor (set through the $EDITOR variable in BASH) an
41
41
 
42
42
  If a tab contains multiple commands, they will be 'joined' together with '&&'.
43
43
 
44
+ If you want to have your own default config, place it into $HOME/.screeninator/default.yml
45
+
44
46
 
45
47
  Starting a project
46
48
  ------------------
@@ -54,6 +56,12 @@ This will fire up screen with all the tabs you configured.
54
56
  After you create a project, you will have to open a new shell window. This is because Screeninator adds an alias to bash to open screen with the project config.
55
57
 
56
58
 
59
+ Example
60
+ -------
61
+
62
+ ![Sample](http://img.skitch.com/20100922-b6yny5qxuh159asdekh3mx9quk.png)
63
+
64
+
57
65
  Other Commands
58
66
  --------------
59
67
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -36,11 +36,11 @@ module Screeninator
36
36
  FileUtils.mkdir_p(root_dir+"scripts")
37
37
  config_path = "#{root_dir}#{@name}.yml"
38
38
  unless File.exists?(config_path)
39
- template = "#{File.dirname(__FILE__)}/assets/sample.yml"
39
+ template = File.exists?(user_config) ? user_config : "#{File.dirname(__FILE__)}/assets/sample.yml"
40
40
  erb = ERB.new(File.read(template)).result(binding)
41
41
  tmp = File.open(config_path, 'w') {|f| f.write(erb) }
42
42
  end
43
- `$EDITOR #{config_path}`
43
+ system("$EDITOR #{config_path}")
44
44
  update_scripts
45
45
  end
46
46
 
@@ -112,6 +112,10 @@ module Screeninator
112
112
  "#{File.dirname(__FILE__)}/assets/sample.yml"
113
113
  end
114
114
 
115
+ def user_config
116
+ "#{ENV["HOME"]}/.screeninator/default.yml"
117
+ end
118
+
115
119
  end
116
120
 
117
121
  end
data/screeninator.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{screeninator}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jon Druse"]
12
- s.date = %q{2010-09-22}
12
+ s.date = %q{2010-09-28}
13
13
  s.default_executable = %q{screeninator}
14
14
  s.description = %q{Create and manage complex screen sessions easily.}
15
15
  s.email = %q{jon@jondruse.com}
@@ -21,6 +21,7 @@ Gem::Specification.new do |s|
21
21
  s.files = [
22
22
  ".document",
23
23
  ".gitignore",
24
+ "CHANGELOG.md",
24
25
  "LICENSE",
25
26
  "README.md",
26
27
  "Rakefile",
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: screeninator
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 25
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 1
8
- - 0
9
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Jon Druse
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-09-22 00:00:00 -07:00
18
+ date: 2010-09-28 00:00:00 -07:00
18
19
  default_executable: screeninator
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
@@ -25,6 +26,7 @@ dependencies:
25
26
  requirements:
26
27
  - - ">="
27
28
  - !ruby/object:Gem::Version
29
+ hash: 3
28
30
  segments:
29
31
  - 0
30
32
  version: "0"
@@ -42,6 +44,7 @@ extra_rdoc_files:
42
44
  files:
43
45
  - .document
44
46
  - .gitignore
47
+ - CHANGELOG.md
45
48
  - LICENSE
46
49
  - README.md
47
50
  - Rakefile
@@ -59,10 +62,15 @@ has_rdoc: true
59
62
  homepage: http://github.com/jondruse/screeninator
60
63
  licenses: []
61
64
 
62
- post_install_message: "\n\
63
- Thanks for installing Screeninator!\n\n\
64
- Remember to add the following line to your .bashrc file\n\n\
65
- if [[ -s $HOME/.screeninator/scripts/screeninator ]] ; then source $HOME/.screeninator/scripts/screeninator ; fi\n \n"
65
+ post_install_message: |
66
+
67
+ Thanks for installing Screeninator!
68
+
69
+ Remember to add the following line to your .bashrc file
70
+
71
+ if [[ -s $HOME/.screeninator/scripts/screeninator ]] ; then source $HOME/.screeninator/scripts/screeninator ; fi
72
+
73
+
66
74
  rdoc_options:
67
75
  - --charset=UTF-8
68
76
  require_paths:
@@ -72,6 +80,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
72
80
  requirements:
73
81
  - - ">="
74
82
  - !ruby/object:Gem::Version
83
+ hash: 3
75
84
  segments:
76
85
  - 0
77
86
  version: "0"
@@ -80,6 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
89
  requirements:
81
90
  - - ">="
82
91
  - !ruby/object:Gem::Version
92
+ hash: 3
83
93
  segments:
84
94
  - 0
85
95
  version: "0"