meaning_cloud 1.0.0 → 1.0.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 34f1f48e75b3338341481f5331a42f4390e5b53de5c379112ab7d386549f6e1c
4
- data.tar.gz: b7194c9db2f800b1afa1eff73309f46c3a4b08d90f783546561a2aa3782a5048
3
+ metadata.gz: a3ea7a6e27cfe533942a18a70a4f903ed3171b10dd670a0264654516487fb815
4
+ data.tar.gz: 7afadd069de27b1ba6c050d756727567a01ffdfb25fc0b862780792e7433049b
5
5
  SHA512:
6
- metadata.gz: bf604d7c2955c0007ad4290afedbd3b92890fa031647da1e69541865da6937e6692aab8e60ab8ff6f4c8605c51b02057434672ca1aba625897d76de8f0adbc06
7
- data.tar.gz: d4cf84389273b45bc40a232063ea647a4406c391576340b9cca54d71d7297c73200a6e4583fd858245966287156a332a66ee9fcbd9d0715c879c65f7f5307a16
6
+ metadata.gz: 2ebc04795daafc39f7f37f466ef1a664741c4d9f988facee95c751de7326ad710958816fdd205bfd8d8b87dca18b85f64276649756ce8f4fa7ba334eb887e875
7
+ data.tar.gz: 706003891248b3568928b43eec29e763a27b43a2199e744c9b4fd2f55f25bc78d084f3e88babff2b7ff8cd4fc0ff8883abfdfef182abc3d90b2135dab961d912
data/.gitignore CHANGED
@@ -9,3 +9,5 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+
13
+ Gemfile.lock
@@ -0,0 +1,9 @@
1
+ # CHANGELOG
2
+
3
+ ## Unreleased
4
+
5
+ - Add suport for user_dictionary parameter. [Pr#1](https://github.com/WaKeMaTTa/meaning_cloud/pull/1)
6
+
7
+ ## 1.0.0
8
+
9
+ - First release
data/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  Meaning Cloud Ruby API Wrapper
4
4
 
5
5
  [![Build Status](https://travis-ci.org/WaKeMaTTa/meaning_cloud.svg?branch=master)](https://travis-ci.org/WaKeMaTTa/meaning_cloud)
6
+ [![Maintainability](https://api.codeclimate.com/v1/badges/259a7a056d212cf3e27d/maintainability)](https://codeclimate.com/github/WaKeMaTTa/meaning_cloud/maintainability)
6
7
 
7
8
  This gem is a ruby API wrapper for [Meaning Cloud](https://www.meaningcloud.com/) [API's](https://www.meaningcloud.com/developer/getting-started).
8
9
 
@@ -17,13 +17,14 @@ module MeaningCloud
17
17
 
18
18
  # Main configuration class.
19
19
  class Configuration
20
- attr_accessor :key, :language, :topic_types, :api_base
20
+ attr_accessor :key, :language, :topic_types, :api_base, :user_dictionary
21
21
 
22
22
  def initialize
23
23
  @key = nil
24
24
  @language = :en
25
25
  @topic_types = 'ec'
26
26
  @api_base = 'https://api.meaningcloud.com/topics-2.0'
27
+ @user_dictionary = nil
27
28
  end
28
29
  end
29
30
  end
@@ -20,6 +20,7 @@ module MeaningCloud
20
20
  key: configuration.key,
21
21
  lang: configuration.language,
22
22
  tt: configuration.topic_types,
23
+ ud: configuration.user_dictionary,
23
24
  uw: 'y'
24
25
  }.merge(options)
25
26
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MeaningCloud
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meaning_cloud
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
  - Nadav Shatz
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-10-03 00:00:00.000000000 Z
12
+ date: 2018-10-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
@@ -92,6 +92,7 @@ files:
92
92
  - ".gitignore"
93
93
  - ".rspec"
94
94
  - ".travis.yml"
95
+ - CHANGELOG.md
95
96
  - CODE_OF_CONDUCT.md
96
97
  - Gemfile
97
98
  - LICENSE.txt