quickdraw 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -1
- data/lib/quickdraw/cli.rb +10 -3
- data/lib/quickdraw/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58a82ffc2216e932bdba3e67e015de64707d4fc1
|
4
|
+
data.tar.gz: e1c97b28041a34d4d76e908280210a84014a15fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1e342512ec19ddaad5a6294fcb640e958d0f70680c14c99aed6b4e75abb5e60d0b97207be5a931d8745b376038ffbaf518701ca89b7e362360c27121e637494
|
7
|
+
data.tar.gz: 385cdb7184de9c48211987d8476e8bc89a358517fd3859cdef9fd79869532c6bfbe281e22580ce19b9826268eebcda5c9c1bbfe9ca085e2cf741f02f2d39d2b5
|
data/README.md
CHANGED
@@ -5,6 +5,7 @@ The idea for Quickdraw comes from the 'shopify_theme' gem. I use a lot of code f
|
|
5
5
|
### Features
|
6
6
|
|
7
7
|
- MUCH faster downloads and uploads. Unfortunately, Shopify API call limits will slow you down. But in short bursts (10-20 files), Quickdraw is as much as 10x faster or more!
|
8
|
+
- Quickdraw supports using ERB templates which are compiled then uploaded to shopify. This can save you time when making templates with redundant code.
|
8
9
|
|
9
10
|
## Installation
|
10
11
|
|
@@ -22,7 +23,10 @@ Or install it yourself as:
|
|
22
23
|
|
23
24
|
## Usage
|
24
25
|
|
25
|
-
|
26
|
+
1. Create a project folder and open a terminal
|
27
|
+
2. run ````quickdraw configure````
|
28
|
+
3. run ````quickdraw download````
|
29
|
+
4. run ````quickdraw watch````
|
26
30
|
|
27
31
|
## Contributing
|
28
32
|
|
data/lib/quickdraw/cli.rb
CHANGED
@@ -20,10 +20,17 @@ module Quickdraw
|
|
20
20
|
DEFAULT_WHITELIST = %w(layout/ assets/ config/ snippets/ templates/)
|
21
21
|
TIMEFORMAT = "%H:%M:%S"
|
22
22
|
|
23
|
-
desc "configure
|
24
|
-
def configure
|
25
|
-
config = {
|
23
|
+
desc "configure", "generate a config file for the store to connect to"
|
24
|
+
def configure
|
25
|
+
config = {
|
26
|
+
:api_key => ask("API Key?"),
|
27
|
+
:password => ask("Password?"),
|
28
|
+
:store => ask("Store domain (ex. 'example.myshopify.com')?"),
|
29
|
+
:theme_id => ask("Theme ID")
|
30
|
+
}
|
26
31
|
create_file('config.yml', config.to_yaml)
|
32
|
+
empty_directory('src')
|
33
|
+
empty_directory('theme')
|
27
34
|
end
|
28
35
|
|
29
36
|
desc "upload FILES", "upload all theme assets to shop"
|
data/lib/quickdraw/version.rb
CHANGED