pave 0.7.0 → 0.7.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7354b39224a85126b4cd03f209d204818e12f032
4
- data.tar.gz: 997767c284e18070281dd72d852a0a4a94ab9d93
3
+ metadata.gz: 81814d5582df9a62a329f7b9fd9410faf00156a6
4
+ data.tar.gz: bc871053a185f4b885d772571473ffee28eaedb3
5
5
  SHA512:
6
- metadata.gz: 5160781b40875dbb819892172762631b3b62d4b08415af1c478519584541a090d992019db291999665c8ded5f56f2416d14299a294ae5732682fd049dd0baf01
7
- data.tar.gz: 273e6788ccd1aea9ca961d8b8766fdf568596287a91f5cb39a01f5fad13ac0b12a8d8914d0011c3d38b35b898effb87dbd45a4a92d313e7b10f3a7a210008425
6
+ metadata.gz: ee53f858a918def4f0154fe64eb26199fb72018ad5efbb06504788438b174c7da542bde9767c447b1d1d41fb358f8a0d3dbf995c4e7ed63f9152aee8fc589515
7
+ data.tar.gz: ad339f43326fced34ab9e0ed9a6cf33dd9b62fd9355963d2f2d74412e3a17d4c7787f38e54f5b574da69cb1ac7de61b619ca50a735bb89ffb36c5940f4bcd194
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # pave - Command line tools for Concrete5 websites
2
2
 
3
- Authors: Jamon Holmgren (@jamonholmgren), Ryan Linton (@ryanlntn)
3
+ Authors: Jamon Holmgren (@jamonholmgren), Ryan Linton (@ryanlntn), and the rest at ClearSight Studio (@clrsightstudio).
4
4
 
5
5
  Provides a set of command line tools for setting up and developing [Concrete5](http://www.concrete5.org/) websites.
6
6
 
@@ -32,7 +32,7 @@ This sets up a Git-based deployment script to the remote server and deploys an i
32
32
 
33
33
  $ pave deploy
34
34
 
35
- Deploys the site using git.
35
+ Deploys the site using git. Files and databases are not deployed (see below for how to do that).
36
36
 
37
37
  ## Database
38
38
 
@@ -42,15 +42,29 @@ Creates a local MySQL database called `mydatabase`
42
42
 
43
43
  $ pave db:push
44
44
 
45
- *TODO:* Copies the local Concrete5 database to the remote database. Useful for deploying to staging sites.
45
+ Copies the local Concrete5 database to the remote database. Useful for deploying to staging sites.
46
46
 
47
47
  $ pave db:pull
48
48
 
49
- *TODO:* Copies the remote Concrete5 database into the local database. Useful for obtaining production data for testing.
49
+ Copies the remote Concrete5 database into the local database. Useful for obtaining production data for testing.
50
50
 
51
51
  $ pave db:dump
52
52
 
53
- Creates a database dump file and places it in `.db/YYYY-MM-DD-database.sql.gz`.
53
+ Creates a database dump file and places it in `.db/YYYY-MM-DD_HH-MM-SS-<databasename>.sql.gz`.
54
+
55
+ ## Files
56
+
57
+ $ pave files:push
58
+
59
+ *WARNING: be careful with this command!* Pushes your local `files/*` to the remote server, completely replacing the remote server's version.
60
+
61
+ $ pave files:pull
62
+
63
+ Pulls the remote `files/*` folder and replaces your local version.
64
+
65
+ $ pave files:sync
66
+
67
+ *TODO:* Pulls newer remote files and pushes newer local files. Ignores cache and tmp files.
54
68
 
55
69
  ## Virtual host setup
56
70
 
data/lib/pave/theme.rb CHANGED
@@ -11,7 +11,7 @@ module Pave
11
11
  end
12
12
 
13
13
  def self.watch
14
- `sass --watch ./themes/ --style compressed`
14
+ system("sass --watch ./themes/ --style compressed")
15
15
  end
16
16
 
17
17
  def initialize(name)
data/lib/pave/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pave
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pave
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamon Holmgren
@@ -9,76 +9,76 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-24 00:00:00.000000000 Z
12
+ date: 2013-12-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ~>
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
20
  version: '1.3'
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ~>
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '1.3'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rdoc
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '0'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rake
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ~>
46
+ - - "~>"
47
47
  - !ruby/object:Gem::Version
48
48
  version: 0.9.2
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ~>
53
+ - - "~>"
54
54
  - !ruby/object:Gem::Version
55
55
  version: 0.9.2
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rspec
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ~>
60
+ - - "~>"
61
61
  - !ruby/object:Gem::Version
62
62
  version: '2'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ~>
67
+ - - "~>"
68
68
  - !ruby/object:Gem::Version
69
69
  version: '2'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: commander
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ~>
74
+ - - "~>"
75
75
  - !ruby/object:Gem::Version
76
76
  version: 4.1.5
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ~>
81
+ - - "~>"
82
82
  - !ruby/object:Gem::Version
83
83
  version: 4.1.5
84
84
  description: Provides a set of command line tools for Concrete5.
@@ -90,8 +90,8 @@ executables:
90
90
  extensions: []
91
91
  extra_rdoc_files: []
92
92
  files:
93
- - .gitignore
94
- - .ruby-version
93
+ - ".gitignore"
94
+ - ".ruby-version"
95
95
  - Gemfile
96
96
  - Gemfile.lock
97
97
  - LICENSE.txt
@@ -136,17 +136,17 @@ require_paths:
136
136
  - lib
137
137
  required_ruby_version: !ruby/object:Gem::Requirement
138
138
  requirements:
139
- - - '>='
139
+ - - ">="
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
142
  required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  requirements:
144
- - - '>='
144
+ - - ">="
145
145
  - !ruby/object:Gem::Version
146
146
  version: '0'
147
147
  requirements: []
148
148
  rubyforge_project:
149
- rubygems_version: 2.0.3
149
+ rubygems_version: 2.2.0
150
150
  signing_key:
151
151
  specification_version: 4
152
152
  summary: Provides a set of command line tools for Concrete5.