Updating versions.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2017-07-07 19:58:39 +00:00
parent dc6c0d8229
commit dff1c7f433

View File

@ -15,6 +15,16 @@ Class {
#category : #'Grafoscopio-Utils' #category : #'Grafoscopio-Utils'
} }
{ #category : #api }
GrafoscopioDocumentation class >> download: aFileName [
self newDefault download: aFileName
]
{ #category : #initialization }
GrafoscopioDocumentation class >> initialize [
^ self newDefault initialize
]
{ #category : #updating } { #category : #updating }
GrafoscopioDocumentation class >> listOutdatedDocs [ GrafoscopioDocumentation class >> listOutdatedDocs [
^ self newDefault listOutdatedDocs ^ self newDefault listOutdatedDocs
@ -27,7 +37,7 @@ GrafoscopioDocumentation class >> newDefault [
{ #category : #updating } { #category : #updating }
GrafoscopioDocumentation class >> update [ GrafoscopioDocumentation class >> update [
self newDefault update ^ self newDefault update
] ]
{ #category : #updating } { #category : #updating }
@ -46,6 +56,14 @@ GrafoscopioDocumentation class >> updateAllUI [
ifTrue: [ self updateAll ] ifTrue: [ self updateAll ]
] ]
{ #category : #accessing }
GrafoscopioDocumentation >> addDocument: aFilePath [
"I add the document contained in aFilePath (a String) to the list of documents that belong
to this collection, taking care of avoiding repetitions"
(self documents includes: aFilePath) ifFalse: [ self documents add: aFilePath ]
]
{ #category : #accessing } { #category : #accessing }
GrafoscopioDocumentation >> documents [ GrafoscopioDocumentation >> documents [
^ documents ifNil: [ documents := OrderedCollection new ] ^ documents ifNil: [ documents := OrderedCollection new ]
@ -93,8 +111,7 @@ GrafoscopioDocumentation >> listOutdatedDocs [
{ #category : #accessing } { #category : #accessing }
GrafoscopioDocumentation >> localPlace [ GrafoscopioDocumentation >> localPlace [
^ localPlace ifNil: [ ^ localPlace.
localPlace := FileLocator workingDirectory asFileReference / 'Grafoscopio' ].
] ]
{ #category : #accessing } { #category : #accessing }
@ -133,8 +150,8 @@ GrafoscopioDocumentation >> repository [
] ]
{ #category : #accessing } { #category : #accessing }
GrafoscopioDocumentation >> repository: anObject [ GrafoscopioDocumentation >> repository: aFossilRepo [
repository := anObject repository := aFossilRepo
] ]
{ #category : #updating } { #category : #updating }