wbzyl-sinatra-math 0.0.4 → 0.0.5

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/README.markdown CHANGED
@@ -176,3 +176,8 @@ TODO
176
176
  ### Mounting apps which include Datamapper, ActiveRecord..
177
177
 
178
178
  TODO
179
+
180
+ ## Additional sources
181
+
182
+ Sqrt2 uses background image from
183
+ [2dCODE-R-past.com & find legitimate facts and clues towards…](http://www.2dcode-r-past.com/)
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 4
2
+ :patch: 5
3
3
  :major: 0
4
4
  :minor: 0
data/config.rb CHANGED
@@ -5,9 +5,9 @@ module Sinatra
5
5
  class Pi < Sinatra::Base
6
6
  set :logging, true
7
7
  end
8
- # see sinatra-math.rb
8
+
9
9
  class Sqrt2 < Sinatra::Base
10
- set :app_file, "/usr/lib/ruby/gems/1.8/gems/sinatra-math-0.0.4/lib"
10
+ set :logging, true
11
11
  end
12
12
  end
13
13
 
@@ -1,7 +1,7 @@
1
1
  html {
2
2
  margin: 0;
3
3
  padding: 0;
4
- background: white url(src/background.png);
4
+ background: #888 url(src/sqrt2.png);
5
5
  }
6
6
 
7
7
  body {
@@ -3,14 +3,14 @@
3
3
  <head>
4
4
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
5
5
 
6
+ <%= stylesheet_link_tag "/stylesheets/app.css" %>
7
+
6
8
  <!-- does not work
7
9
 
8
- <link charset="utf-8" href="/stylesheets/aapp.css" media="screen" rel="stylesheet" type="text/css">
10
+ <link charset="utf-8" href="/stylesheets/app.css" media="screen" rel="stylesheet" type="text/css">
9
11
 
10
12
  -->
11
13
 
12
- <%= stylesheet_link_tag "/stylesheets/app.css" %>
13
-
14
14
  <title><%= @title %></title>
15
15
  </head>
16
16
 
data/sinatra-math.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{sinatra-math}
5
- s.version = "0.0.4"
5
+ s.version = "0.0.5"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Wlodek Bzyl"]
@@ -36,7 +36,7 @@ These applications can be used to play with:
36
36
  "examples/rapp.ru",
37
37
  "examples/sqrt2.ru",
38
38
  "lib/public/stylesheets/app.css",
39
- "lib/public/stylesheets/src/background.png",
39
+ "lib/public/stylesheets/src/sqrt2.png",
40
40
  "lib/sinatra-math.rb",
41
41
  "lib/sinatra-math/euler.rb",
42
42
  "lib/sinatra-math/phi.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wbzyl-sinatra-math
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wlodek Bzyl
@@ -67,7 +67,7 @@ files:
67
67
  - examples/rapp.ru
68
68
  - examples/sqrt2.ru
69
69
  - lib/public/stylesheets/app.css
70
- - lib/public/stylesheets/src/background.png
70
+ - lib/public/stylesheets/src/sqrt2.png
71
71
  - lib/sinatra-math.rb
72
72
  - lib/sinatra-math/euler.rb
73
73
  - lib/sinatra-math/phi.rb