mirror of
https://github.com/ericchiang/pup
synced 2025-01-15 02:00:55 +00:00
brew formula and readme updated
This commit is contained in:
parent
6e6254521e
commit
9326703a03
@ -156,7 +156,7 @@ There are intermediate characters which declare special instructions. For
|
|||||||
instance, a comma `,` allows pup to specify mulitple groups of selctors.
|
instance, a comma `,` allows pup to specify mulitple groups of selctors.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cat robots.html | pup 'title, h1 span[dir="auto"]'
|
$ cat robots.html | pup 'title, h1 span[dir="auto"]'
|
||||||
<title>
|
<title>
|
||||||
Robots exclusion standard - Wikipedia, the free encyclopedia
|
Robots exclusion standard - Wikipedia, the free encyclopedia
|
||||||
</title>
|
</title>
|
||||||
|
10
pup.rb
10
pup.rb
@ -2,14 +2,14 @@ require 'formula'
|
|||||||
|
|
||||||
class Pup < Formula
|
class Pup < Formula
|
||||||
homepage 'https://github.com/EricChiang/pup'
|
homepage 'https://github.com/EricChiang/pup'
|
||||||
version '0.3.4'
|
version '0.3.5'
|
||||||
|
|
||||||
if Hardware.is_64_bit?
|
if Hardware.is_64_bit?
|
||||||
url 'https://github.com/EricChiang/pup/releases/download/v0.3.4/pup_darwin_amd64.zip'
|
url 'https://github.com/EricChiang/pup/releases/download/v0.3.5/pup_darwin_amd64.zip'
|
||||||
sha1 '5fec62701a49bfd5eaa4b9c980e9c06dcece78c6'
|
sha1 '6991dc9408e02adfa0ed5866eb7e284a94d79a77'
|
||||||
else
|
else
|
||||||
url 'https://github.com/EricChiang/pup/releases/download/v0.3.4/pup_darwin_386.zip'
|
url 'https://github.com/EricChiang/pup/releases/download/v0.3.5/pup_darwin_386.zip'
|
||||||
sha1 '1eb129c662d7e323c9b1e8f8ed3b8e28ce521434'
|
sha1 'ec58d15a39ab821caa5f903035862690bbeb4dfe'
|
||||||
end
|
end
|
||||||
|
|
||||||
def install
|
def install
|
||||||
|
Loading…
Reference in New Issue
Block a user