Skip to content

Commit

Permalink
tidy versioning. update travis
Browse files Browse the repository at this point in the history
  • Loading branch information
dwarring committed Jan 23, 2017
1 parent 304af68 commit 7a43f2d
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 14 deletions.
9 changes: 3 additions & 6 deletions .travis.yml
@@ -1,11 +1,8 @@
branches:
except:
- gh-pages
language: perl6
sudo: false
perl6:
- latest
# - 2015.09
- 2016.12
install:
- rakudobrew build-panda
- panda installdeps .
- rakudobrew build zef
- zef --depsonly install .
3 changes: 2 additions & 1 deletion META6.json
@@ -1,6 +1,7 @@
{ "perl" : "6c",
"name" : "CSS::Grammar",
"version" : "0.03.0",
"version" : "0.3.0",
"auth" : "github:p6-css",
"description" : "Perl 6 core CSS grammars",
"depends" : [ "JSON::Fast" ],
"provides" : {
Expand Down
5 changes: 3 additions & 2 deletions lib/CSS/Grammar.pm
Expand Up @@ -3,7 +3,7 @@ use v6;
grammar CSS::Grammar::Core{...}

# based on http://www.w3.org/TR/2011/REC-CSS2-20110607
grammar CSS::Grammar:ver<20110607.001> {
grammar CSS::Grammar {

# abstract base grammar for CSS instance grammars:
# CSS::Grammar::CSS1 - CSS level 1
Expand Down Expand Up @@ -164,7 +164,8 @@ grammar CSS::Grammar:ver<20110607.001> {
}
}
grammar CSS::Grammar::Core:ver<20110607.000> is CSS::Grammar {
grammar CSS::Grammar::Core #api<css2-20110607>
is CSS::Grammar {
# Fallback/Normalization Grammar
# This is based on the core grammar syntax described in
Expand Down
4 changes: 2 additions & 2 deletions lib/CSS/Grammar/Actions.pm
Expand Up @@ -19,11 +19,11 @@ class X::CSS::Ignored { #is Exception { ## issue 4
## };
}

has Str $!message is required;
has Str $.message is required;
has Str $!str;
has Str $!explanation;
has UInt $.line-no;
submethod BUILD( :$!message!, :$str, :$explanation, :$!line-no ) {
submethod TWEAK(:$str, :$explanation ) {
$!str = display-string($_) with $str;
$!explanation = display-string($_) with $explanation;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/CSS/Grammar/CSS1.pm
Expand Up @@ -3,7 +3,7 @@ use v6;
use CSS::Grammar;
# specification: http://www.w3.org/TR/2008/REC-CSS1-20080411/

grammar CSS::Grammar::CSS1:ver<20080411.000>
grammar CSS::Grammar::CSS1 #:api<css1-20080411>
is CSS::Grammar {

rule TOP {^ <stylesheet> $}
Expand Down
2 changes: 1 addition & 1 deletion lib/CSS/Grammar/CSS21.pm
Expand Up @@ -3,7 +3,7 @@ use v6;
use CSS::Grammar;
# specification: http://www.w3.org/TR/2011/REC-CSS2-20110607/

grammar CSS::Grammar::CSS21:ver<20110607.001>
grammar CSS::Grammar::CSS21 #:api<css2-20110607>
is CSS::Grammar {

rule TOP {^ <stylesheet> $}
Expand Down
2 changes: 1 addition & 1 deletion lib/CSS/Grammar/CSS3.pm
Expand Up @@ -4,7 +4,7 @@ use CSS::Grammar::CSS21;

# specification: http://www.w3.org/TR/2014/CR-css-syntax-3-20140220/

grammar CSS::Grammar::CSS3:ver<20140220.000>
grammar CSS::Grammar::CSS3 #:api<css-syntax-3-20140220>
is CSS::Grammar::CSS21 {

rule TOP {^ <stylesheet> $}
Expand Down

0 comments on commit 7a43f2d

Please sign in to comment.