twurl 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,11 +1,16 @@
1
1
  bundler_args: --without development
2
2
  language: ruby
3
3
  rvm:
4
- - rbx-18mode
5
- - rbx-19mode
6
- - jruby-18mode
7
- - jruby-19mode
8
4
  - 1.8.7
9
5
  - 1.9.2
10
6
  - 1.9.3
11
7
  - 2.0.0
8
+ - jruby-head
9
+ - rbx
10
+ - ruby-head
11
+ matrix:
12
+ allow_failures:
13
+ - rvm: jruby-head
14
+ - rvm: rbx
15
+ - rvm: ruby-head
16
+ fast_finish: true
data/Gemfile CHANGED
@@ -5,9 +5,16 @@ gem 'rake'
5
5
 
6
6
  group :test do
7
7
  gem 'coveralls', :require => false
8
+ gem 'mime-types', '~> 1.25', :platforms => :ruby_18
8
9
  gem 'minitest', '>= 5'
9
10
  gem 'rr', '>= 1.1'
10
11
  gem 'simplecov', :require => false
11
12
  end
12
13
 
14
+ platforms :rbx do
15
+ gem 'rubinius-coverage', '~> 2.0'
16
+ gem 'rubysl-base64', '~> 2.0'
17
+ gem 'rubysl-net-http', '~> 2.0'
18
+ end
19
+
13
20
  gemspec
@@ -35,7 +35,7 @@ module Twurl
35
35
  end
36
36
 
37
37
  def save
38
- File.open(self.class.file_path, File::RDWR|File::CREAT, 0600) do |rcfile|
38
+ File.open(self.class.file_path, File::RDWR|File::CREAT|File::TRUNC, 0600) do |rcfile|
39
39
  rcfile.write data.to_yaml
40
40
  end
41
41
  end
@@ -2,7 +2,7 @@ module Twurl
2
2
  class Version
3
3
  MAJOR = 0 unless defined? Twurl::Version::MAJOR
4
4
  MINOR = 9 unless defined? Twurl::Version::MINOR
5
- PATCH = 0 unless defined? Twurl::Version::PATCH
5
+ PATCH = 1 unless defined? Twurl::Version::PATCH
6
6
  BETA = nil unless defined? Twurl::Version::BETA # Time.now.to_i.to_s
7
7
 
8
8
  class << self
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twurl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-10-21 00:00:00.000000000 Z
13
+ date: 2013-12-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: oauth