influxer 1.0.0 → 1.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: 117d8b97d33b7cd7f38c38effae7184c9a4ec602
4
- data.tar.gz: 3ae53237115bec8868ebe4db4840c98bf57e18b8
3
+ metadata.gz: c6170fa3501fded22b3d60091c6ecec43d5c114a
4
+ data.tar.gz: 99a14c3af843d90c27697d7807a91716999c7296
5
5
  SHA512:
6
- metadata.gz: b791f7e55f2c096ebb5d269be7498680fce388638f22abd92f0c2e3128da31bbc46302d028b642dac2de93d29d256124b8b9d7d4bcc82437e50ffb54f6721282
7
- data.tar.gz: 3a1e42dda73963b45641386b227c24cc893cbc0a9ccc9823d6e04cb171f46d0f7a593fb9a5d0c99d7639837a11aca119e0ec7ceb33238f4392ab744b0804caca
6
+ metadata.gz: d20395879826097fd685c3b0c54ce86d2b5b4af269c4a759e369a50a872264a3561c2f685f45a4a645506e1f364dbc6ce5865f456f30ae0a14929a7e8e365961
7
+ data.tar.gz: 3bf0f512ca0d3a765248a56840a99f3f53066934b9f30138e04635a1f7bf007fb3b6c2ec894b64a088447e2191995b537b069f3102118fcdc5b827cbd42017fb
data/Changelog.md CHANGED
@@ -1,3 +1,9 @@
1
+ # Change log
2
+
3
+ ## 1.0.1
4
+
5
+ - Fix missing `#delegate` in ActiveRecord 3.2
6
+
1
7
  ## 0.5.4
2
8
  - Add `set_retention_policy` method
3
9
 
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  **NOTE**: Version 0.3.x supports InfluxDB >= 0.9.0. For InfluxDB 0.8.x use [version 0.2.5](https://github.com/palkan/influxer/tree/0.2.5).
5
5
 
6
- **NOTE**: Influxer is Rails 5 compatible!
6
+ **NOTE**: Influxer is Rails 3, 4, 5 compatible!
7
7
 
8
8
  Influxer provides an ActiveRecord-style way to work with [InfluxDB](https://influxdb.com/) with many useful features, such as:
9
9
  - Familar query language (use `select`, `where`, `not`, `group` etc).
data/influxer.gemspec CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
17
17
 
18
18
  s.add_dependency "activemodel", '>= 3.2.0'
19
19
  s.add_dependency "influxdb", "~> 0.3"
20
- s.add_dependency "anyway_config", "~>0.3.0"
20
+ s.add_dependency "anyway_config", "~> 1.0"
21
21
 
22
22
  s.add_development_dependency "timecop"
23
23
  s.add_development_dependency "simplecov", ">= 0.3.8"
@@ -1,4 +1,4 @@
1
- require 'anyway'
1
+ require 'anyway_config'
2
2
 
3
3
  module Influxer
4
4
  # Influxer configuration
@@ -1,7 +1,6 @@
1
1
  require 'influxer/metrics/relation'
2
2
  require 'influxer/metrics/scoping'
3
3
  require 'influxer/metrics/active_model3/model'
4
- require 'active_model'
5
4
 
6
5
  module Influxer
7
6
  class MetricsError < StandardError; end
@@ -1,3 +1,4 @@
1
+ require 'active_support/core_ext/module/delegation'
1
2
  require 'influxer/metrics/relation/time_query'
2
3
  require 'influxer/metrics/relation/calculations'
3
4
  require 'influxer/metrics/relation/where_clause'
@@ -1,3 +1,3 @@
1
1
  module Influxer # :nodoc:
2
- VERSION = "1.0.0".freeze
2
+ VERSION = "1.0.1".freeze
3
3
  end
data/lib/influxer.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'influxer/version'
2
+ require 'active_model'
2
3
 
3
4
  # Rails client for InfluxDB
4
5
  module Influxer
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: influxer
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
  - Vlad Dem
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-21 00:00:00.000000000 Z
11
+ date: 2017-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.3.0
47
+ version: '1.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.3.0
54
+ version: '1.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: timecop
57
57
  requirement: !ruby/object:Gem::Requirement