bard 0.50.4 → 0.51.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f6698258c4e115c0c417131b370472ddda9319280422472c92005e2a88b48460
4
- data.tar.gz: 54e3c1d1897cdbb7a8338c47ec5edba11c2c18b67252d0ce99be8836591845b1
3
+ metadata.gz: bdb97b0f0a1475ada4fe611f3852960ef264c2f349da9197a85bf32edefe74d8
4
+ data.tar.gz: b36654881f95fb7d0540d930076337db74b0ee6e53c916591f8bdc7c01ec6929
5
5
  SHA512:
6
- metadata.gz: c5af008795ac9530ee1491a3c7adf05b0fe6fd83b579cd6d3104b00517d5e5b9d67bbab58408f637d028a560ec4cd8d611b3dc7522f8def13ad2c77b3d09ac80
7
- data.tar.gz: 23dbfce0a6cfdf9f07cec3e48a29b714c95d587db0a9998b9aa126fe7ae81079d751bcbaeab8e72e631c576e10a020894681c4ca2d8757723a16c7125387b8ba
6
+ metadata.gz: 5d864f6cfaa2156ee16a08e28f281e0bb67ff59f474062fa42624fbab2e4359a730ac43ee96256cca35cf3e6504c3b2da091f8e04cbed46e4c3d6f61946eec0a
7
+ data.tar.gz: 8e10b66f18e23657e7c916131e4d98f3f81be592c8f7e48f7da33b982bedbc7aaf11216fc54daf38b082bb842056689f4caf2f39331a9d01c25d29a7597ebd5d
data/bard.gemspec CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
8
8
  spec.version = Bard::VERSION
9
9
  spec.authors = ["Micah Geisel"]
10
10
  spec.email = ["micah@botandrose.com"]
11
- spec.summary = %Q{CLI to automate common development tasks.}
12
- spec.description = %Q{CLI to automate common development tasks.}
11
+ spec.summary = "CLI to automate common development tasks."
12
+ spec.description = "CLI to automate common development tasks."
13
13
  spec.homepage = "http://github.com/botandrose/bard"
14
14
  spec.license = "MIT"
15
15
 
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.add_dependency "thor", ">= 0.19.0"
22
22
  spec.add_dependency "rvm"
23
23
  spec.add_dependency "term-ansicolor", ">= 1.0.3"
24
- spec.add_dependency "bard-rake", ">= 0.1.1"
24
+ spec.add_dependency "bard-rake", ">= 0.19.0"
25
25
 
26
26
  spec.add_development_dependency "byebug"
27
27
  spec.add_development_dependency "rspec"
@@ -2,6 +2,8 @@ name: cache-ci
2
2
  on:
3
3
  push:
4
4
  branches: [ master ]
5
+ schedule:
6
+ - cron: '0 0 */3 * *'
5
7
  jobs:
6
8
  build_ruby_cache:
7
9
  runs-on: ubuntu-20.04
data/lib/bard/ci.rb CHANGED
@@ -43,7 +43,7 @@ class Bard::CLI < Thor
43
43
  end
44
44
 
45
45
  def github_actions?
46
- File.exist?(".github/workflows/ci.yml")
46
+ `git remote get-url origin` =~ /^git@github\.com/
47
47
  end
48
48
  end
49
49
  end
data/lib/bard/data.rb CHANGED
@@ -15,17 +15,17 @@ class Bard::CLI < Thor
15
15
 
16
16
  def data_pull_db server
17
17
  bard.instance_eval do
18
- run_crucial ssh_command(server, "bin/rake db:dump && gzip -9f db/data.sql")
18
+ run_crucial ssh_command(server, "bin/rake db:dump")
19
19
  copy :from, server, "db/data.sql.gz"
20
- run_crucial "gunzip -f db/data.sql.gz && bin/rake db:load"
20
+ run_crucial "bin/rake db:load"
21
21
  end
22
22
  end
23
23
 
24
24
  def data_push_db server
25
25
  bard.instance_eval do
26
- run_crucial "bin/rake db:dump && gzip -9f db/data.sql"
26
+ run_crucial "bin/rake db:dump"
27
27
  copy :to, server, "db/data.sql.gz"
28
- run_crucial ssh_command(server, "gunzip -f db/data.sql.gz && bin/rake db:load")
28
+ run_crucial ssh_command(server, "bin/rake db:load")
29
29
  end
30
30
  end
31
31
 
data/lib/bard/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Bard
2
- VERSION = "0.50.4"
2
+ VERSION = "0.51.0"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.50.4
4
+ version: 0.51.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-27 00:00:00.000000000 Z
11
+ date: 2023-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 0.1.1
61
+ version: 0.19.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 0.1.1
68
+ version: 0.19.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: byebug
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
181
  requirements: []
182
- rubygems_version: 3.3.26
182
+ rubygems_version: 3.2.32
183
183
  signing_key:
184
184
  specification_version: 4
185
185
  summary: CLI to automate common development tasks.