Permalink
Browse files

first commit

  • Loading branch information...
0 parents commit f69882705ba1ba6831299d5d440e5befb8dca4ff @fluke777 committed Jun 21, 2011
Showing with 62 additions and 0 deletions.
  1. +2 −0 Gemfile
  2. +47 −0 Gemfile.lock
  3. 0 README
  4. +13 −0 upload.rb
@@ -0,0 +1,2 @@
+gem 'variable_uploader', :path => '../variable_uploader'
+gem 'gooddata', :path => '../gooddata-ruby'
@@ -0,0 +1,47 @@
+PATH
+ remote: ../gooddata-ruby
+ specs:
+ gooddata (0.2.0)
+ fastercsv
+ gooddata
+ json
+ json_pure
+ parseconfig
+ rest-client
+ rubyzip
+
+PATH
+ remote: ../variable_uploader
+ specs:
+ variable_uploader (0.0.1)
+ fastercsv
+ rake
+ rspec
+
+GEM
+ specs:
+ diff-lcs (1.1.2)
+ fastercsv (1.5.4)
+ json (1.5.1)
+ json_pure (1.5.1)
+ mime-types (1.16)
+ parseconfig (0.5.2)
+ rake (0.8.7)
+ rest-client (1.6.3)
+ mime-types (>= 1.16)
+ rspec (2.6.0)
+ rspec-core (~> 2.6.0)
+ rspec-expectations (~> 2.6.0)
+ rspec-mocks (~> 2.6.0)
+ rspec-core (2.6.4)
+ rspec-expectations (2.6.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.6.0)
+ rubyzip (0.9.4)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ gooddata!
+ variable_uploader!
0 README
No changes.
@@ -0,0 +1,13 @@
+require 'rubygems'
+require 'bundler/setup'
+require 'variable_uploader'
+
+include GoodData::VariableUploader::DSL
+
+Project.update :login => 'login', :pass => 'pass', :pid => 'pid' do
+ upload({
+ :file => 'values/values.txt',
+ :variable => '/gdc/md/PID/obj/ID',
+ :label =>"/gdc/md/PID/obj/ID"
+ })
+end

0 comments on commit f698827

Please sign in to comment.