dnsync 1.0.0 → 1.0.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/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Dnsync
2
2
 
3
- Dnsync provides a simple way to replicate records from DNSimple to NSONE
4
- (because DNSimple does not yet support AXFR for zone transfer). For a domain
3
+ Dnsync provides a simple way to replicate records from [DNSimple] to [NSONE][NSONE]
4
+ (because [DNSimple] does not yet support [AXFR] for zone transfer). For a domain
5
5
  owner, using two different DNS networks is much better DDoS protection than
6
6
  relying on any single one.
7
7
 
@@ -109,8 +109,13 @@ Alternatively, the environment variable `DNSYNC_NSONE_TOKEN` is used.
109
109
 
110
110
  ## Running on Heroku
111
111
 
112
- Heroku provides a simple place to run synchronization. The process for
113
- getting a synchronizer up and running is:
112
+ Heroku provides a simple place to run synchronization.
113
+
114
+ To get up and running with very little effort, click the button:
115
+
116
+ [![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/papertrail/dnsync-heroku)
117
+
118
+ To get the synchronizer up and running by hand:
114
119
 
115
120
  ### 1. Create a new directory for the heroku app:
116
121
 
@@ -124,7 +129,7 @@ getting a synchronizer up and running is:
124
129
  ### 2. Create a basic ruby project:
125
130
 
126
131
  $ bundle init
127
- $ echo "gem 'dnsync', :git => 'git://github.com/papertrail/dnsync.git'" >> Gemfile
132
+ $ echo "gem 'dnsync'" >> Gemfile
128
133
  $ bundle
129
134
 
130
135
  ### 3. Create a `Procfile` to run the worker:
@@ -178,3 +183,8 @@ To get a zone dump from DNSimple:
178
183
  To get a zone dump from NSONE:
179
184
 
180
185
  $ dnsync --domain=domain.com dump nsone
186
+
187
+
188
+ [DNSimple]: https://dnsimple.com/
189
+ [NSONE]: https://nsone.net/
190
+ [AXFR]: http://cr.yp.to/djbdns/axfr-notes.html
data/dnsync.gemspec CHANGED
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'dnsync'
16
- s.version = '1.0.0'
17
- s.date = '2014-12-30'
16
+ s.version = '1.0.1'
17
+ s.date = '2015-01-02'
18
18
 
19
19
  ## Make sure your summary is short. The description may be as long
20
20
  ## as you like.
data/lib/dnsync.rb CHANGED
@@ -1,4 +1,4 @@
1
1
 
2
2
  module Dnsync
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
data/lib/dnsync/cli.rb CHANGED
@@ -24,6 +24,8 @@ module Dnsync
24
24
  Configlet.munge(:noop) { |v| v == "true" }
25
25
  Configlet.munge(:monitor_frequency) { |v| v.present? ? v.to_i : v }
26
26
 
27
+ Scrolls.single_line_exceptions = true
28
+
27
29
  read_env_from_file(File.expand_path("~/.dnsync.env"))
28
30
  read_env_from_file(File.expand_path("../../../.env", __FILE__))
29
31
  read_env_from_file('.env')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dnsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-12-30 00:00:00.000000000 Z
12
+ date: 2015-01-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday