weblicate 0.0.6 → 0.0.7

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.
Files changed (4) hide show
  1. data/README.rdoc +1 -1
  2. data/Rakefile +1 -1
  3. data/bin/weblicate +6 -0
  4. metadata +3 -3
data/README.rdoc CHANGED
@@ -31,7 +31,7 @@ Results in the following response:
31
31
  OPTIONAL - if you want access from the wider internet
32
32
  sh www.cnn.com-dns # Create domains on Slicehost
33
33
 
34
- generates the following output:
34
+ and generates the following output:
35
35
 
36
36
  www.cnn.com-files # All files and assets for the page
37
37
  www.cnn.com-hosts # Entries that can be added to your local hosts file
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ begin
5
5
  require 'jeweler'
6
6
  Jeweler::Tasks.new do |gem|
7
7
  gem.name = "weblicate"
8
- gem.version = '0.0.6'
8
+ gem.version = '0.0.7'
9
9
  gem.summary = %Q{Replicate a website}
10
10
  gem.description = %Q{Replicate a website based on a HAR file}
11
11
  gem.email = "mike@bailey.net.au"
data/bin/weblicate CHANGED
@@ -3,6 +3,12 @@ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
3
3
  require 'weblicate'
4
4
 
5
5
  harfile = ARGV[0]
6
+
7
+ if ! harfile
8
+ puts "Usage: weblicate harfile [domain to append]"
9
+ exit 1
10
+ end
11
+
6
12
  dest_domain = ARGV[1] || nil
7
13
 
8
14
  a = Har.new harfile, :dest_domain => dest_domain
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weblicate
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mike Bailey