Skip to content

Commit

Permalink
Merge pull request #72 from ba-st/71-Update-bootstrap-dependencies-to…
Browse files Browse the repository at this point in the history
…-340

Update bootstrap dependencies to 3.4.0
  • Loading branch information
gcotelli committed Jan 24, 2019
2 parents 70bb8db + 456579c commit 8795ad5
Show file tree
Hide file tree
Showing 10 changed files with 814 additions and 737 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"author": "Buenos Aires Smalltalk contributors",
"license": "MIT",
"dependencies": {
"bootstrap": "3.3.7",
"bootstrap": "3.4.0",
"bootstrap-select": "1.12.4",
"bootstrap-datepicker": "1.8.0",
"bootstrap-3-typeahead": "4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ Bootstrap3DeploymentMetadataLibraryTest >> testDeployFiles [

self
assertFileDeploymentOf: Bootstrap3DeploymentMetadataLibrary default
createsAsFolders: #('bootstrap-3.3.7' 'bootstrap-3.3.7/css' 'bootstrap-3.3.7/fonts' 'bootstrap-3.3.7/js')
createsAsFolders: #('bootstrap-3.4.0' 'bootstrap-3.4.0/css' 'bootstrap-3.4.0/fonts' 'bootstrap-3.4.0/js')
andFileContentsMatching:
{('bootstrap-3.3.7/css/bootstrap-theme.min.css' -> '86a08c1f4626f5a814b56b20dd9a4dd03b89c103').
('bootstrap-3.3.7/css/bootstrap-theme.min.css.map' -> '87f7dfd79d77051ac2eca7d093d961fbd1c8f6eb').
('bootstrap-3.3.7/css/bootstrap.min.css' -> '7a8e3eef5055bfe92e58b53306609765e127e6a2').
('bootstrap-3.3.7/css/bootstrap.min.css.map' -> 'e0d7b2bde55a0bac1b658a507e8ca491a6729e06').
('bootstrap-3.3.7/fonts/glyphicons-halflings-regular.eot' -> '86b6f62b7853e67d3e635f6512a5a5efc58ea3c3').
('bootstrap-3.3.7/fonts/glyphicons-halflings-regular.svg' -> 'de51a8494180a6db074af2dee2383f0a363c5b08').
('bootstrap-3.3.7/fonts/glyphicons-halflings-regular.ttf' -> '44bc1850f570972267b169ae18f1cb06b611ffa2').
('bootstrap-3.3.7/fonts/glyphicons-halflings-regular.woff' -> '278e49a86e634da6f2a02f3b47dd9d2a8f26210f').
('bootstrap-3.3.7/fonts/glyphicons-halflings-regular.woff2' -> 'ca35b697d99cae4d1b60f2d60fcd37771987eb07').
('bootstrap-3.3.7/js/bootstrap.min.js' -> '789f825a2b8a49a846a2870670acd883f198f058')}
{('bootstrap-3.4.0/css/bootstrap-theme.min.css' -> 'c78ec6842414030452bed01be25c8275d01dfca6').
('bootstrap-3.4.0/css/bootstrap-theme.min.css.map' -> '7b6da59686964ae3dbff87da24c997e92f560415').
('bootstrap-3.4.0/css/bootstrap.min.css' -> 'b51d0bf0bd3fd71be76bdd916f7f2c463f1e1ecf').
('bootstrap-3.4.0/css/bootstrap.min.css.map' -> '47b894ffa73197d69d22959400934b2199df7170').
('bootstrap-3.4.0/fonts/glyphicons-halflings-regular.eot' -> '86b6f62b7853e67d3e635f6512a5a5efc58ea3c3').
('bootstrap-3.4.0/fonts/glyphicons-halflings-regular.svg' -> 'de51a8494180a6db074af2dee2383f0a363c5b08').
('bootstrap-3.4.0/fonts/glyphicons-halflings-regular.ttf' -> '44bc1850f570972267b169ae18f1cb06b611ffa2').
('bootstrap-3.4.0/fonts/glyphicons-halflings-regular.woff' -> '278e49a86e634da6f2a02f3b47dd9d2a8f26210f').
('bootstrap-3.4.0/fonts/glyphicons-halflings-regular.woff2' -> 'ca35b697d99cae4d1b60f2d60fcd37771987eb07').
('bootstrap-3.4.0/js/bootstrap.min.js' -> '58c59c52f2bcc6eff6e21569a76014b9bfa6913b')}
]

{ #category : #tests }
Expand All @@ -47,7 +47,7 @@ Bootstrap3DeploymentMetadataLibraryTest >> testUpdateRoot [
self
assert: html
equals:
'<html><head><title></title><link rel="stylesheet" type="text/css" href="/files/bootstrap-3.3.7/css/bootstrap.min.css"/><link rel="stylesheet" type="text/css" href="/files/bootstrap-3.3.7/css/bootstrap-theme.min.css"/><script type="text/javascript" src="/files/bootstrap-3.3.7/js/bootstrap.min.js"></script></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>'
'<html><head><title></title><link rel="stylesheet" type="text/css" href="/files/bootstrap-3.4.0/css/bootstrap.min.css"/><link rel="stylesheet" type="text/css" href="/files/bootstrap-3.4.0/css/bootstrap-theme.min.css"/><script type="text/javascript" src="/files/bootstrap-3.4.0/js/bootstrap.min.js"></script></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>'
]

{ #category : #tests }
Expand All @@ -63,5 +63,5 @@ Bootstrap3DeploymentMetadataLibraryTest >> testUpdateRootWithoutOptionalTheme [
self
assert: html
equals:
'<html><head><title></title><link rel="stylesheet" type="text/css" href="/files/bootstrap-3.3.7/css/bootstrap.min.css"/><script type="text/javascript" src="/files/bootstrap-3.3.7/js/bootstrap.min.js"></script></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>'
'<html><head><title></title><link rel="stylesheet" type="text/css" href="/files/bootstrap-3.4.0/css/bootstrap.min.css"/><script type="text/javascript" src="/files/bootstrap-3.4.0/js/bootstrap.min.js"></script></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>'
]
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ Bootstrap3DevelopmentMetadataLibraryTest >> testDeployFiles [

self
assertFileDeploymentOf: Bootstrap3DevelopmentMetadataLibrary default
createsAsFolders: #('bootstrap-3.3.7' 'bootstrap-3.3.7/css' 'bootstrap-3.3.7/fonts' 'bootstrap-3.3.7/js')
createsAsFolders: #('bootstrap-3.4.0' 'bootstrap-3.4.0/css' 'bootstrap-3.4.0/fonts' 'bootstrap-3.4.0/js')
andFileContentsMatching:
{('bootstrap-3.3.7/css/bootstrap-theme.css' -> 'f23dbf16cd3b683f312e0668c398001702ac5b7b').
('bootstrap-3.3.7/css/bootstrap-theme.css.map' -> '5b1fdfb2666d478d5b4911c7bbd49edbf1b47fb1').
('bootstrap-3.3.7/css/bootstrap.css' -> 'f84ccc167c967675eba802d4b9d77088610585d8').
('bootstrap-3.3.7/css/bootstrap.css.map' -> 'ca50d917657a1631d58ce0c791604760d5532d12').
('bootstrap-3.3.7/fonts/glyphicons-halflings-regular.eot' -> '86b6f62b7853e67d3e635f6512a5a5efc58ea3c3').
('bootstrap-3.3.7/fonts/glyphicons-halflings-regular.svg' -> 'de51a8494180a6db074af2dee2383f0a363c5b08').
('bootstrap-3.3.7/fonts/glyphicons-halflings-regular.ttf' -> '44bc1850f570972267b169ae18f1cb06b611ffa2').
('bootstrap-3.3.7/fonts/glyphicons-halflings-regular.woff' -> '278e49a86e634da6f2a02f3b47dd9d2a8f26210f').
('bootstrap-3.3.7/fonts/glyphicons-halflings-regular.woff2' -> 'ca35b697d99cae4d1b60f2d60fcd37771987eb07').
('bootstrap-3.3.7/js/bootstrap.js' -> '586cc14f4a57852a86bac3ec7f466a8eb789236b')}
{('bootstrap-3.4.0/css/bootstrap-theme.css' -> '98f12eae6541f4f2405fc1928e4e9c56c08c1d70').
('bootstrap-3.4.0/css/bootstrap-theme.css.map' -> '47ddf09ecdeb7ef9c105e0a626c5b159e1bb64e1').
('bootstrap-3.4.0/css/bootstrap.css' -> '612436c5985c58074c11645e856ba4cfd9552dbe').
('bootstrap-3.4.0/css/bootstrap.css.map' -> '9fa2bda3c1c5737db82073c722aadb4cd91f4e6b').
('bootstrap-3.4.0/fonts/glyphicons-halflings-regular.eot' -> '86b6f62b7853e67d3e635f6512a5a5efc58ea3c3').
('bootstrap-3.4.0/fonts/glyphicons-halflings-regular.svg' -> 'de51a8494180a6db074af2dee2383f0a363c5b08').
('bootstrap-3.4.0/fonts/glyphicons-halflings-regular.ttf' -> '44bc1850f570972267b169ae18f1cb06b611ffa2').
('bootstrap-3.4.0/fonts/glyphicons-halflings-regular.woff' -> '278e49a86e634da6f2a02f3b47dd9d2a8f26210f').
('bootstrap-3.4.0/fonts/glyphicons-halflings-regular.woff2' -> 'ca35b697d99cae4d1b60f2d60fcd37771987eb07').
('bootstrap-3.4.0/js/bootstrap.js' -> 'e61f1ff9165b85e99405fe5b4ae8fc1a8ade2c63')}
]

{ #category : #tests }
Expand Down Expand Up @@ -55,7 +55,7 @@ Bootstrap3DevelopmentMetadataLibraryTest >> testUpdateRoot [
self
assert: html
equals:
'<html><head><title></title><link rel="stylesheet" type="text/css" href="/files/bootstrap-3.3.7/css/bootstrap.css"/><link rel="stylesheet" type="text/css" href="/files/bootstrap-3.3.7/css/bootstrap-theme.css"/><script type="text/javascript" src="/files/bootstrap-3.3.7/js/bootstrap.js"></script></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>'
'<html><head><title></title><link rel="stylesheet" type="text/css" href="/files/bootstrap-3.4.0/css/bootstrap.css"/><link rel="stylesheet" type="text/css" href="/files/bootstrap-3.4.0/css/bootstrap-theme.css"/><script type="text/javascript" src="/files/bootstrap-3.4.0/js/bootstrap.js"></script></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>'
]

{ #category : #tests }
Expand All @@ -71,5 +71,5 @@ Bootstrap3DevelopmentMetadataLibraryTest >> testUpdateRootWithoutOptionalTheme [
self
assert: html
equals:
'<html><head><title></title><link rel="stylesheet" type="text/css" href="/files/bootstrap-3.3.7/css/bootstrap.css"/><script type="text/javascript" src="/files/bootstrap-3.3.7/js/bootstrap.js"></script></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>'
'<html><head><title></title><link rel="stylesheet" type="text/css" href="/files/bootstrap-3.4.0/css/bootstrap.css"/><script type="text/javascript" src="/files/bootstrap-3.4.0/js/bootstrap.js"></script></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>'
]
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Bootstrap3OnlineLibraryTest >> testUpdateRoot [
self
assert: html
equals:
'<html><head><title></title><link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"/><link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous"/><script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>'
'<html><head><title></title><link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css" integrity="sha384-PmY9l28YgO4JwMKbTvgaS7XNZJ30MK9FAZjjzXtlqyZCqBY6X6bXIkM++IkyinN+" crossorigin="anonymous"/><link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap-theme.min.css" integrity="sha384-jzngWsPS6op3fgRCDTESqrEJwRKck+CILhJVO5VvaAZCq8JYf8HsR/HPpBOOPZfR" crossorigin="anonymous"/><script type="text/javascript" src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js" integrity="sha384-vhJnz1OVIdLktyixHY4Uk3OHEwdQqPppqYR8+5mjsauETgLOcEynD9oPHhhz18Nw" crossorigin="anonymous"></script></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>'
]

{ #category : #'tests-Updating' }
Expand All @@ -30,11 +30,11 @@ Bootstrap3OnlineLibraryTest >> testUpdateRootWithoutOptionalTheme [

html := WAHtmlCanvas builder
fullDocument: true;
rootBlock: [ :root | Bootstrap3OnlineLibrary withoutOptionalTheme updateRoot: root ];
rootBlock: [ :root | Bootstrap3OnlineLibrary withoutOptionalTheme updateRoot: root ];
render: [ :canvas | ].

self
assert: html
equals:
'<html><head><title></title><link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"/><script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>'
'<html><head><title></title><link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css" integrity="sha384-PmY9l28YgO4JwMKbTvgaS7XNZJ30MK9FAZjjzXtlqyZCqBY6X6bXIkM++IkyinN+" crossorigin="anonymous"/><script type="text/javascript" src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js" integrity="sha384-vhJnz1OVIdLktyixHY4Uk3OHEwdQqPppqYR8+5mjsauETgLOcEynD9oPHhhz18Nw" crossorigin="anonymous"></script></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>'
]
Loading

0 comments on commit 8795ad5

Please sign in to comment.