scide 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -23,7 +23,7 @@ GEM
23
23
  diff-lcs (~> 1.1.2)
24
24
  rspec-mocks (2.6.0)
25
25
  shoulda (2.11.3)
26
- upoj-rb (0.0.4)
26
+ upoj-rb (0.0.5)
27
27
  active_support (>= 2)
28
28
  paint
29
29
 
@@ -1,10 +1,10 @@
1
- = scide
1
+ # scide
2
2
 
3
3
  GNU Screen IDE.
4
4
 
5
5
  Documentation will be coming soon.
6
6
 
7
- == Contributing to scide
7
+ ## Contributing to scide
8
8
 
9
9
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
10
10
  * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
@@ -14,7 +14,7 @@ Documentation will be coming soon.
14
14
  * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
15
15
  * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
16
16
 
17
- == Copyright
17
+ ## Copyright
18
18
 
19
19
  Copyright (c) 2011 AlphaHydrae. See LICENSE.txt for
20
20
  further details.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
data/lib/scide/command.rb CHANGED
@@ -5,8 +5,8 @@ module Scide
5
5
  def self.resolve contents, properties = {}, options = {}
6
6
 
7
7
  if contents.kind_of? Hash
8
- options = options.merge contents[:options] if options.key? :options
9
- properties = properties.merge contents[:properties] if options.key? :properties
8
+ options = options.merge contents[:options] if contents.key? :options
9
+ properties = properties.merge contents[:properties] if contents.key? :properties
10
10
  end
11
11
 
12
12
  klass, contents = if contents.kind_of? Hash
@@ -66,4 +66,4 @@ module Scide
66
66
  end
67
67
 
68
68
  deps_dir = File.join File.dirname(__FILE__), 'commands'
69
- %w( run tail dblog show edit ).each{ |dep| require File.join(deps_dir, dep) }
69
+ %w( run tail tailp show edit ).each{ |dep| require File.join(deps_dir, dep) }
@@ -2,11 +2,11 @@ module Scide
2
2
 
3
3
  module Commands
4
4
 
5
- class Dblog < Scide::Commands::Tail
5
+ class Tailp < Scide::Commands::Tail
6
6
 
7
7
  def initialize contents, properties = {}, options = nil
8
- @text = properties[:db_log]
9
- invalid_config('DBLOG requires property db_log') unless @text.present?
8
+ invalid_config("TAILP requires property #{contents}") unless properties.key? contents
9
+ @text = properties[contents]
10
10
  super contents, properties, options
11
11
  end
12
12
  end
data/scide.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "scide"
8
- s.version = "0.0.3"
8
+ s.version = "0.0.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["AlphaHydrae"]
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
  s.executables = ["scide"]
16
16
  s.extra_rdoc_files = [
17
17
  "LICENSE.txt",
18
- "README.rdoc"
18
+ "README.md"
19
19
  ]
20
20
  s.files = [
21
21
  ".document",
@@ -24,17 +24,17 @@ Gem::Specification.new do |s|
24
24
  "Gemfile",
25
25
  "Gemfile.lock",
26
26
  "LICENSE.txt",
27
- "README.rdoc",
27
+ "README.md",
28
28
  "Rakefile",
29
29
  "VERSION",
30
30
  "bin/scide",
31
31
  "lib/scide.rb",
32
32
  "lib/scide/command.rb",
33
- "lib/scide/commands/dblog.rb",
34
33
  "lib/scide/commands/edit.rb",
35
34
  "lib/scide/commands/run.rb",
36
35
  "lib/scide/commands/show.rb",
37
36
  "lib/scide/commands/tail.rb",
37
+ "lib/scide/commands/tailp.rb",
38
38
  "lib/scide/config.rb",
39
39
  "lib/scide/global.rb",
40
40
  "lib/scide/opts.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scide
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-10-01 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: upoj-rb
16
- requirement: &2158327760 !ruby/object:Gem::Requirement
16
+ requirement: &2156749940 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.0.4
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2158327760
24
+ version_requirements: *2156749940
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec
27
- requirement: &2158327260 !ruby/object:Gem::Requirement
27
+ requirement: &2156749420 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *2158327260
35
+ version_requirements: *2156749420
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: shoulda
38
- requirement: &2158326780 !ruby/object:Gem::Requirement
38
+ requirement: &2156748920 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *2158326780
46
+ version_requirements: *2156748920
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: bundler
49
- requirement: &2158326280 !ruby/object:Gem::Requirement
49
+ requirement: &2156748400 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 1.0.0
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *2158326280
57
+ version_requirements: *2156748400
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: jeweler
60
- requirement: &2158325760 !ruby/object:Gem::Requirement
60
+ requirement: &2156747880 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 1.6.4
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *2158325760
68
+ version_requirements: *2156747880
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rcov
71
- requirement: &2158325240 !ruby/object:Gem::Requirement
71
+ requirement: &2156747360 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *2158325240
79
+ version_requirements: *2156747360
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: rdoc
82
- requirement: &2158324700 !ruby/object:Gem::Requirement
82
+ requirement: &2156746740 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,7 +87,7 @@ dependencies:
87
87
  version: '0'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *2158324700
90
+ version_requirements: *2156746740
91
91
  description: Utility to generate GNU screen configuration files.
92
92
  email: hydrae.alpha@gmail.com
93
93
  executables:
@@ -95,7 +95,7 @@ executables:
95
95
  extensions: []
96
96
  extra_rdoc_files:
97
97
  - LICENSE.txt
98
- - README.rdoc
98
+ - README.md
99
99
  files:
100
100
  - .document
101
101
  - .rspec
@@ -103,17 +103,17 @@ files:
103
103
  - Gemfile
104
104
  - Gemfile.lock
105
105
  - LICENSE.txt
106
- - README.rdoc
106
+ - README.md
107
107
  - Rakefile
108
108
  - VERSION
109
109
  - bin/scide
110
110
  - lib/scide.rb
111
111
  - lib/scide/command.rb
112
- - lib/scide/commands/dblog.rb
113
112
  - lib/scide/commands/edit.rb
114
113
  - lib/scide/commands/run.rb
115
114
  - lib/scide/commands/show.rb
116
115
  - lib/scide/commands/tail.rb
116
+ - lib/scide/commands/tailp.rb
117
117
  - lib/scide/config.rb
118
118
  - lib/scide/global.rb
119
119
  - lib/scide/opts.rb
@@ -138,7 +138,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
138
138
  version: '0'
139
139
  segments:
140
140
  - 0
141
- hash: 2497061848194941820
141
+ hash: -831439994019130622
142
142
  required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  none: false
144
144
  requirements: