swiftly 5.0.4 → 5.0.5

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
  SHA1:
3
- metadata.gz: 002af577306120e8676c2b0a7b20e91534ca11b7
4
- data.tar.gz: fb2a81a9f234d7a6d03cb85e210432af47544c52
3
+ metadata.gz: dcb6de1cd6956326d95b8f643be61726460cd04f
4
+ data.tar.gz: 40ca8960a04b01fff8d80ae17a25b46b68597659
5
5
  SHA512:
6
- metadata.gz: e22e3d2a49855ac14f981cf5f0ff6fbcab0e6ec9536c3d4d9e0dc5c50cdf1cf8176aa9abd9b521e68c5cafa49e850e91af926a08759492b05e892eb1d1fc4fa4
7
- data.tar.gz: 9c65ec782e08bd2553afc5e290a8c29143ecfb5a2fbaba0c62c512bfdb655877690b8526b4ec272b3703cd663ec17900425166b6f08ee4309d012f7f9ccce7e5
6
+ metadata.gz: a048e8a8299b150490d0c21bd74341ea5e2e2a03809b32689e74c3fa626c706e4d29a2852b1367bbb9f8f999eb772b184ac4f65fd29ea5a236c63cfd48487dfb
7
+ data.tar.gz: 85b7921d4714973e5a9ab7d3905cf2a2e68975e44fca5dca1d4a8864a021732efdd890fc9fc115546e99db2aad72a3f6284b6a7146bbe92f2866218b77c236b9
data/README.md CHANGED
@@ -21,6 +21,16 @@ Run it:
21
21
 
22
22
  ## Requirements
23
23
 
24
+ 1. git (with username and email set)
25
+ 2. mysql (or equivalent i.e. mariadb)
26
+ 3. php (to load the site, otherwise optional)
27
+ 3. Apache/Nginx (to see the site, otherwise optional)
28
+
29
+ Git must be installed and username and email must be in your global config. Something like the below should do.
30
+
31
+ `$ git config --global user.name "Your Name"`
32
+ `$ git config --global user.email "your@mail.com"`
33
+
24
34
  Mysql must be in your $PATH. You can check this by running:
25
35
 
26
36
  $ which mysql
@@ -69,6 +69,10 @@ module Swiftly
69
69
  # @return [void]
70
70
  def get_theme
71
71
 
72
+ # Check to see if the template name is default and if it
73
+ # is then change it to the default template name
74
+ @template.name = Swiftly::Template.default_name if @template.name == :default
75
+
72
76
  # Change directories to inside of the theme directory
73
77
  inside File.join( @project_path, 'wp-content', 'themes') do
74
78
 
@@ -5,6 +5,16 @@ module Swiftly
5
5
 
6
6
  @package_type = :template
7
7
 
8
+ #
9
+ # Sets the default template name to be used when
10
+ # running find and replace on the the template files
11
+ #
12
+ # @return [symbol] The name of the template
13
+ def self.default_name
14
+
15
+ :mask
16
+ end
17
+
8
18
  def self.defaults
9
19
 
10
20
  self.set :template, :type => :wordpress do
@@ -16,4 +26,4 @@ module Swiftly
16
26
  end
17
27
  end
18
28
  end
19
- end
29
+ end
@@ -1,4 +1,4 @@
1
1
  module Swiftly
2
2
  APP_NAME = 'swiftly'
3
- VERSION = '5.0.4'
3
+ VERSION = '5.0.5'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swiftly
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.4
4
+ version: 5.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mic Alexander
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-31 00:00:00.000000000 Z
11
+ date: 2017-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git
@@ -163,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
163
  version: 2.1.3
164
164
  requirements: []
165
165
  rubyforge_project:
166
- rubygems_version: 2.6.8
166
+ rubygems_version: 2.6.12
167
167
  signing_key:
168
168
  specification_version: 4
169
169
  summary: Swiftly is a all-in-one WordPress development tool