wslave 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/base/public/.htaccess +15 -0
  3. data/wslave.gemspec +5 -5
  4. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b54a79db13b58bf73ce849736900dc1d2adaa472
4
- data.tar.gz: 62e56f05ed2e0425004a143a74e515bafffd1f42
3
+ metadata.gz: fa92c414f33fd0d8d8781c851694a3e0ea8a4f3c
4
+ data.tar.gz: 5bd9933b54d91cf30589049fdf398c1173149e2f
5
5
  SHA512:
6
- metadata.gz: 315ed65aa38b26e07f08f7c19579517165ab126e544ec9f203bf1ae26b7e151e30c82f74840143936618e0c139907971c52b4cfe7613aac7bb46b7762bab5f4f
7
- data.tar.gz: 5a81f459fb55f7343b01db45c8d04497d57734b1d11dc2c86cf2aefa1e4585f8960896ddd71d34bc36cef9f17146fd845d38862b0b998ccd26a337a67ae68d91
6
+ metadata.gz: 62b2951451fd67a3f9326088f7c28a7c2905b643a0e3884f135e9e7aae06b98a56cd256010c96df20c9b2e0c7d584ba03cd9c5ff1eaa8e10704ab35a80b80e36
7
+ data.tar.gz: 4480eefb27b10da333e99fcb5228fcf250940e5001cdf984fcb2e2d80a096777cd0c326f877ba3b342bc8d4c39d5095655063420c8267322dbe835180f2fbb66
@@ -0,0 +1,15 @@
1
+ <IfModule mod_rewrite.c>
2
+ RewriteEngine On
3
+ RewriteBase /
4
+
5
+ # BEGIN WordPress
6
+ RewriteRule ^$ wordpress/index.php [L]
7
+
8
+ # Skip real files and directories
9
+ RewriteCond %{REQUEST_FILENAME} !-f
10
+ RewriteCond %{REQUEST_FILENAME} !-d
11
+
12
+ # Otherwise send it to WordPress
13
+ RewriteRule .* wordpress/index.php [L]
14
+ # END WordPress
15
+ </IfModule>
data/wslave.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'wslave'
3
- s.version = '0.0.3'
3
+ s.version = '0.0.4'
4
4
  s.licenses = ['GPL-3.0', 'AGPL-3.0']
5
5
  s.summary = '"Word Slave" generates and controls a WordPress installation'
6
6
  s.description = 'Word Slave includes the wslave command and a control library to generate a ' \
@@ -11,10 +11,10 @@ Gem::Specification.new do |s|
11
11
  s.homepage = 'https://github.com/PhantomCreation/wslave'
12
12
 
13
13
  s.required_ruby_version = '>= 2.0.0'
14
- s.files = Dir.glob('lib/**/*.rb') +
15
- Dir.glob('bin/**/*.rb') +
16
- Dir.glob('base/**/*') +
17
- Dir.glob('templates/**/*') +
14
+ s.files = Dir.glob('lib/**/*.rb', File::FNM_DOTMATCH) +
15
+ Dir.glob('bin/**/*.rb', File::FNM_DOTMATCH) +
16
+ Dir.glob('base/**/*', File::FNM_DOTMATCH) +
17
+ Dir.glob('templates/**/*', File::FNM_DOTMATCH) +
18
18
  ['wslave.gemspec']
19
19
  s.require_paths = ['lib']
20
20
  s.bindir = 'bin'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wslave
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rei Kagetsuki
@@ -87,6 +87,7 @@ files:
87
87
  - base/config/deploy/production.rb
88
88
  - base/config/deploy/staging.rb
89
89
  - base/docker-compose.yml
90
+ - base/public/.htaccess
90
91
  - base/public/wp-config.php
91
92
  - bin/wslave
92
93
  - lib/wslave_docker.rb