trufflepig 0.2.11 → 0.2.12
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +2 -0
- data/README.md +14 -1
- data/VERSION +1 -1
- data/data/caniuse.json +1 -1
- data/data/features.json +1 -1
- data/lib/tasks/featurelist.rb +22 -0
- data/trufflepig.gemspec +2 -2
- metadata +3 -3
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -31,7 +31,13 @@ feature as well as browser compatibility tables, and links to more info.
|
|
31
31
|
## Adding or updating detection patterns
|
32
32
|
|
33
33
|
Add or update patterns with the correct caniuse.com key to
|
34
|
-
[data/patterns.json](https://github.com/5apps/trufflepig/blob/master/data/patterns.json)
|
34
|
+
[data/patterns.json](https://github.com/5apps/trufflepig/blob/master/data/patterns.json)
|
35
|
+
by running:
|
36
|
+
|
37
|
+
```
|
38
|
+
rake featurelist:fetch
|
39
|
+
```
|
40
|
+
|
35
41
|
The build task will merge that list with the source JSON and create
|
36
42
|
data/features.json which will be used by the search:
|
37
43
|
|
@@ -39,6 +45,13 @@ data/features.json which will be used by the search:
|
|
39
45
|
rake featurelist:build
|
40
46
|
```
|
41
47
|
|
48
|
+
For convenience there is also a task that combines the two previous
|
49
|
+
ones:
|
50
|
+
|
51
|
+
```
|
52
|
+
rake featurelist:update
|
53
|
+
```
|
54
|
+
|
42
55
|
## To do
|
43
56
|
|
44
57
|
* Respect filetypes when scanning for features (e.g. don't look for CSS
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.12
|