mashape-analytics 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/mashape-analytics/frameworks/rack.rb +1 -1
- data/mashape-analytics.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 409823168a3e0925068d93080650409f8002ae86
|
|
4
|
+
data.tar.gz: 6f06f4be3cbfc857fbd2b6ce4022a770ef219e88
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b6c5526139d9da15a8b8260e49757f7e933b65742ea3fca0bd291cf1b32605c848826083141a9fcb423c0da6ccedf41e073f52732c1210c6acb8c521c4cb60fc
|
|
7
|
+
data.tar.gz: 9739ab960c4fb9cb8119e4c301c2904e9530f87791326232e8ff54e95a65184aa9034d3d1b1220f151350aa374c6f7163f69cabc120a7653b0cfaceab01bb8c4
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.4
|
|
@@ -82,7 +82,7 @@ module MashapeAnalytics::Frameworks
|
|
|
82
82
|
|
|
83
83
|
# {KEY}: {VALUE}\n\r = 4 extra characters for `: ` and `\n\r` minus `HTTP_` in the KEY is -1
|
|
84
84
|
header_fields = request.select { |k,v| k.start_with? 'HTTP_' }
|
|
85
|
-
.map { |k,v| k.length + v.bytesize - 1 }
|
|
85
|
+
.map { |k,v| k.length + (v.respond_to?(:bytesize) ? v.bytesize : 0) - 1 }
|
|
86
86
|
.inject(0) { |sum,v| sum + v }
|
|
87
87
|
|
|
88
88
|
last_line = 2 # /r/n
|
data/mashape-analytics.gemspec
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: mashape-analytics 1.0.
|
|
5
|
+
# stub: mashape-analytics 1.0.4 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "mashape-analytics"
|
|
9
|
-
s.version = "1.0.
|
|
9
|
+
s.version = "1.0.4"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib"]
|
|
13
13
|
s.authors = ["Kenneth Lee"]
|
|
14
|
-
s.date = "2015-
|
|
14
|
+
s.date = "2015-07-08"
|
|
15
15
|
s.description = "The ruby agent reports API traffic to http://apianalytics.com"
|
|
16
16
|
s.email = "kennethkl@gmail.com"
|
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mashape-analytics
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kenneth Lee
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-07-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rbczmq
|