influxdb-rails 0.1.12 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: influxdb-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Todd Persen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-06 00:00:00.000000000 Z
11
+ date: 2017-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: influxdb
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.3.0
19
+ version: 0.4.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
- version: 0.3.0
26
+ version: 0.4.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: railties
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - ">"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '3'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - ">"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -136,7 +136,7 @@ dependencies:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
- description: This gem automatically instruments your Ruby on Rails 3.x/4.x applications
139
+ description: This gem automatically instruments your Ruby on Rails 4.x/5.x applications
140
140
  using InfluxDB for storage.
141
141
  email:
142
142
  - todd@influxdb.com
@@ -150,9 +150,6 @@ files:
150
150
  - README.md
151
151
  - Rakefile
152
152
  - config.ru
153
- - gemfiles/Gemfile.rails-3.0.x
154
- - gemfiles/Gemfile.rails-3.1.x
155
- - gemfiles/Gemfile.rails-3.2.x
156
153
  - gemfiles/Gemfile.rails-4.0.x
157
154
  - gemfiles/Gemfile.rails-4.1.x
158
155
  - gemfiles/Gemfile.rails-4.2.x
@@ -174,13 +171,12 @@ files:
174
171
  - lib/rails/generators/influxdb/influxdb_generator.rb
175
172
  - lib/rails/generators/influxdb/templates/initializer.rb
176
173
  - pkg/influxdb-rails-0.1.11.gem
174
+ - pkg/influxdb-rails-0.1.12.gem
177
175
  - spec/controllers/widgets_controller_spec.rb
178
176
  - spec/integration/exceptions_spec.rb
179
177
  - spec/integration/integration_helper.rb
180
178
  - spec/integration/metrics_spec.rb
181
179
  - spec/spec_helper.rb
182
- - spec/suite.sh
183
- - spec/support/rails3/app.rb
184
180
  - spec/support/rails4/app.rb
185
181
  - spec/support/rails4/log/test.log
186
182
  - spec/support/rails5/app.rb
@@ -220,12 +216,10 @@ test_files:
220
216
  - spec/unit/configuration_spec.rb
221
217
  - spec/spec_helper.rb
222
218
  - spec/controllers/widgets_controller_spec.rb
223
- - spec/suite.sh
224
219
  - spec/support/rails5/log/test.log
225
220
  - spec/support/rails5/app.rb
226
221
  - spec/support/rails4/log/test.log
227
222
  - spec/support/rails4/app.rb
228
- - spec/support/rails3/app.rb
229
223
  - spec/integration/metrics_spec.rb
230
224
  - spec/integration/integration_helper.rb
231
225
  - spec/integration/exceptions_spec.rb
@@ -1,10 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "railties", "~> 3.0.15"
4
- gem 'actionpack', '~> 3.0.15'
5
- gem 'activesupport', '~> 3.0.15'
6
- gem 'rspec-rails', '>= 2.0'
7
-
8
- gem "test-unit", "~> 3.0" if RUBY_VERSION > "2.1"
9
-
10
- gemspec :path => '../'
@@ -1,10 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "railties", "~> 3.1.5"
4
- gem 'actionpack', '~> 3.1.5'
5
- gem 'activesupport', '~> 3.1.5'
6
- gem 'rspec-rails', '>= 2.0'
7
-
8
- gem "test-unit", "~> 3.0" if RUBY_VERSION > "2.1"
9
-
10
- gemspec :path => '../'
@@ -1,10 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "railties", "~> 3.2.3"
4
- gem 'actionpack', '~> 3.2.3'
5
- gem 'activesupport', '~> 3.2.3'
6
- gem 'rspec-rails', '>= 2.0'
7
-
8
- gem "test-unit", "~> 3.0" if RUBY_VERSION > "2.1"
9
-
10
- gemspec :path => '../'
data/spec/suite.sh DELETED
@@ -1,42 +0,0 @@
1
- #!/bin/bash
2
-
3
- if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then
4
- source "$HOME/.rvm/scripts/rvm"
5
- elif [[ -s "/usr/local/rvm/scripts/rvm" ]] ; then
6
- source "/usr/local/rvm/scripts/rvm"
7
- else
8
- printf "ERROR: An RVM installation was not found.\n"
9
- fi
10
-
11
- function build_version() {
12
- echo "Bundling for Rails $1..."
13
- BUNDLE_GEMFILE=gemfiles/Gemfile.rails-$1 bundle install --quiet
14
- BUNDLE_GEMFILE=gemfiles/Gemfile.rails-$1 bundle exec rake spec
15
- }
16
-
17
- function build_versions() {
18
- build_version "3.2.x"
19
- build_version "3.1.x"
20
- build_version "3.0.x"
21
- build_version "2.3.x"
22
- }
23
-
24
- function build_with_ruby() {
25
- echo
26
- echo "### Using Ruby v$1 ###"
27
-
28
- rvm use ruby-$1@influxdb-rails --create
29
- build_versions
30
- }
31
-
32
- function build() {
33
- build_with_ruby "1.9.3-p194"
34
- build_with_ruby "ree"
35
- build_with_ruby "1.8.7-p357"
36
- }
37
-
38
- function clean() {
39
- rvm gemset empty influxdb-rails --force
40
- }
41
-
42
- build
@@ -1,24 +0,0 @@
1
- require 'action_controller/railtie'
2
-
3
- app = Class.new(Rails::Application)
4
- app.config.secret_token = '1234567890abcdef1234567890abcdef'
5
- app.config.session_store :cookie_store, :key => '_myapp_session'
6
- app.config.active_support.deprecation = :log
7
- app.config.root = File.dirname(__FILE__)
8
- Rails.backtrace_cleaner.remove_silencers!
9
- app.initialize!
10
-
11
- app.routes.draw do
12
- resources :widgets
13
- end
14
-
15
- InfluxDB::Rails.configure do |config|
16
- end
17
-
18
- class ApplicationController < ActionController::Base; end
19
- class WidgetsController < ApplicationController
20
- def index; render :nothing => true; end
21
- def new; return 1/0; end
22
- end
23
-
24
- Object.const_set(:ApplicationHelper, Module.new)