hsql 0.3.1 → 0.3.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/hsql +5 -5
  3. data/lib/hsql/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5f0fc083b4552b5b95e4567199e9df876beb509f
4
- data.tar.gz: 297d4cb52beb3e88a9557ccfe14b355a530dd345
3
+ metadata.gz: 62f4bf6d7898b093c37c45d8ba77bbc0e118cd56
4
+ data.tar.gz: b2a275351fecde1842b35385e4845ff2a849cabf
5
5
  SHA512:
6
- metadata.gz: f3096b67b3cf19eac99dfb017b5d65c4359c747ca19bc4d04d069845cb6b600153a465fa4c352d4f80d0a2ed796206c42c835ca8b69b18b4b988db3d00ccc6ca
7
- data.tar.gz: 7d32c16d3508ab4884ca1a1eb6c8feef20a5b4cc753ad95ec4995d56921c93cad2d3a6486fd349fb3d43b701f39b3146fa87e0ca6c570db7349275c45b4297ef
6
+ metadata.gz: ff13992845af044851e1f408ea434909e8b7cabb684a731e58535e33376870708b40edab68372f0d829ad3481614582cb3a3d477a0a347d8eedf036ab7d71dd7
7
+ data.tar.gz: 432d09d96805356507658107826a6bea4c6f61504c42c0341ebf539065507997ad2b4c003786826fbcf7418a36b06613352e9ce4a6d53780d7e222bcb78b8d20
data/bin/hsql CHANGED
@@ -8,17 +8,17 @@ require 'active_support/time'
8
8
  options = {}
9
9
  option_parser = OptionParser.new do |opts|
10
10
  opts.banner = <<-BANNER
11
- Usage: #{__FILE__} file [environment] [--yaml]
11
+ Usage: #{File.basename(__FILE__)} file [environment]
12
12
 
13
- ARGUMENTS
14
- file: Any *.sql file that has a YAML header ending in three hyphens.
13
+ Arguments
14
+ file: Any *.sql file. If it has a YAML header (ending in three hyphens) the metadata will be processed;
15
15
 
16
- OPTIONS
16
+ Options
17
17
  BANNER
18
18
 
19
19
  opts.on('-d DATE',
20
20
  '--date DATE',
21
- '--timestamp DATE', 'The time that the SQL will consider to be "now".') do |option|
21
+ '--timestamp DATE', 'The time that the SQL will consider to be "{{{now}}}".') do |option|
22
22
  options[:timestamp] = Time.parse(option) if option
23
23
  end
24
24
  opts.on('-e ENV',
data/lib/hsql/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # http://semver.org/
2
2
  module HSQL
3
- VERSION = '0.3.1'
3
+ VERSION = '0.3.2'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hsql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Danger Canty