transifex-ruby 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed8eea4b0e320611fb6b72e808a2b222d2fb2bb5
4
- data.tar.gz: e5fc773fee8dcee8d8b1d219f2bf48dedcfde746
3
+ metadata.gz: 6bc14b07e678fd83bd087be5b23d325c8fb449d4
4
+ data.tar.gz: dd541d4798d1431685a89d4505d386eace3c9f0b
5
5
  SHA512:
6
- metadata.gz: 2ede60f493498e5c7299509679b207142cba1de9bf90f6d3cf3052d5f13ddac4cea0951cbd468e4962a97b9e1c4ce855a231ec1a9a9a2fded776ab9566e524b9
7
- data.tar.gz: 7d7fd79650159b30d190b4d46af721adc53ee84880cb6fe13b67616905bb372446450dcef6caf6415666432dce1c3463e751103d6a332eda960d7d07a268ea98
6
+ metadata.gz: 237a03513041bbfa05953114b0b56fd1f422e1569ea1042f59f2464a8181eecba34bbd76baf8b3e0af5347d35e0117dbad402fb2bdfd59b740459623c2ad70fb
7
+ data.tar.gz: 22d509583b815e2bfd81072f2dc4e41dac324887ed7ef5b9f6120300b1a9d8b8239a33c5f5efa2fa60ed38eaf94cc64e29c526a7456f9cb34be25d5b5469e541
@@ -1,3 +1,3 @@
1
1
  module Transifex
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
@@ -14,7 +14,7 @@ describe Transifex::Client do
14
14
  end
15
15
 
16
16
  it 'returns an array of Project objects' do
17
- subject.each {|p| p.should be_a Transifex::Project }
17
+ subject.each {|p| expect(p).to be_a Transifex::Project }
18
18
  end
19
19
  end
20
20
 
@@ -44,7 +44,7 @@ describe Transifex::Client do
44
44
  end
45
45
 
46
46
  it 'returns an array of Resource objects' do
47
- subject.each {|p| p.should be_a Transifex::Resource }
47
+ subject.each {|p| expect(p).to be_a Transifex::Resource }
48
48
  end
49
49
  end
50
50
 
@@ -60,7 +60,7 @@ describe Transifex::Client do
60
60
  end
61
61
 
62
62
  it 'returns an Resource object' do
63
- subject.should be_a Transifex::Resource
63
+ expect(subject).to be_a Transifex::Resource
64
64
  end
65
65
 
66
66
  describe '#stats' do
@@ -76,7 +76,7 @@ describe Transifex::Client do
76
76
  end
77
77
 
78
78
  it 'returns an Stats object' do
79
- subject.should be_a Transifex::Stats
79
+ expect(subject).to be_a Transifex::Stats
80
80
  end
81
81
  end
82
82
  end
@@ -92,7 +92,7 @@ describe Transifex::Client do
92
92
  end
93
93
 
94
94
  it 'returns an array of Language objects' do
95
- subject.each {|p| p.should be_a Transifex::Language }
95
+ subject.each {|p| expect(p).to be_a Transifex::Language }
96
96
  end
97
97
  end
98
98
 
@@ -21,8 +21,8 @@ describe Transifex::Error do
21
21
  expect {
22
22
  client.project('xyz')
23
23
  }.to raise_error(exception) { |e|
24
- e.should be_a_kind_of(Transifex::Error)
25
- e.should respond_to(:response)
24
+ expect(e).to be_a_kind_of(Transifex::Error)
25
+ expect(e).to respond_to(:response)
26
26
  }
27
27
  end
28
28
  end
@@ -19,13 +19,13 @@ Gem::Specification.new do |s|
19
19
  s.authors = ['Toru Maesaka', 'Jason Barnabe']
20
20
  s.email = ['toru@tmaesaka.com', 'jason.barnabe@gmail.com']
21
21
 
22
- s.add_dependency 'faraday', '~> 0.8.0'
22
+ s.add_dependency 'faraday', '>= 0.8.0'
23
23
  s.add_dependency 'faraday_middleware', '~> 0.9.0'
24
- s.add_dependency 'hashie', '~> 1.2.0'
24
+ s.add_dependency 'hashie', '>= 1.2.0'
25
25
 
26
26
  s.add_development_dependency 'bundler', '~> 1.3'
27
27
  s.add_development_dependency 'rake'
28
- s.add_development_dependency 'rspec'
28
+ s.add_development_dependency 'rspec', '~> 3.5'
29
29
  s.add_development_dependency 'guard-rspec'
30
30
  s.add_development_dependency 'webmock'
31
31
  s.add_development_dependency 'pry'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transifex-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toru Maesaka
@@ -9,20 +9,20 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-02-27 00:00:00.000000000 Z
12
+ date: 2016-12-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: 0.8.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - "~>"
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: 0.8.0
28
28
  - !ruby/object:Gem::Dependency
@@ -43,14 +43,14 @@ dependencies:
43
43
  name: hashie
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - "~>"
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
48
  version: 1.2.0
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - "~>"
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: 1.2.0
56
56
  - !ruby/object:Gem::Dependency
@@ -85,16 +85,16 @@ dependencies:
85
85
  name: rspec
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - ">="
88
+ - - "~>"
89
89
  - !ruby/object:Gem::Version
90
- version: '0'
90
+ version: '3.5'
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - ">="
95
+ - - "~>"
96
96
  - !ruby/object:Gem::Version
97
- version: '0'
97
+ version: '3.5'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: guard-rspec
100
100
  requirement: !ruby/object:Gem::Requirement
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
192
  version: '0'
193
193
  requirements: []
194
194
  rubyforge_project:
195
- rubygems_version: 2.4.2
195
+ rubygems_version: 2.6.8
196
196
  signing_key:
197
197
  specification_version: 4
198
198
  summary: Ruby client library for Transifex API