Skip to content

Commit df6adfe

Browse files
author
jaswsinc
committed
Adding PHP70 as valid dependency and updating to latest websharks/cli-tools.
1 parent aeba2f3 commit df6adfe

5 files changed

+22
-18
lines changed

.gitattributes

+14-11
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,17 @@
156156
*.so binary
157157

158158
# Archive ignores.
159-
assets/ export-ignore
160-
tests/ export-ignore
161-
.git* export-ignore
162-
.tags export-ignore
163-
.post-receive export-ignore
164-
.apigen.neon export-ignore
165-
.travis.yml export-ignore
166-
.coveralls.yml export-ignore
167-
.scrutinizer.yml export-ignore
168-
.build.properties export-ignore
169-
.build.xml export-ignore
159+
/assets/ export-ignore
160+
/phings/ export-ignore
161+
/tests/ export-ignore
162+
/.git* export-ignore
163+
/.tags export-ignore
164+
/post-receive export-ignore
165+
/.travis.yml export-ignore
166+
/.coveralls.yml export-ignore
167+
/.scrutinizer.yml export-ignore
168+
/.build.props export-ignore
169+
/build.xml export-ignore
170+
171+
# LFS storage locations.
172+
/assets/** filter=lfs diff=lfs merge=lfs -text

CHANGELOG.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
## v15xxxx
1+
## v160110
22

3-
- Initial release.
3+
- Adding PHP70 package as a valid dependency.
4+
- Updating to latest version of the websharks/cli-tools.

Formula/websharks-cli-tools.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
class WebsharksCliTools < Formula
66
homepage "https://github.com/websharks/cli-tools"
7-
url "https://github.com/websharks/cli-tools/releases/download/150606/cli-tools.phar"
7+
url "https://github.com/websharks/cli-tools/releases/download/160110/cli-tools.phar"
88
sha256 "05f2054b3be58cd90a7ce9c89fe277f03fc21647029277183ec5e14a8534741c"
9-
version "150606"
9+
version "160110"
1010

1111
depends_on WebsharksPhpVersionRequirement
1212
depends_on WebsharksPhpPharRequirement

Requirements/Php/websharks-php-phar-building-requirement.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
class WebsharksPhpPharBuildingRequirement < WebsharksPhpRequirement
44
def satisfied?
5-
`php -i| grep phar.readonly`.downcase.include? "off"
5+
`php -i | grep phar.readonly`.downcase.include? "off"
66
end
77

88
def message

Requirements/Php/websharks-php-version-requirement.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
class WebsharksPhpVersionRequirement < WebsharksPhpRequirement
44
def satisfied?
5-
%w{php55 php56}.any? do |php|
5+
%w{php70 php56 php55}.any? do |php|
66
f = Formula[php]
77
f.rack.directory? && f.rack.children.length > 0
88
end
99
end
1010

1111
def message
12-
"Missing PHP54, PHP55 or PHP56 from homebrew-php. Please install one of them before continuing."
12+
"Missing PHP70, PHP56, or PHP55 from homebrew-php. Please install one of them before continuing."
1313
end
1414
end

0 commit comments

Comments
 (0)