Browse Source

Minor fixes

remotes/origin/live
Pjotr Prins 8 months ago
parent
commit
a6b78d0c8c
4 changed files with 3 additions and 8 deletions
  1. +1
    -0
      .gitignore
  2. +1
    -0
      bin/fetch-geminfo.rb
  3. +1
    -6
      source/_header.haml
  4. +0
    -2
      source/stylesheets/bioruby.css.sass

+ 1
- 0
.gitignore View File

@@ -1,4 +1,5 @@
Gemfile.lock
.bundle
pkg/
contrib/
*.swp


+ 1
- 0
bin/fetch-geminfo.rb View File

@@ -27,6 +27,7 @@ def get_downloads90 name, versions
version_numbers = versions.map { |ver| ver['number'] }
total = 0
is_new = true
return total,is_new
version_numbers.each_with_index do |version,i|
url="https://rubygems.org/api/v1/versions/#{name}-#{version}/downloads.yaml"
text = Http::get_https_body(url)


+ 1
- 6
source/_header.haml View File

@@ -4,6 +4,7 @@
%div
.maintitle
= link_to "Biogems.info", "/"
(since 2011)
%div{ :style => "background-color: #" + "%06x" % (rand * 0xffffff) }
 
%div
@@ -23,12 +24,6 @@
- else
= link_to "Rubygems", "/rubygems.html"
|
- if current_page == '/biolinux.html'
%span{ :style => "background-color: #550009" }
= link_to " BioLinux ", "/biolinux.html"
- else
= link_to "BioLinux", "/biolinux.html"
|
- if current_page == '/usersmap.html'
%span{ :style => "background-color: #550009" }
= link_to " People ", "/usersmap.html"


+ 0
- 2
source/stylesheets/bioruby.css.sass View File

@@ -65,11 +65,9 @@ body


.section
/* border: 1px dotted #eeeeee; */
margin-top: 2px
margin-right: 2px


.section_img
border: none



Loading…
Cancel
Save