Skip to content

Commit 6a71920

Browse files
authored
Merge pull request #81 from tesonep/master
Deprecation of #withSqueakLineEndings
2 parents ae48971 + b57c780 commit 6a71920

File tree

11 files changed

+30
-4
lines changed

11 files changed

+30
-4
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ smalltalk:
99
- Pharo-5.0
1010
- Pharo-6.0
1111
- Pharo-6.1
12-
- Pharo-7.0
12+
- Pharo-7.0
13+
- Pharo64-8.0

BaselineOfTonel.package/BaselineOfTonel.class/instance/baseline..st

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,17 @@ baseline: spec
1212
group: 'default' with: #('core' 'tests');
1313
group: 'core' with: #('MonticelloTonel-Core' 'MonticelloTonel-FileSystem');
1414
group: 'tests' with: #('MonticelloTonel-Tests') ].
15+
16+
spec for: #(#'pharo4.x' #'pharo5.x' #'pharo6.x' #'pharo7.x') do: [
17+
self ston: spec.
18+
19+
spec
20+
package: #'MonticelloTonel-Compatibility';
21+
package: #'MonticelloTonel-Core' with: [ spec requires: #(#'MonticelloTonel-Compatibility') ] ].
1522

1623
spec for: #(#'pharo1.x' #'pharo2.x' #'pharo3.x' #'pharo4.x') do: [
1724
self ston: spec.
1825

19-
spec package: #'MonticelloTonel-Core' with: [ spec requires: #('Ston') ] ]
26+
spec
27+
package: #'MonticelloTonel-Compatibility';
28+
package: #'MonticelloTonel-Core' with: [ spec requires: #(#'MonticelloTonel-Compatibility' 'Ston') ] ]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"separateMethodMetaAndSource" : false,
3+
"noMethodMetaData" : true,
4+
"useCypressPropertiesFile" : true
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*MonticelloTonel-Compatibility
2+
withInternalLineEndings
3+
"Answer a new instance where all occurrences of CRLF and LF are substituted with CR. Pharo internally uses CR for carriage return."
4+
5+
^ self withLineEndings: String cr
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"name" : "String"
3+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SystemOrganization addCategory: #'MonticelloTonel-Compatibility'!

MonticelloTonel-Compatibility.package/monticello.meta/initializers.st

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
(name 'MonticelloTonel-Compatibility')
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{ }

MonticelloTonel-Core.package/TonelCommentScanner.class/instance/scan.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ scan
1919
self flag: #todo. "This is a hack to make my clean algoritm for bodies work also for
2020
comments. I need to refactor the 'eat enter' part out to use just that."
2121
^ self
22-
removeFrom: '"',result contents,'"' withSqueakLineEndings
22+
removeFrom: '"',result contents,'"' withInternalLineEndings
2323
enclosingStart: $"
2424
end: $"

0 commit comments

Comments
 (0)