bard 1.4.4 → 1.4.5
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.
- checksums.yaml +4 -4
- data/lib/bard/cli/new.rb +1 -1
- data/lib/bard/cli/new_rails_template.rb +2 -0
- data/lib/bard/cli/provision.rb +2 -2
- data/lib/bard/provision/mysql.rb +1 -1
- data/lib/bard/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10a46ca0d1145fbdce208fd3b3040088058a49605688d5833f04cfd220bb7235
|
4
|
+
data.tar.gz: '01861cceb218abe6a962a8b0ba2a5449ec4d6d75f40dff607957a0c833cdb6a8'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4dd3b9800cc0e172f34b52ff852189f550d1cfa3e749ca7edd1e9e6fa427155cf714c3618c422de97c37060fa97c80580cad02fc1bd13506c5ced7d67700d98
|
7
|
+
data.tar.gz: '00920b1fb15c5b698d36f58d4993172be6ee5614a2668be17c7d0bd0800dd5c2150242b63e73344fc6fc37b7d7e6b67c7f7cab52c97abedebbbe9fd2a018ff55'
|
data/lib/bard/cli/new.rb
CHANGED
@@ -185,6 +185,8 @@ insert_into_file "config/database.yml", <<-YAML, after: "# database: path/to/per
|
|
185
185
|
migrations_paths: db/queue_migrate
|
186
186
|
YAML
|
187
187
|
|
188
|
+
gsub_file "config/database.yml", "path/to/persistent/", ""
|
189
|
+
|
188
190
|
gsub_file "config/environments/production.rb", / (config\.logger.+STDOUT.*)$/, ' # \1'
|
189
191
|
|
190
192
|
after_bundle do
|
data/lib/bard/cli/provision.rb
CHANGED
@@ -6,6 +6,7 @@ class Bard::CLI::Provision < Bard::CLI::Command
|
|
6
6
|
SSH
|
7
7
|
User
|
8
8
|
AuthorizedKeys
|
9
|
+
Swapfile
|
9
10
|
Apt
|
10
11
|
MySQL
|
11
12
|
Repo
|
@@ -13,10 +14,9 @@ class Bard::CLI::Provision < Bard::CLI::Command
|
|
13
14
|
RVM
|
14
15
|
App
|
15
16
|
Passenger
|
16
|
-
Data
|
17
17
|
HTTP
|
18
18
|
LogRotation
|
19
|
-
|
19
|
+
Data
|
20
20
|
Deploy
|
21
21
|
]
|
22
22
|
|
data/lib/bard/provision/mysql.rb
CHANGED
@@ -8,7 +8,7 @@ class Bard::Provision::MySQL < Bard::Provision
|
|
8
8
|
provision_server.run! [
|
9
9
|
"sudo apt-get install -y mysql-server",
|
10
10
|
%(sudo mysql -uroot -e "ALTER USER \\"'\\"root\\"'\\"@\\"'\\"localhost\\"'\\" IDENTIFIED WITH mysql_native_password BY \\"'\\"\\"'\\", \\"'\\"root\\"'\\"@\\"'\\"localhost\\"'\\" PASSWORD EXPIRE NEVER; FLUSH PRIVILEGES;"),
|
11
|
-
%(mysql -uroot -e "UPDATE mysql.user SET password_lifetime = NULL WHERE user = 'root' AND host = 'localhost';"),
|
11
|
+
%(mysql -uroot -e "UPDATE mysql.user SET password_lifetime = NULL WHERE user = \\"'\\"root\\"'\\" AND host = \\"'\\"localhost\\"'\\";"),
|
12
12
|
].join("; "), home: true
|
13
13
|
end
|
14
14
|
|
data/lib/bard/version.rb
CHANGED
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: 1.4.
|
4
|
+
version: 1.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Micah Geisel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|