Skip to content

Commit

Permalink
Moved Processor interface into org.groocss.proc package.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamldavis committed Mar 11, 2019
1 parent d7af532 commit a40144e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/groovy/org/groocss/Config.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import groovy.transform.Canonical
import groovy.transform.CompileStatic
import groovy.transform.MapConstructor
import groovy.transform.builder.Builder
import org.groocss.valid.Processor
import org.groocss.proc.Processor

/**
* Configuration for GrooCSS conversions. There are at least four different ways to configure GrooCSS:
Expand Down
2 changes: 1 addition & 1 deletion src/main/groovy/org/groocss/MediaCSS.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package org.groocss

import groovy.transform.CompileStatic
import org.groocss.valid.DefaultValidator
import org.groocss.valid.Processor
import org.groocss.proc.Processor

import java.lang.reflect.ParameterizedType

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.groocss.valid
package org.groocss.proc

import groovy.transform.CompileStatic
import org.groocss.CSSPart
Expand Down
1 change: 1 addition & 0 deletions src/main/groovy/org/groocss/valid/AbstractValidator.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package org.groocss.valid

import groovy.transform.CompileStatic
import org.groocss.CSSPart
import org.groocss.proc.Processor

/**
* Convenient abstract class for extending and making Validators but not necessary to extend.
Expand Down
1 change: 1 addition & 0 deletions src/main/groovy/org/groocss/valid/DefaultValidator.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package org.groocss.valid
import groovy.transform.CompileStatic
import org.groocss.Measurement
import org.groocss.Style
import org.groocss.proc.Processor

/**
* Does default GrooCSS validation of Measurements.
Expand Down
3 changes: 3 additions & 0 deletions src/main/groovy/org/groocss/valid/RequireMeasurements.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@ package org.groocss.valid
import groovy.transform.CompileStatic
import org.groocss.Measurement
import org.groocss.Style
import org.groocss.proc.Processor

/**
* Validates that every value that can be a Measurement is one. In conjunction with the
* {@link DefaultValidator} this has the effect of making sure that many values are correct.
* <p>
* You can write your own custom validators and add them via {@link org.groocss.Config}.
* <p>
* This is not included by default, you must add it using {@link org.groocss.Config#setProcessors(java.util.Set)}.
*
* @see Measurement
* @see org.groocss.Config
Expand Down

0 comments on commit a40144e

Please sign in to comment.