smock 0.1.19 → 0.1.20
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 +21 -3
- data/examples/blackbox.html +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
@@ -6,7 +6,12 @@ require "smock/version"
|
|
6
6
|
|
7
7
|
Bundler::GemHelper.install_tasks
|
8
8
|
|
9
|
-
desc "
|
9
|
+
desc "clean up"
|
10
|
+
task :clean do
|
11
|
+
sh "rm -rf tmp versions"
|
12
|
+
end
|
13
|
+
|
14
|
+
desc "test stuff"
|
10
15
|
task :test do
|
11
16
|
FileUtils.mkdir_p "./tmp/"
|
12
17
|
sh "bundle exec sass -l ./app/assets/stylesheets/smock.sass tmp/output.css"
|
@@ -14,6 +19,19 @@ end
|
|
14
19
|
|
15
20
|
desc "build a version of smock ready for deploy"
|
16
21
|
task :build_version do
|
17
|
-
|
18
|
-
|
22
|
+
|
23
|
+
target = "./versions/#{Smock::VERSION}"
|
24
|
+
FileUtils.mkdir_p target
|
25
|
+
sh "bundle exec sass ./app/assets/stylesheets/smock.sass #{target}/smock.css"
|
26
|
+
sh "cp -R ./examples #{target}/"
|
27
|
+
|
28
|
+
latest = "./versions/latest"
|
29
|
+
FileUtils.mkdir_p latest
|
30
|
+
|
31
|
+
sh "cp -R #{target}/ #{latest}/"
|
32
|
+
end
|
33
|
+
|
34
|
+
desc "run a local server on 9090"
|
35
|
+
task :run => [:clean, :build_version] do
|
36
|
+
sh "ruby -run -e httpd ./versions/latest -p 9090"
|
19
37
|
end
|
data/examples/blackbox.html
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
<meta name="description" content="">
|
13
13
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
14
14
|
|
15
|
-
<link rel="stylesheet" href="
|
15
|
+
<link rel="stylesheet" href="../smock.css" />
|
16
16
|
</head>
|
17
17
|
|
18
18
|
<body ng-app="blackBoxApp" ng-controller="WordpressThemeInstallationController">
|
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.20
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -271,7 +271,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
271
271
|
version: '0'
|
272
272
|
segments:
|
273
273
|
- 0
|
274
|
-
hash: -
|
274
|
+
hash: -4520120617110216065
|
275
275
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
276
276
|
none: false
|
277
277
|
requirements:
|
@@ -280,7 +280,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
280
280
|
version: '0'
|
281
281
|
segments:
|
282
282
|
- 0
|
283
|
-
hash: -
|
283
|
+
hash: -4520120617110216065
|
284
284
|
requirements: []
|
285
285
|
rubyforge_project: smock
|
286
286
|
rubygems_version: 1.8.21
|