dpm 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +24 -39
  3. data/bin/dpm +1 -1
  4. data/lib/dpm/version.rb +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3ffeed967b14f997c6f64cb62b9e2263a6f88090
4
- data.tar.gz: 8818ced3597bfc3137ec8de2bd67dd8b6e8a9e0e
3
+ metadata.gz: de7ae4c906843c34498a67042506c418ad54d13e
4
+ data.tar.gz: 165801e917b80d4c366a25c6756fc27dd4a3656e
5
5
  SHA512:
6
- metadata.gz: fb093ac951a5d55c3cd762768b185505d813011cdb965004e4f8f0920b1af0c8a8ffc676f6074ef8c7a3b5a91e196e13f8eba5c68b3a2edd7fc725acce88fdc1
7
- data.tar.gz: e131a0ef6a8bf179809f0e960333450c32ddf775c644db12cb4133ddb00089e28b3c2eb255174ef1b3e916166e33e2bee464b43e28e74f34bd435974e8052bc9
6
+ metadata.gz: edd038e771c9f3a84ae5653898d1327fbbd603cb3283c40ed14003b570a8f0e20fe26d0862d418c50a07c83af4f4de1210e8c89bef71f323f0a03307bf7356af
7
+ data.tar.gz: 405337509a687011a790188e0a2b2d1cc2ce01b2c368b53221d49e21b861d3f70fa830fd2f8b234e064337b48ce379d7f6367d37293c4ede865da81b6379c322
data/README.md CHANGED
@@ -1,49 +1,34 @@
1
1
  # DPM
2
2
 
3
- DPM is an experimental package manager for design assets.
3
+ DPM is an experimental package manager for Sketch. It allows you to simply keep plugins in sync across teams and devices.
4
4
 
5
5
  ### Getting started
6
- Open a terminal and enter `gem install dpm`
7
-
8
- ### Usage
9
- DPM is perfect for design collaboration with Sketch. A DPM Palette.json file lets you define fonts and Sketch plugins that are dependencies of your design projects.
10
-
11
- Let's create a DPM Palette file to distribute to my team so that we can keep our fonts & Sketch plugins in sync when working on a project.
12
-
13
- I'll create a new Palette.json file with the command `palette touch`.
14
-
15
- This creates a skeleton Palette file in the local directory. Let's open it and add some fonts and Sketch plugins we use on this project. The resulting Palette.json file should look something like this...
16
-
17
- ```JSON
18
- {
19
- "name": "My Project",
20
- "author": "Alasdair Monk",
21
- "version": "1.0",
22
- "fonts": [
23
- "http://www.fontsquirrel.com/fonts/download/Inconsolata",
24
- "http://www.fontsquirrel.com/fonts/download/junicode",
25
- ],
26
- "sketch_plugins": [
27
- "https://github.com/fnky/sketch-dockpreview/archive/master.zip",
28
- "https://github.com/matt-curtis/Fluid-for-Sketch/archive/master.zip"
29
- ]
30
- }
6
+ `gem install dpm`
7
+
8
+ ### Basic sage
9
+ Init a Palette.json file
10
+
11
+ ```
12
+ $ dpm init
13
+ $ dpm install marcosvidal/Sketch-Notebook --save
31
14
  ```
32
15
 
33
- I can now run the command `dpm install`.
34
-
35
- ```sh
36
- My Project 1.0
37
- Downloaded 100% |oooooooooooooooooooooooooooooooooooooooo| 34.9KB 278.1KB/s ETA: 0:00:00
38
- Downloaded 100% |oooooooooooooooooooooooooooooooooooooooo| 1.4MB 610.5KB/s ETA: 0:00:00
39
- Installing fonts...
40
- Downloaded
41
- Downloaded 100% |oooooooooooooooooooooooooooooooooooooooo| 2.5MB 1.6MB/s ETA: 0:00:00
42
- Installing Sketch plugins...
43
- Palette complete. 9 fonts, 2 Sketch plugins now installed.
16
+ Install plugins from a pre-existing Palette.json file
17
+
18
+ ```
19
+ $ dpm install
44
20
  ```
45
21
 
22
+ Install a plugin without saving it to a Palette.json file
23
+
24
+ ```
25
+ $ dpm install marcosvidal/Sketch-Notebook
26
+ ```
27
+
28
+ Find a list of Sketch plugins you can use with dpm [here](https://github.com/sketchplugins/plugin-directory).
29
+
30
+
46
31
  ### Limitations
47
- * DPM currently **only** supports installing from hosted zip files.
48
- * Currenly only works with fonts and Sketch plugins
32
+ * DPM currently **only** supports installing from repos publicly available on Github
33
+ * Currenly only works with Sketch plugins
49
34
  * Probably a ton of bugs
data/bin/dpm CHANGED
@@ -70,7 +70,7 @@ command :init do |c|
70
70
  puts "Palette.json already exists".red
71
71
  else
72
72
  tempHash = {
73
- "name" => " My Project",
73
+ "name" => "My Project",
74
74
  "author" => "",
75
75
  "version" => "1.0",
76
76
  "sketch_plugins" => []
@@ -1,3 +1,3 @@
1
1
  module Dpm
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alasdair Monk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-31 00:00:00.000000000 Z
11
+ date: 2016-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake