smock 0.1.182 → 0.1.184
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +1 -1
- data/Rakefile +0 -1
- data/app/assets/stylesheets/modules/_addon.sass +5 -8
- metadata +3 -5
- data/app/assets/smock.js +0 -18
- data/npm-debug.log +0 -18
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
@@ -24,7 +24,6 @@ task :build_version => :clean do
|
|
24
24
|
|
25
25
|
target = "./versions/#{Smock::VERSION}"
|
26
26
|
FileUtils.mkdir_p target
|
27
|
-
sh "ln -s $(pwd)/app/assets/smock.js ./#{target}/smock.js"
|
28
27
|
sh "bundle exec sass --precision 7 ./app/assets/stylesheets/smock.sass #{target}/smock.css"
|
29
28
|
sh "bundle exec sass --precision 7 ./app/assets/stylesheets/smock.sass #{target}/smock.min.css --style compressed"
|
30
29
|
sh "bundle exec sass --precision 7 ./app/assets/stylesheets/svg_images.sass #{target}/svg_images.css"
|
@@ -2,20 +2,18 @@
|
|
2
2
|
box-shadow: 0 0 0 1px $border-color
|
3
3
|
+space(padding, 0.5)
|
4
4
|
|
5
|
-
.addon__card__titlebar
|
6
|
-
cursor: pointer
|
7
|
-
|
8
5
|
.addon__card__titlebar:hover
|
9
6
|
background-color: $border-color
|
10
7
|
|
11
8
|
.addon__card__titlebar
|
9
|
+
cursor: pointer
|
12
10
|
+space(line-height, 2)
|
13
11
|
+space(height, 2)
|
14
12
|
+user-select(none)
|
15
13
|
+space(padding-left, 0.5)
|
16
|
-
|
17
|
-
|
18
|
-
|
14
|
+
width: 100%
|
15
|
+
cursor: pointer
|
16
|
+
font-weight: normal
|
19
17
|
|
20
18
|
.addon__card__price
|
21
19
|
float: right
|
@@ -26,7 +24,6 @@
|
|
26
24
|
font-weight: bold
|
27
25
|
|
28
26
|
.addon__card__content
|
29
|
-
display: none
|
30
27
|
clear: both
|
31
28
|
+space(padding-bottom, 0.5)
|
32
29
|
+space(margin-left, 1.5)
|
@@ -39,4 +36,4 @@
|
|
39
36
|
box-shadow: none
|
40
37
|
|
41
38
|
.addon__card__content--expanded
|
42
|
-
display: block
|
39
|
+
display: block
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.184
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -125,7 +125,6 @@ files:
|
|
125
125
|
- LICENSE
|
126
126
|
- README.md
|
127
127
|
- Rakefile
|
128
|
-
- app/assets/smock.js
|
129
128
|
- app/assets/stylesheets/includes/_atoms.sass
|
130
129
|
- app/assets/stylesheets/includes/_colors.sass
|
131
130
|
- app/assets/stylesheets/includes/_forms.sass
|
@@ -415,7 +414,6 @@ files:
|
|
415
414
|
- lib/smock/generator.rb
|
416
415
|
- lib/smock/version.rb
|
417
416
|
- lib/tasks/install.rake
|
418
|
-
- npm-debug.log
|
419
417
|
- original_svg_images/MasterCard_Logo.svg
|
420
418
|
- original_svg_images/PayPal_logo.svg
|
421
419
|
- original_svg_images/Visa_2014_logo_detail.svg
|
@@ -448,7 +446,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
448
446
|
version: '0'
|
449
447
|
segments:
|
450
448
|
- 0
|
451
|
-
hash:
|
449
|
+
hash: -800930705963854893
|
452
450
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
453
451
|
none: false
|
454
452
|
requirements:
|
@@ -457,7 +455,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
457
455
|
version: '0'
|
458
456
|
segments:
|
459
457
|
- 0
|
460
|
-
hash:
|
458
|
+
hash: -800930705963854893
|
461
459
|
requirements: []
|
462
460
|
rubyforge_project: smock
|
463
461
|
rubygems_version: 1.8.21
|
data/app/assets/smock.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
function setupAccordion() {
|
2
|
-
var accordions = document.querySelectorAll('.accordion');
|
3
|
-
for(var i = 0; i < accordions.length; i++)
|
4
|
-
{
|
5
|
-
accordions[i].onclick = function(e) {
|
6
|
-
if (e.toElement.type == 'checkbox') { return; }
|
7
|
-
|
8
|
-
var accordionContent = this.parentElement.querySelector('.accordion__content');
|
9
|
-
if (accordionContent != null) {
|
10
|
-
if (getComputedStyle(accordionContent).display == "none") {
|
11
|
-
accordionContent.style.display = "block";
|
12
|
-
} else {
|
13
|
-
accordionContent.style.display = "none";
|
14
|
-
}
|
15
|
-
}
|
16
|
-
};
|
17
|
-
}
|
18
|
-
}
|
data/npm-debug.log
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
0 info it worked if it ends with ok
|
2
|
-
1 verbose cli [ 'node', '/usr/local/bin/npm', 'start' ]
|
3
|
-
2 info using npm@1.4.15
|
4
|
-
3 info using node@v0.10.26
|
5
|
-
4 verbose node symlink /usr/local/bin/node
|
6
|
-
5 error Error: ENOENT, open '/Users/nigel/EnvatoStudios/code/smock/package.json'
|
7
|
-
6 error If you need help, you may report this *entire* log,
|
8
|
-
6 error including the npm and node versions, at:
|
9
|
-
6 error <http://github.com/npm/npm/issues>
|
10
|
-
7 error System Darwin 13.4.0
|
11
|
-
8 error command "node" "/usr/local/bin/npm" "start"
|
12
|
-
9 error cwd /Users/nigel/EnvatoStudios/code/smock
|
13
|
-
10 error node -v v0.10.26
|
14
|
-
11 error npm -v 1.4.15
|
15
|
-
12 error path /Users/nigel/EnvatoStudios/code/smock/package.json
|
16
|
-
13 error code ENOENT
|
17
|
-
14 error errno 34
|
18
|
-
15 verbose exit [ 34, true ]
|