Skip to content

Commit

Permalink
sources migrated
Browse files Browse the repository at this point in the history
  • Loading branch information
jecisc committed Oct 21, 2018
1 parent 4a14014 commit f9e5fa1
Show file tree
Hide file tree
Showing 119 changed files with 541 additions and 473 deletions.
2 changes: 0 additions & 2 deletions src/.filetree

This file was deleted.

3 changes: 2 additions & 1 deletion src/.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
#format : #filetree
#format : #tonel
}
}
5 changes: 0 additions & 5 deletions src/BaselineOfMaterialColors.package/.filetree

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Empty file.

This file was deleted.

1 change: 0 additions & 1 deletion src/BaselineOfMaterialColors.package/properties.json

This file was deleted.

57 changes: 57 additions & 0 deletions src/BaselineOfMaterialColors/BaselineOfMaterialColors.class.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
"
I am a baseline of MaterialColors.
Read more at: https://github.com/DuneSt/MaterialColors
"
Class {
#name : #BaselineOfMaterialColors,
#superclass : #BaselineOf,
#category : 'BaselineOfMaterialColors'
}

{ #category : #baseline }
BaselineOfMaterialColors >> baseline: spec [
<baseline>
spec
for: #common
do: [
"Packages"
spec
package: 'Material-Design-Colors';
package: 'Material-Design-Tests-Colors' with: [ spec requires: 'Material-Design-Colors' ].

"Groups"
spec
group: 'Core' with: #('Material-Design-Colors');
group: 'all' with: #('default');
group: 'Tests' with: #('Material-Design-Tests-Colors') ].
self
pharo: spec;
gemStone: spec
]

{ #category : #baseline }
BaselineOfMaterialColors >> gemStone: spec [
spec
for: #gemstone
do: [ spec
package: 'PackageManifest' with: [ spec repository: 'http://smalltalkhub.com/mc/pdebruic/PackageManifest/main' ];
package: 'Material-Design-Colors' with: [ spec requires: 'PackageManifest' ];
package: 'Material-Design-Colors-Platform-Gemstone' with: [ spec requires: 'Material-Design-Colors' ];
package: 'Material-Design-Colors' with: [ spec includes: 'Material-Design-Colors-Platform-Gemstone' ] ]
]

{ #category : #baseline }
BaselineOfMaterialColors >> pharo: spec [
spec
for: #pharo
do: [ spec
package: 'Material-Design-Colors-Platform-Pharo' with: [ spec requires: 'Material-Design-Colors' ];
package: 'Material-Design-Colors' with: [ spec includes: 'Material-Design-Colors-Platform-Pharo' ] ]
]

{ #category : #accessing }
BaselineOfMaterialColors >> projectClass [
^ [ self class environment at: #MetacelloCypressBaselineProject ]
on: NotFound
do: [ super projectClass ]
]
1 change: 1 addition & 0 deletions src/BaselineOfMaterialColors/package.st
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Package { #name : #BaselineOfMaterialColors }

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Empty file.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
"
Description
--------------------
I contain the Gemstone specific code of MaterialDesignColors
"
Class {
#name : #MaterialColorGemstonePlatform,
#superclass : #MaterialColorPlatform,
#category : 'Material-Design-Colors-Platform-Gemstone'
}

{ #category : #'initialize-release' }
MaterialColorGemstonePlatform class >> initialize [
self register
]

{ #category : #accessing }
MaterialColorGemstonePlatform >> allSelectorsOf: aClass from: aSymbol [
"Return the lists of selectors understood by <aClass> and categorized in a protocol named <aSymbol>"

^ aClass allSelectors select: [ :selector | (aClass categoryOfSelector: selector) = aSymbol ]
]

{ #category : #testing }
MaterialColorGemstonePlatform >> isGemstone [
^ true
]
1 change: 1 addition & 0 deletions src/Material-Design-Colors-Platform-Gemstone/package.st
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Package { #name : #'Material-Design-Colors-Platform-Gemstone' }
5 changes: 0 additions & 5 deletions src/Material-Design-Colors-Platform-Pharo.package/.filetree

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Empty file.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
"
Description
--------------------
Platform managing the Pharo specific code of MaterialDesignColors.
"
Class {
#name : #MaterialColorPharoPlatform,
#superclass : #MaterialColorPlatform,
#category : 'Material-Design-Colors-Platform-Pharo'
}

{ #category : #'initialize-release' }
MaterialColorPharoPlatform class >> initialize [
self register
]

{ #category : #accessing }
MaterialColorPharoPlatform >> allSelectorsOf: aClass from: aSymbol [
"Return the lists of selectors understood by <aClass> and categorized in a protocol named <aSymbol>"

^ aClass allMethods select: [ :each | each protocol = aSymbol ] thenCollect: #selector
]

{ #category : #testing }
MaterialColorPharoPlatform >> isPharo [
^ true
]
1 change: 1 addition & 0 deletions src/Material-Design-Colors-Platform-Pharo/package.st
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Package { #name : #'Material-Design-Colors-Platform-Pharo' }
5 changes: 0 additions & 5 deletions src/Material-Design-Colors.package/.filetree

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit f9e5fa1

Please sign in to comment.