dpm 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 (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +49 -0
  3. data/lib/dpm/version.rb +1 -1
  4. metadata +2 -2
  5. data/README.rdoc +0 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8bb953d9de893f34e9d355f5781f211e9d983008
4
- data.tar.gz: 02d314c4686b0428d34e99d7c75198e19adb11d7
3
+ metadata.gz: 5363ebe1f9d4ac0d23bc31243416edec27f1a0cb
4
+ data.tar.gz: 486cb64025f7facdbd9065520b7756dd1aac18c0
5
5
  SHA512:
6
- metadata.gz: cdc249f6788cd0b8d36ebf7d76bf954458f1b6bb620a2d68a1bbb4741fe554654d8deda3fbb07c12532b3979883d00de03dcd3282b38f796ef8aeb74a9a41d68
7
- data.tar.gz: ca10451fa0e073a456b50a271cbf187f3bd6c8795fe0d310962f207a84d926ecbf936fe5d7a6a2a4efcec53a1b9ecadbd9c3ae060b7af3892f1a39835b660692
6
+ metadata.gz: c25c863ff5e66080935271fbf533ce14ac170c6c7433a7bdcc1eda9c69fceb56bb8e0e6d7b141de824ba97d0e8656a42433cf37afe97458beabfaa083a5b0cd0
7
+ data.tar.gz: d3bc189f8429ffc90eb790c59f1336560e50740c79aaee3bcd5e3baedb7318defd505b202a3eb2a42cb5d2805d5f9148395e7c0fbf343bc1b683a74040a2e574
@@ -0,0 +1,49 @@
1
+ # DPM
2
+
3
+ DPM is an experimental package manager for design assets.
4
+
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
+ }
31
+ ```
32
+
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.
44
+ ```
45
+
46
+ ### Limitations
47
+ * DPM currently **only** supports installing from hosted zip files.
48
+ * Currenly only works with fonts and Sketch plugins
49
+ * Probably a ton of bugs
@@ -1,3 +1,3 @@
1
1
  module Dpm
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpm
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
  - Alasdair Monk
@@ -77,7 +77,7 @@ files:
77
77
  - Gemfile
78
78
  - Gemfile.lock
79
79
  - Palette.json
80
- - README.rdoc
80
+ - README.md
81
81
  - Rakefile
82
82
  - bin/dpm
83
83
  - dpm.gemspec
@@ -1,6 +0,0 @@
1
- = palette
2
-
3
- Describe your project here
4
-
5
- :include:palette.rdoc
6
-