Updating versions.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2017-07-07 19:58:39 +00:00
parent dc6c0d8229
commit dff1c7f433
1 changed files with 22 additions and 5 deletions

View File

@ -15,6 +15,16 @@ Class {
#category : #'Grafoscopio-Utils'
}
{ #category : #api }
GrafoscopioDocumentation class >> download: aFileName [
self newDefault download: aFileName
]
{ #category : #initialization }
GrafoscopioDocumentation class >> initialize [
^ self newDefault initialize
]
{ #category : #updating }
GrafoscopioDocumentation class >> listOutdatedDocs [
^ self newDefault listOutdatedDocs
@ -27,7 +37,7 @@ GrafoscopioDocumentation class >> newDefault [
{ #category : #updating }
GrafoscopioDocumentation class >> update [
self newDefault update
^ self newDefault update
]
{ #category : #updating }
@ -46,6 +56,14 @@ GrafoscopioDocumentation class >> updateAllUI [
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 }
GrafoscopioDocumentation >> documents [
^ documents ifNil: [ documents := OrderedCollection new ]
@ -93,8 +111,7 @@ GrafoscopioDocumentation >> listOutdatedDocs [
{ #category : #accessing }
GrafoscopioDocumentation >> localPlace [
^ localPlace ifNil: [
localPlace := FileLocator workingDirectory asFileReference / 'Grafoscopio' ].
^ localPlace.
]
{ #category : #accessing }
@ -133,8 +150,8 @@ GrafoscopioDocumentation >> repository [
]
{ #category : #accessing }
GrafoscopioDocumentation >> repository: anObject [
repository := anObject
GrafoscopioDocumentation >> repository: aFossilRepo [
repository := aFossilRepo
]
{ #category : #updating }