bigcommerce 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,10 +1,12 @@
1
1
 
2
+ require 'lib/bigcommerce'
3
+
2
4
  task :build do
3
5
  sh "gem build bigcommerce.gemspec"
4
6
  end
5
7
 
6
8
  task :publish => :build do
7
- sh "gem push bigcommerce"
9
+ sh "gem push bigcommerce-#{BigCommerce::VERSION}.gem"
8
10
  end
9
11
 
10
12
  task :clean do
@@ -1,8 +1,10 @@
1
1
 
2
+ require 'lib/bigcommerce'
3
+
2
4
  Gem::Specification.new do |s|
3
5
  s.name = "bigcommerce"
4
- s.version = "0.0.3"
5
- s.date = "2011-10-14"
6
+ s.version = BigCommerce::VERSION
7
+ s.date = Time.now.strftime("%Y-%m-%d")
6
8
  s.summary = "Enables Ruby applications to communicate with the BigCommerce API"
7
9
  s.email = "dev-accounts@bigcommerce.com"
8
10
  s.homepage = "http://github.com/bigcommerce/bigcommerce-api-ruby"
@@ -5,6 +5,9 @@ require "net/https"
5
5
  require "rubygems"
6
6
  require "json"
7
7
 
8
- require File.join(File.dirname(__FILE__), 'bigcommerce', 'version')
9
8
  require File.join(File.dirname(__FILE__), 'bigcommerce', 'api')
10
- require File.join(File.dirname(__FILE__), 'bigcommerce', 'connection')
9
+ require File.join(File.dirname(__FILE__), 'bigcommerce', 'connection')
10
+
11
+ module BigCommerce
12
+ VERSION = "0.0.4"
13
+ end
@@ -58,6 +58,14 @@ module BigCommerce
58
58
  def get_count(result)
59
59
  result["count"]
60
60
  end
61
+
62
+ def get_resource(result)
63
+
64
+ end
65
+
66
+ def get_collection(result)
67
+
68
+ end
61
69
 
62
70
  end
63
71
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bigcommerce
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - BigCommerce
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-10-14 00:00:00 Z
18
+ date: 2011-10-15 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: json
@@ -46,7 +46,6 @@ files:
46
46
  - bigcommerce.gemspec
47
47
  - lib/bigcommerce/api.rb
48
48
  - lib/bigcommerce/connection.rb
49
- - lib/bigcommerce/version.rb
50
49
  - lib/bigcommerce.rb
51
50
  homepage: http://github.com/bigcommerce/bigcommerce-api-ruby
52
51
  licenses: []
@@ -1,3 +0,0 @@
1
- module Bigcommerce
2
- VERSION = "0.0.2"
3
- end