Sha256: b3b51b7a585bab87dc424fd0d9ecda6d9a02a389fda4105e483ae245c21c4d53

Contents?: true

Size: 1.16 KB

Versions: 2

Compression:

Stored size: 1.16 KB

Contents

# 0.1.6

* Added `is_academic?` and `is_government()` instance methods. Thanks @benbalter!
* Added support for deprecated `lazy_lookup()` method. Thanks @benbalter!

# 0.1.4

* Added a utility method `is_academic?(domain)` for detecting academic organizations, educational institutions, etc.

# 0.1.3

* Moved `mocha/setup` requirement to test helper.
* Unstubbe some stubbed methods making tests sometimes fails.

# 0.1.2

* `Demandbase::lookup()` now returns nil if no record is found.

* Added some new Error classes to
 * raises a `Demandbase::RTIDNotSetError` if a RTID key is not set.
 * raises a `Demandbase::ParseError `if the domain doesn't look legit.
 * raises a `Demandbase::ServerError` if the Demandbase server is unresponsive.


# 0.1.1

* Added support for subdomains, email addresses, etc. e.g. the following now work:

```ruby
  Demandbase::Record.new "www.github.com",
  Demandbase::Record.new "developer.github.com/",
  Demandbase::Record.new "http://www.github.com/",
  Demandbase::Record.new "https://www.github.com",
  Demandbase::Record.new "https://www.github.com/leereilly/demandbase",
  Demandbase::Record.new "lee@github.com"
```

# 0.1.0

* Initial release.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
demandbase-0.2.0 CHANGELOG.md
demandbase-0.1.7 CHANGELOG.md