Permalink
Browse files

need SCRAPERWIKI_USERNAME env, and add files for bundler

  • Loading branch information...
1 parent b9cc252 commit fa40fe1892ea50e2030b6f687c03195745b7c1f7 @tobynet committed Dec 24, 2011
Showing with 20 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +2 −0 Gemfile
  3. +14 −0 Gemfile.lock
  4. +3 −1 backup_scraperwiki.rb
View
@@ -0,0 +1 @@
+.idea
View
@@ -0,0 +1,2 @@
+source :rubygems
+gem "grit", "~> 2.4.1"
View
@@ -0,0 +1,14 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ diff-lcs (1.1.3)
+ grit (2.4.1)
+ diff-lcs (~> 1.1)
+ mime-types (~> 1.15)
+ mime-types (1.17.2)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ grit (~> 2.4.1)
View
@@ -1,10 +1,12 @@
#! /usr/bin/env ruby
+# -*- encoding: utf-8 -*-
+
require 'rubygems'
require 'json'
require 'open-uri'
require 'grit'
-username = 'henare'
+username = ENV['SCRAPERWIKI_USERNAME'] || raise("SCRAPERWIKI_USERNAME not defined!!!! pls, define it.")
repository = File.dirname(__FILE__)

0 comments on commit fa40fe1

Please sign in to comment.