<commit_before>"
Things that need to be in ''every'' image I develop in.
!Features
!!Metacello
- For GToolkit-specific code loading, make a ==GToolkit== platform attribute available by sending ${method:BaselineOf class>>#beGToolkitAware|label='#beGToolkitAware'}$ to your baseline.
"
Class {
	#name : #BaselineOfDeNigrisPreferences,
	#superclass : #BaselineOf,
	#category : #BaselineOfDeNigrisPreferences
}

{ #category : #baselines }
BaselineOfDeNigrisPreferences >> baseline: spec [
	<baseline>

	spec for: #'common' do: [
		spec 
			postLoadDoIt: #postLoad;
			baseline: 'MonticelloLogin' with: [ 
				spec repository: 'github://seandenigris/Monticello-Login/repository' ];
			package: #'DeNigrisPreferences-Core' with: [
				spec requires: #'MonticelloLogin'. ] ].

	spec for: #'pharo2.x' do: [
		spec
			package: #'DeNigrisPreferences-Core' with: [
					spec includes: #'DeNigrisPreferences-Platform' ];
			package: #'DeNigrisPreferences-Platform' with: 'DeNigrisPreferences-Platform.pharo20' ].
	
	spec for: #'pharo3.x' do: [
		spec
			package: #'DeNigrisPreferences-Core' with: [
					spec includes: #'DeNigrisPreferences-Platform' ];
			package: #'DeNigrisPreferences-Platform' with: 'DeNigrisPreferences-Platform.pharo30'. ].
	
	spec for: #'pharo4.x' do: [
		spec
			package: #'DeNigrisPreferences-Core' with: [
					spec includes: #'DeNigrisPreferences-Platform' ];
			package: #'DeNigrisPreferences-Platform' with: 'DeNigrisPreferences-Platform.pharo40' ].

	spec for: #(#'pharo5.x' #'pharo6.x') do: [
		spec
			package: #'DeNigrisPreferences-Core' with: [
					spec includes: #'DeNigrisPreferences-Platform-Pharo6' ];
			package: #'DeNigrisPreferences-Platform-Pharo6' with: [
				spec requires: #'DeNigrisPreferences-Core' ] ].
		
	spec for: #(#'pharo8.x') do: [
		spec
			package: #'DeNigrisPreferences-Pharo8';
			package: #'DeNigrisPreferences-Core' with: [
					spec requires: #'DeNigrisPreferences-Pharo8' ] ].
					
	spec for: #'Lepiter' do: [
		spec baseline: 'Lepiter-DeNigris' with: [ 
			spec repository: 'github://seandenigris/Lepiter-DeNigris:main' ].
		spec
			package: #'DeNigrisPreferences-Core' with: [ spec includes: #'Lepiter-DeNigris' ] ].
]

{ #category : #accessing }
BaselineOfDeNigrisPreferences >> customProjectAttributes [
	^ self isLepiterImage
			ifFalse: [ #() ]
			ifTrue: [ #(Lepiter) ]
]

{ #category : #testing }
BaselineOfDeNigrisPreferences >> isLepiterImage [
	^ RPackageOrganizer default packageNames anySatisfy: [ :pn | pn beginsWith: 'Lepiter-' ]
]

{ #category : #'post load' }
BaselineOfDeNigrisPreferences >> postLoad [
	DeNigrisPreferences instance loadEachStartup
]
<commit_msg>[MetaC]: Correct Baseline Name<commit_after>"
Things that need to be in ''every'' image I develop in.
!Features
!!Metacello
- For GToolkit-specific code loading, make a ==GToolkit== platform attribute available by sending ${method:BaselineOf class>>#beGToolkitAware|label='#beGToolkitAware'}$ to your baseline.
"
Class {
	#name : #BaselineOfDeNigrisPreferences,
	#superclass : #BaselineOf,
	#category : #BaselineOfDeNigrisPreferences
}

{ #category : #baselines }
BaselineOfDeNigrisPreferences >> baseline: spec [
	<baseline>

	spec for: #'common' do: [
		spec 
			postLoadDoIt: #postLoad;
			baseline: 'MonticelloLogin' with: [ 
				spec repository: 'github://seandenigris/Monticello-Login/repository' ];
			package: #'DeNigrisPreferences-Core' with: [
				spec requires: #'MonticelloLogin'. ] ].

	spec for: #'pharo2.x' do: [
		spec
			package: #'DeNigrisPreferences-Core' with: [
					spec includes: #'DeNigrisPreferences-Platform' ];
			package: #'DeNigrisPreferences-Platform' with: 'DeNigrisPreferences-Platform.pharo20' ].
	
	spec for: #'pharo3.x' do: [
		spec
			package: #'DeNigrisPreferences-Core' with: [
					spec includes: #'DeNigrisPreferences-Platform' ];
			package: #'DeNigrisPreferences-Platform' with: 'DeNigrisPreferences-Platform.pharo30'. ].
	
	spec for: #'pharo4.x' do: [
		spec
			package: #'DeNigrisPreferences-Core' with: [
					spec includes: #'DeNigrisPreferences-Platform' ];
			package: #'DeNigrisPreferences-Platform' with: 'DeNigrisPreferences-Platform.pharo40' ].

	spec for: #(#'pharo5.x' #'pharo6.x') do: [
		spec
			package: #'DeNigrisPreferences-Core' with: [
					spec includes: #'DeNigrisPreferences-Platform-Pharo6' ];
			package: #'DeNigrisPreferences-Platform-Pharo6' with: [
				spec requires: #'DeNigrisPreferences-Core' ] ].
		
	spec for: #(#'pharo8.x') do: [
		spec
			package: #'DeNigrisPreferences-Pharo8';
			package: #'DeNigrisPreferences-Core' with: [
					spec requires: #'DeNigrisPreferences-Pharo8' ] ].
					
	spec for: #'Lepiter' do: [
		spec baseline: 'LepiterDeNigris' with: [ 
			spec repository: 'github://seandenigris/Lepiter-DeNigris:main' ].
		spec
			package: #'DeNigrisPreferences-Core' with: [ spec includes: #'Lepiter-DeNigris' ] ].
]

{ #category : #accessing }
BaselineOfDeNigrisPreferences >> customProjectAttributes [
	^ self isLepiterImage
			ifFalse: [ #() ]
			ifTrue: [ #(Lepiter) ]
]

{ #category : #testing }
BaselineOfDeNigrisPreferences >> isLepiterImage [
	^ RPackageOrganizer default packageNames anySatisfy: [ :pn | pn beginsWith: 'Lepiter-' ]
]

{ #category : #'post load' }
BaselineOfDeNigrisPreferences >> postLoad [
	DeNigrisPreferences instance loadEachStartup
]

{'fraction_non_alphanumeric': 0.13853141559424678, 'fraction_numerical': 0.006056018168054504, 'mean_word_length': 4.725893824485373, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4742207', 'n_tokens_mistral': 2068, 'n_tokens_neox': 1858, 'n_words': 375}