particlerb 2.0.0 → 2.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: c409b2f5c483368655b203f26747c87bc7468dbd
4
- data.tar.gz: 836f34ebcb7495187a049f268081e83cbbf10da4
3
+ metadata.gz: 3e47a80d3ac0cf078c7ab6dbed9d51d43b358b86
4
+ data.tar.gz: 0fc684e9ceab97b19963e6c37355118de83c3f8a
5
5
  SHA512:
6
- metadata.gz: 1f742f63332e932e6477b0c3cbffe735139ce6340d75d6e2aa29e87cf65d48afbbc15bedb908d69160537b7225b8f8c3803ef3ead336a5028e17221db5f53556
7
- data.tar.gz: 54f9c6e85683b92163ed13cf4e1330883c3f153a24347ba63e83b9b5dce47b5bf1ac81020d39b9c9d5beffaf764dbccf0500409447f8e593a5090dba05d7841e
6
+ metadata.gz: 1f42701237bd5892ad1dad5c7db4f49c08b8c674d853012ef66badb63772871a6a997cb5addd0b99ac59547c680167d5fbf17e563a36209c9af53421bb54741b
7
+ data.tar.gz: 3db3e108fa95fb4907a5ba36882163d085f957ad8da4aba8f6de2105f03d6f85f1ff228dd91e7cadb6634747fad9d5eda57b7baa42856d1f87d95336e4fcf94c
data/README.md CHANGED
@@ -486,6 +486,14 @@ Main product endpoints (list, get, invite team member, remove team member)
486
486
 
487
487
  All API endpoints are availble directly on the client object as method calls like `Particle.claim_device(id)` but the preferred usage is to call methods on domain objects like `Particle.device(id).claim`. See the various `Particle::Client` subclasses for more details.
488
488
 
489
+ ### Environment variables with .env
490
+
491
+ If you are loading environment variables with the `dotenv` gem and use the `PARTICLE_ACCESS_TOKEN` environment variable, add this as the first gem in your `Gemfile` to ensure that the environment variables are loaded before the `particlerb` gem is required.
492
+
493
+ ```
494
+ gem 'dotenv-rails', :require => 'dotenv/rails-now'
495
+ ```
496
+
489
497
  ### Accessing HTTP responses
490
498
 
491
499
  While most methods return a domain object like `Device`, sometimes you may
@@ -1,3 +1,3 @@
1
1
  module Particle
2
- VERSION = "2.0.0".freeze
2
+ VERSION = "2.0.1".freeze
3
3
  end
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.required_ruby_version = '>= 1.9.3'
18
18
  spec.required_rubygems_version = '>= 1.3.5'
19
19
  spec.version = Particle::VERSION.dup
20
- spec.add_dependency 'faraday', '~> 0.9.0'
20
+ spec.add_dependency 'faraday', '>= 0.9.0'
21
21
  spec.add_dependency 'faraday_middleware', '>= 0.9.0'
22
22
  spec.add_development_dependency 'bundler', '~> 1.0'
23
23
  spec.add_development_dependency 'rake', '~> 10.0'
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: particlerb
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Vanier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-03 00:00:00.000000000 Z
11
+ date: 2018-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.9.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.9.0
27
27
  - !ruby/object:Gem::Dependency
@@ -268,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
268
268
  version: 1.3.5
269
269
  requirements: []
270
270
  rubyforge_project:
271
- rubygems_version: 2.6.13
271
+ rubygems_version: 2.5.1
272
272
  signing_key:
273
273
  specification_version: 4
274
274
  summary: Ruby client for the Particle.io Cloud API