ace-client 0.0.10 → 0.0.11

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.
Files changed (4) hide show
  1. data/Rakefile +12 -0
  2. data/VERSION +1 -1
  3. data/lib/ace-client/base.rb +1 -0
  4. metadata +3 -3
data/Rakefile CHANGED
@@ -47,3 +47,15 @@ Rake::RDocTask.new do |rdoc|
47
47
  rdoc.rdoc_files.include('README*')
48
48
  rdoc.rdoc_files.include('lib/**/*.rb')
49
49
  end
50
+
51
+ desc 'vup'
52
+ task :vup do
53
+ version = ENV['VERSION']
54
+ File.write('VERSION', "#{version}\n")
55
+ system "git add VERSION"
56
+ system "git commit -m 'version up to #{version}'"
57
+ system "git push origin master"
58
+ system "git push --tags"
59
+ system "rake build"
60
+ system "gem push pkg/ace-client-#{version}.gem"
61
+ end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.10
1
+ 0.0.11
@@ -42,6 +42,7 @@ module AceClient
42
42
  self.class.debug_output($stderr)
43
43
  end
44
44
  end
45
+ self.class.format (options[:response_format] || ENV['ACE_RESPONSE_FORMAT'] || 'xml').to_sym
45
46
  @version = options[:version]
46
47
  @path = options[:path] || '/'
47
48
  @user_agent = options[:user_agent]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ace-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-10-27 00:00:00.000000000 Z
12
+ date: 2014-11-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
@@ -160,7 +160,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
160
160
  version: '0'
161
161
  segments:
162
162
  - 0
163
- hash: 175285762980958067
163
+ hash: -2300153012140107396
164
164
  required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  none: false
166
166
  requirements: