fluent_command_builder 0.8.10 → 0.8.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -146,8 +146,8 @@ module FluentCommandBuilder
146
146
  yield @b if block_given?
147
147
  self
148
148
  end
149
- def size_limit_below(size_limit_k_b)
150
- @b.append " -sizeLimitBelow #{@b.format size_limit_k_b}"
149
+ def size_limit_below(size_limit_kb)
150
+ @b.append " -sizeLimitBelow #{@b.format size_limit_kb}"
151
151
  yield @b if block_given?
152
152
  self
153
153
  end
@@ -171,13 +171,13 @@ module FluentCommandBuilder
171
171
  yield @b if block_given?
172
172
  self
173
173
  end
174
- def skip_domains(domain_list)
175
- @b.append " -skipDomains #{@b.format domain_list}"
174
+ def skip_domains(domains)
175
+ @b.append " -skipDomains #{@b.format domains, ';'}"
176
176
  yield @b if block_given?
177
177
  self
178
178
  end
179
- def skip_bookmarks(bookmarkslist)
180
- @b.append " -skipBookmarks #{@b.format bookmarkslist}"
179
+ def skip_bookmarks(bookmarks)
180
+ @b.append " -skipBookmarks #{@b.format bookmarks, ';'}"
181
181
  yield @b if block_given?
182
182
  self
183
183
  end
@@ -21,7 +21,7 @@ module FluentCommandBuilder
21
21
  private
22
22
 
23
23
  def is_valid?
24
- File.exist? path
24
+ File.exist? @path
25
25
  end
26
26
 
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent_command_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.10
4
+ version: 0.8.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-12 00:00:00.000000000 Z
12
+ date: 2012-09-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &70349041327120 !ruby/object:Gem::Requirement
16
+ requirement: &70213703390440 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70349041327120
24
+ version_requirements: *70213703390440
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: term-ansicolor
27
- requirement: &70349041326680 !ruby/object:Gem::Requirement
27
+ requirement: &70213703390000 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70349041326680
35
+ version_requirements: *70213703390000
36
36
  description: Fluent Command Builder makes building command lines easy and clean.
37
37
  email: matthew-github@matthewriley.name
38
38
  executables: []