cmds 0.2.5 → 0.2.6

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/README.md +6 -6
  3. data/lib/cmds/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c17b6e518aac921af67affc110d82d610170cb8
4
- data.tar.gz: f473be8e43fd43680036291c809b8ebbf5f2a309
3
+ metadata.gz: ce280edce2a5280b59577c6ed628d1272fb56837
4
+ data.tar.gz: 721ae47183a85e44ae7cdc2a15457fd5f1fbdf6c
5
5
  SHA512:
6
- metadata.gz: 99b6b930f1fc5a51576d139d2becaa7ca47a1938fadf301d9d555393d70cdf9a77ba8b914ffc7b034ed158897517d00ff1c3a42e2b401ae82893bdf37792d0b7
7
- data.tar.gz: 28cdcc19b8e14f7a7201466df932af03042c651f87bc7c17d0a728c993e2ce84edf750b4f828ffe7404f6f1ccca4ca2531f9e3a49b0a08f78d9addf853e3073b
6
+ metadata.gz: 71ac3174bc664c621b5abc3bbf2489f0f4eff8aee8702f2513e7770bfbe9a1051eb24724be91d6130aaff1a32c34b97d5d88761617bedb3908994f9f06d00ecf
7
+ data.tar.gz: f712b163665cd228bf8066fe44fb0cb73df538902b6e874ea05328762c44937e47a1d231da192798e6ce00e1e3a622ad84b097ca1f598968ddbb4995a692610a
data/README.md CHANGED
@@ -36,7 +36,7 @@ Or, "what's it look like?"...
36
36
 
37
37
  - Instead of
38
38
 
39
- ```Ruby
39
+ ```ruby
40
40
  `psql \
41
41
  --username=#{ (db_config['username'] || ENV['USER']).shellescape } \
42
42
  #{ db_config['database'].shellescape } \
@@ -45,7 +45,7 @@ Or, "what's it look like?"...
45
45
 
46
46
  write
47
47
 
48
- ```Ruby
48
+ ```ruby
49
49
  Cmds 'psql %{opts} %{db} < %{dump}',
50
50
  db: db_config['database'],
51
51
  dump: filepath,
@@ -65,7 +65,7 @@ Or, "what's it look like?"...
65
65
 
66
66
  - Instead of
67
67
 
68
- ```Ruby
68
+ ```ruby
69
69
  `PGPASSWORD=#{ config[:password].shellescape } \
70
70
  pg_dump \
71
71
  --username=#{ config[:username].shellescape } \
@@ -77,7 +77,7 @@ Or, "what's it look like?"...
77
77
 
78
78
  which can be really hard to pick out what's going on from a quick glance, write
79
79
 
80
- ```Ruby
80
+ ```ruby
81
81
  Cmds.new(
82
82
  'pg_dump %{opts} %{database}',
83
83
  kwds: {
@@ -98,7 +98,7 @@ Or, "what's it look like?"...
98
98
 
99
99
  Again, with some additional comments and examples:
100
100
 
101
- ```Ruby
101
+ ```ruby
102
102
  # We're going to instantiate a new {Cmds} object this time, because we're
103
103
  # not just providing values for the string template, we're specifying an
104
104
  # environment variable for the child process too.
@@ -182,7 +182,7 @@ Templates are processed with "[Embedded Ruby][]" (eRuby/ERB) using the [Erubis][
182
182
  For how it works check out
183
183
 
184
184
  1. {Cmds::ERBContext}
185
- 2. {Cmds::ShellERuby}
185
+ 2. {Cmds::ShellEruby}
186
186
  3. {Cmds#render}
187
187
 
188
188
  ******************************************************************************
data/lib/cmds/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Cmds
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - nrser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-12 00:00:00.000000000 Z
11
+ date: 2018-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nrser