piplapis-ruby 4.0.1 → 4.0.2

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.
data/README.md CHANGED
@@ -1,38 +1,25 @@
1
- piplapis Ruby Library
1
+ Pipl API Ruby Library
2
2
  ===========================
3
3
 
4
- This is a Ruby client library for easily integrating Pipl's APIs into your application.
4
+ This is the official Ruby client library for easily integrating Pipl's APIs into your application.
5
5
 
6
- * Full details about Pipl's APIs - [http://dev.pipl.com](http://dev.pipl.com)
7
- * This library is available in other languages - [http://dev.pipl.com/docs/libraries](http://dev.pipl.com/docs/libraries)
6
+ * Full details about Pipl's API - [https://pipl.com/dev/](https://pipl.com/dev/)
7
+ * This library is available in other languages - [https://pipl.com/dev/guide/code_libraries](https://pipl.com/dev/guide/code_libraries)
8
8
 
9
9
  Library Requirements
10
10
  --------------------
11
11
 
12
12
  * Ruby 1.9 and above.
13
13
 
14
- Library Notes
15
- -------------
16
-
17
- * According to the [documentation](http://dev.pipl.com/docs/read/search_api/data#fields-objects) some field objects should have a `.display` attribute,
18
- since this is reserved in Ruby this attribute was renamed to `.show`.
19
-
20
14
  Getting Started & Code Snippets
21
15
  -------------------------------
22
16
 
23
17
  **Pipl's Search API**
24
- * Getting started tutorial - [http://dev.pipl.com/docs/search_api/getstarted](http://dev.pipl.com/docs/search_api/getstarted)
25
- * Code snippets - [http://dev.pipl.com/docs/search_api/code](http://dev.pipl.com/docs/search_api/code)
26
-
27
- **Pipl's Name API**
28
- * Getting started tutorial - [http://dev.pipl.com/docs/name_api/getstarted](http://dev.pipl.com/docs/name_api/getstarted)
29
- * Code snippets - [http://dev.pipl.com/docs/name_api/code](http://dev.pipl.com/docs/name_api/code)
18
+ * Code snippets - [https://pipl.com/dev/guide/code_snippets](https://pipl.com/dev/guide/code_snippets)
19
+ * Full reference - [https://pipl.com/dev/reference/](https://pipl.com/dev/reference/)
30
20
 
31
- **Pipl's Thumbnail API**
32
- * Getting started tutorial - [http://dev.pipl.com/docs/thumbnail_api/getstarted](http://dev.pipl.com/docs/thumbnail_api/getstarted)
33
- * Code snippets - [http://dev.pipl.com/docs/thumbnail_api/code](http://dev.pipl.com/docs/thumbnail_api/code)
34
21
 
35
22
  Credits
36
23
  -------
37
24
 
38
- Thanks to [srochy](https://github.com/srochy) for writing this library!
25
+ Thanks to [srochy](https://github.com/srochy) for writing the first version this library!
@@ -20,11 +20,11 @@ module Pipl
20
20
  end
21
21
 
22
22
  def alpha_chars(s)
23
- s.gsub(/^[\p{Alpha}]/, '')
23
+ s.gsub(/[^\p{Alpha}]/, '')
24
24
  end
25
25
 
26
26
  def alnum_chars(s)
27
- s.gsub(/^[\p{Alnum}]/, '')
27
+ s.gsub(/[^\p{Alnum}]/, '')
28
28
  end
29
29
 
30
30
  def titleize(s)
@@ -1,3 +1,3 @@
1
1
  module Pipl
2
- VERSION = '4.0.1'.freeze
2
+ VERSION = '4.0.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: piplapis-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.2
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: 2015-05-06 00:00:00.000000000 Z
12
+ date: 2015-08-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -38,16 +38,16 @@ files:
38
38
  - LICENSE
39
39
  - README.md
40
40
  - pipl.gemspec
41
- - lib/pipl/response.rb
42
41
  - lib/pipl/consts.rb
43
- - lib/pipl/version.rb
44
- - lib/pipl/fields.rb
45
42
  - lib/pipl/utils.rb
46
- - lib/pipl/configurable.rb
47
- - lib/pipl/client.rb
48
43
  - lib/pipl/default.rb
49
- - lib/pipl/errors.rb
44
+ - lib/pipl/fields.rb
45
+ - lib/pipl/response.rb
46
+ - lib/pipl/client.rb
50
47
  - lib/pipl/containers.rb
48
+ - lib/pipl/version.rb
49
+ - lib/pipl/errors.rb
50
+ - lib/pipl/configurable.rb
51
51
  - lib/pipl.rb
52
52
  homepage: https://github.com/piplcom/piplapis-ruby
53
53
  licenses: