roadworker 0.0.1 → 0.0.2

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/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Roadworker
2
2
 
3
+ **notice: still unstable**
4
+
3
5
  Roadworker is a tool to manage Route53.
4
6
 
5
7
  It defines the state of Route53 using DSL, and updates Route53 according to DSL.
@@ -29,7 +31,7 @@ shell> roadwork --dry-run
29
31
  shell> roudwork
30
32
  ```
31
33
 
32
- ## Routefile esample
34
+ ## Routefile example
33
35
 
34
36
  ```ruby
35
37
  require 'other/routefile'
@@ -78,7 +78,7 @@ begin
78
78
 
79
79
  updated = client.apply(file)
80
80
 
81
- logger.info('There is no update') unless updated
81
+ logger.info('No change'.intense_blue) unless updated
82
82
  end
83
83
  rescue => e
84
84
  if options[:debug]
@@ -10,7 +10,7 @@ module Roadworker
10
10
  class Client
11
11
  include Roadworker::Log
12
12
 
13
- def initialize(options)
13
+ def initialize(options = {})
14
14
  @options = OpenStruct.new(options)
15
15
  @options.logger ||= Logger.new($stdout)
16
16
  String.colorize = @options.color
@@ -1,5 +1,5 @@
1
1
  module Roadworker
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
4
4
 
5
5
  Version = Roadworker::VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roadworker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -75,6 +75,22 @@ dependencies:
75
75
  - - ! '>='
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: rspec
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
78
94
  description: Roadworker is a tool to manage Route53. It defines the state of Route53
79
95
  using DSL, and updates Route53 according to DSL.
80
96
  email: sgwr_dts@yahoo.co.jp