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 CHANGED
@@ -2,3 +2,5 @@ language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
4
  - rbx-19mode
5
+ before_install:
6
+ - gem install bundler
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.11
1
+ 0.2.12