deepl-rb 1.0.0 → 1.0.1

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: a1c91abf5249e9f0e384d543ed2d849adf9b3942
4
- data.tar.gz: edd33d6c73e38b9b83372d8acbdd66bab5af0a74
3
+ metadata.gz: 37163389ddd5655c4c9f1d1e60e0d414e3c35420
4
+ data.tar.gz: 881b3877774bc62cf3f42900c72d336c7b32583d
5
5
  SHA512:
6
- metadata.gz: 5b549cc903c25708d605dc149136ff35d6cbd6b200d4e4c7e66773918fb4b291bf84e729fa9909de5ef32781c368ec6f04268bb21d1b585f8d37eeec5ca1745e
7
- data.tar.gz: bd6317763f346f308aa7e0f1eb11f1fced3352ec1ea64e1cb323170e60f56601e0b2c5a00ce491afac7f4397550fbc6324bd203b07d4bc1a8728598a9cc4ac5d
6
+ metadata.gz: d63335bb2ec23d724e77dba606844c711afbc798afe8c7a64f12a420e14561c33c555f36716f7d3537f8f234bed064d8d72aa659837a99b442952186813718cb
7
+ data.tar.gz: 944992d82a26e096f4389cbc50dd076c80b7d6c58113c84401539e20b8620dcac21ac362730fb3a3b862d97658b70e565911f69fc3c13e2b1f6b26580cb697b7
File without changes
File without changes
data/Gemfile CHANGED
File without changes
File without changes
data/LICENSE.md CHANGED
File without changes
data/README.md CHANGED
@@ -16,7 +16,7 @@ gem install deepl-rb
16
16
  Or add it to your Gemfile:
17
17
 
18
18
  ```rb
19
- gem 'deepl-rb'
19
+ gem 'deepl-rb', require: 'deepl'
20
20
  ```
21
21
 
22
22
  ## Usage
@@ -93,11 +93,10 @@ Here's a list of available language codes:
93
93
  You can also use custom query parameters, like `tag_handling`:
94
94
 
95
95
  ```rb
96
- texts = ['Sample text',¡]
97
96
  translation = DeepL.translate '<p>A sample</p>', 'EN', 'ES', tag_handling: true
98
97
 
99
98
  puts translation.text
100
- # => ""
99
+ # => "<p>Una muestra</p>"
101
100
  ```
102
101
 
103
102
  ### Handle exceptions
data/Rakefile CHANGED
File without changes
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -2,18 +2,18 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: deepl-rb 1.0.0 ruby lib
5
+ # stub: deepl-rb 1.0.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
- s.name = "deepl-rb"
9
- s.version = "1.0.0"
8
+ s.name = "deepl-rb".freeze
9
+ s.version = "1.0.1"
10
10
 
11
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
- s.require_paths = ["lib"]
13
- s.authors = ["Daniel Herzog"]
14
- s.date = "2018-01-04"
15
- s.description = "A simple ruby wrapper for the DeepL translation API (v1). For more information, check this: https://www.deepl.com/docs/api-reference.html"
16
- s.email = "info@danielherzog.es"
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib".freeze]
13
+ s.authors = ["Daniel Herzog".freeze]
14
+ s.date = "2018-03-31"
15
+ s.description = "A simple ruby wrapper for the DeepL translation API (v1). For more information, check this: https://www.deepl.com/docs/api-reference.html".freeze
16
+ s.email = "info@danielherzog.es".freeze
17
17
  s.extra_rdoc_files = [
18
18
  "LICENSE.md",
19
19
  "README.md"
@@ -49,21 +49,21 @@ Gem::Specification.new do |s|
49
49
  "spec/resources/text_spec.rb",
50
50
  "spec/spec_helper.rb"
51
51
  ]
52
- s.homepage = "http://github.com/wikiti/deepl-rb"
53
- s.licenses = ["MIT"]
54
- s.rubygems_version = "2.2.2"
55
- s.summary = "A simple ruby wrapper for the DeepL API"
52
+ s.homepage = "http://github.com/wikiti/deepl-rb".freeze
53
+ s.licenses = ["MIT".freeze]
54
+ s.rubygems_version = "2.6.13".freeze
55
+ s.summary = "A simple ruby wrapper for the DeepL API".freeze
56
56
 
57
57
  if s.respond_to? :specification_version then
58
58
  s.specification_version = 4
59
59
 
60
60
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
61
- s.add_development_dependency(%q<juwelier>, [">= 0"])
61
+ s.add_development_dependency(%q<juwelier>.freeze, [">= 0"])
62
62
  else
63
- s.add_dependency(%q<juwelier>, [">= 0"])
63
+ s.add_dependency(%q<juwelier>.freeze, [">= 0"])
64
64
  end
65
65
  else
66
- s.add_dependency(%q<juwelier>, [">= 0"])
66
+ s.add_dependency(%q<juwelier>.freeze, [">= 0"])
67
67
  end
68
68
  end
69
69
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deepl-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Herzog
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-04 00:00:00.000000000 Z
11
+ date: 2018-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: juwelier
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  version: '0'
83
83
  requirements: []
84
84
  rubyforge_project:
85
- rubygems_version: 2.2.2
85
+ rubygems_version: 2.6.13
86
86
  signing_key:
87
87
  specification_version: 4
88
88
  summary: A simple ruby wrapper for the DeepL API