productive 0.3.0 → 0.3.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: ade904ec45d6bfd889ad1aa9e8a86d26da920710
4
- data.tar.gz: 1a0b17811c30f76bf2f9ad43721ceb7a0c0ab0bc
3
+ metadata.gz: 51227b6cc288af8172dc319f31442a4abac45cd1
4
+ data.tar.gz: 9b97e3f4bd616d8e4ab2fa0dd39e8d997bb30334
5
5
  SHA512:
6
- metadata.gz: 3b479c35c2deeee84f71ce9d43abc3deac70e8d25c6607dd2650d4aaf96e7719492db4e96d7cca0aee5a4b7928ce08352b4abe6e62ec62c0e01cfa12fa3da232
7
- data.tar.gz: e71849e848d371f765f0794d2cdafe3757ee6f5552ce91a7f5484481d46c0d9f835cde1254d150111593013d70721991b0cb48dc88acf5c063c6b68cd23077cc
6
+ metadata.gz: 63cb6e69d9f7e8cbbeb25f8b6c16b3351ef70e9d040f0246b3fd1edf00c3cb10490ebf5dcc69485edf7cbcb0a4d641a148aabdacde86f140f777cd85f55282d3
7
+ data.tar.gz: 6b390214e9a5df8c58e819f363525adb69f673227ed22c1bdbd0060bbe6be31795c6177a31a500c30483b0f3de6275a988f2b8262a25991fb0705e073b56869d
data/README.md CHANGED
@@ -25,7 +25,7 @@ which will generate ```config/initializers/productive.rb``` initializer, setting
25
25
  If you're using the gem in a standalone project, you need to configure the `API_KEY` and `ACCOUNT_ID` and setup the `Productive::Base` resource class:
26
26
  ```ruby
27
27
  Productive.configure do |config|
28
- config.api_key = ENV['productive_api_key']
28
+ config.api_key = ENV.fetch('productive_api_key')
29
29
  config.account_id = ACCOUNT_ID
30
30
  end
31
31
 
@@ -8,8 +8,8 @@ module Productive
8
8
  attr_accessor :paginator
9
9
 
10
10
  def initialize
11
- self.api_key = ENV.fetch('PRODUCTIVE_API_KEY')
12
- self.account_id = ENV.fetch('PRODUCTIVE_ACCOUNT_ID')
11
+ self.api_key = ENV['PRODUCTIVE_API_KEY']
12
+ self.account_id = ENV['PRODUCTIVE_ACCOUNT_ID']
13
13
  self.base_url = 'https://productive.io/api/v2/'
14
14
  self.paginator = JsonApiPaginator
15
15
  end
@@ -1,3 +1,3 @@
1
1
  module Productive
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: productive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josip Bišćan