mongoid_traffic 0.2.2 → 0.2.3

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: 4af0ca80e0eaf133581cc75d5ab900b5205e257f
4
- data.tar.gz: deae8ab38bb54a8984d7b4f4cac7ef21e941dc6e
3
+ metadata.gz: 8c813ffd6c832e7eac6b236af8dce1ac907a6def
4
+ data.tar.gz: 108e804e3a1f365ef099f9196a2f96e78592aaf6
5
5
  SHA512:
6
- metadata.gz: c607042bf415f245b22711482d1f239731cbadf989361e080db8ad719238ce4dc79763a96911d2272351e350cd6615b922190d6e474ac4cd982c32374eadbf04
7
- data.tar.gz: c9b479659973543affd600a52c0ce559340e03c96f0bd53e67508cd1cd4efb61d5bdd530ec7430637813fa15a9c8eb389266ec1bef9b573a68c3ecd7f784eb4c
6
+ metadata.gz: b7371ec02933b4a8512f1d719a622d2deea0b4c2083b88da276ad95d78f0796e57deea87e405f2a170fdbe2d7fef57b0ae70a84cc1bc37c7d3a2464749fba7a6
7
+ data.tar.gz: a36600490929343333d5a8a36059bf6e7c9a191e340883627c106eef8b2019d5831d8ea8f026bcaeba77fd08a5a4fded846c2cd9a12870aba41cadc623feba5b
data/Gemfile CHANGED
@@ -1,5 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
-
5
- gem 'database_cleaner', git: 'https://github.com/DatabaseCleaner/database_cleaner.git'
data/Gemfile.lock CHANGED
@@ -1,31 +1,25 @@
1
- GIT
2
- remote: https://github.com/DatabaseCleaner/database_cleaner.git
3
- revision: f318781a77228f5999f5f2371c12f59089c141f3
4
- specs:
5
- database_cleaner (1.5.1)
6
-
7
1
  PATH
8
2
  remote: .
9
3
  specs:
10
- mongoid_traffic (0.2.2)
4
+ mongoid_traffic (0.2.3)
11
5
  geoip
12
- mongoid (~> 5.1)
6
+ mongoid
13
7
  nokogiri
14
8
  useragent
15
9
 
16
10
  GEM
17
11
  remote: https://rubygems.org/
18
12
  specs:
19
- activemodel (4.2.6)
20
- activesupport (= 4.2.6)
13
+ activemodel (4.2.7)
14
+ activesupport (= 4.2.7)
21
15
  builder (~> 3.1)
22
- activesupport (4.2.6)
16
+ activesupport (4.2.7)
23
17
  i18n (~> 0.7)
24
18
  json (~> 1.7, >= 1.7.7)
25
19
  minitest (~> 5.1)
26
20
  thread_safe (~> 0.3, >= 0.3.4)
27
21
  tzinfo (~> 1.1)
28
- bson (4.0.4)
22
+ bson (4.1.1)
29
23
  builder (3.2.2)
30
24
  coderay (1.1.1)
31
25
  coveralls (0.8.13)
@@ -34,6 +28,7 @@ GEM
34
28
  term-ansicolor (~> 1.3)
35
29
  thor (~> 0.19.1)
36
30
  tins (~> 1.6.0)
31
+ database_cleaner (1.5.2)
37
32
  docile (1.1.5)
38
33
  ffi (1.9.10)
39
34
  formatador (0.2.5)
@@ -58,29 +53,31 @@ GEM
58
53
  rb-inotify (>= 0.9.7)
59
54
  lumberjack (1.0.10)
60
55
  method_source (0.8.2)
61
- mini_portile2 (2.0.0)
56
+ mini_portile2 (2.1.0)
62
57
  minitest (5.8.4)
63
58
  minitest-around (0.3.2)
64
59
  minitest (~> 5.0)
65
- mongo (2.2.4)
60
+ mongo (2.2.7)
66
61
  bson (~> 4.0)
67
- mongoid (5.1.1)
62
+ mongoid (5.1.3)
68
63
  activemodel (~> 4.0)
69
64
  mongo (~> 2.1)
70
65
  origin (~> 2.2)
71
66
  tzinfo (>= 0.3.37)
72
67
  nenv (0.3.0)
73
- nokogiri (1.6.7.2)
74
- mini_portile2 (~> 2.0.0.rc2)
68
+ nokogiri (1.6.8)
69
+ mini_portile2 (~> 2.1.0)
70
+ pkg-config (~> 1.1.7)
75
71
  notiffany (0.0.8)
76
72
  nenv (~> 0.1)
77
73
  shellany (~> 0.0)
78
74
  origin (2.2.0)
75
+ pkg-config (1.1.7)
79
76
  pry (0.10.3)
80
77
  coderay (~> 1.1.0)
81
78
  method_source (~> 0.8.1)
82
79
  slop (~> 3.4)
83
- rake (11.1.1)
80
+ rake (11.1.2)
84
81
  rb-fsevent (0.9.7)
85
82
  rb-inotify (0.9.7)
86
83
  ffi (>= 0.5.0)
@@ -98,7 +95,7 @@ GEM
98
95
  tins (1.6.0)
99
96
  tzinfo (1.2.2)
100
97
  thread_safe (~> 0.1)
101
- useragent (0.16.5)
98
+ useragent (0.16.7)
102
99
 
103
100
  PLATFORMS
104
101
  ruby
@@ -106,7 +103,7 @@ PLATFORMS
106
103
  DEPENDENCIES
107
104
  bundler (~> 1.3)
108
105
  coveralls
109
- database_cleaner!
106
+ database_cleaner (~> 1.5.2)
110
107
  guard
111
108
  guard-minitest
112
109
  minitest
@@ -115,4 +112,4 @@ DEPENDENCIES
115
112
  rake
116
113
 
117
114
  BUNDLED WITH
118
- 1.11.2
115
+ 1.12.1
@@ -1,3 +1,3 @@
1
1
  module MongoidTraffic
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
@@ -19,12 +19,13 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_dependency "geoip"
22
- spec.add_dependency "mongoid", "~> 5.1"
22
+ spec.add_dependency "mongoid"
23
23
  spec.add_dependency "nokogiri"
24
24
  spec.add_dependency "useragent"
25
25
 
26
26
  spec.add_development_dependency "bundler", "~> 1.3"
27
27
  spec.add_development_dependency "coveralls"
28
+ spec.add_development_dependency "database_cleaner", "~> 1.5.2"
28
29
  spec.add_development_dependency "guard"
29
30
  spec.add_development_dependency "guard-minitest"
30
31
  spec.add_development_dependency "minitest"
@@ -91,14 +91,7 @@ module MongoidTraffic
91
91
  end
92
92
 
93
93
  it 'sums the browsers' do
94
- MyLog.aggregate_on(:browsers).must_equal('Mac' => {
95
- 'Saf' => { '8' => 11, '7' => 100 },
96
- 'Chr' => { '3' => 5 }
97
- },
98
- 'Win' => {
99
- 'Saf' => { '7' => 105 },
100
- 'IE' => { '10' => 1 }
101
- })
94
+ MyLog.aggregate_on(:browsers).must_equal('Mac' => { 'Saf' => { '8' => 11, '7' => 100 }, 'Chr' => { '3' => 5 } }, 'Win' => { 'Saf' => { '7' => 105 }, 'IE' => { '10' => 1 } })
102
95
  end
103
96
  end
104
97
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_traffic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomáš Celizna
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-24 00:00:00.000000000 Z
11
+ date: 2016-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: geoip
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: mongoid
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '5.1'
33
+ version: '0'
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: '5.1'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: nokogiri
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: database_cleaner
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 1.5.2
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 1.5.2
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: guard
99
113
  requirement: !ruby/object:Gem::Requirement
@@ -223,7 +237,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
223
237
  version: '0'
224
238
  requirements: []
225
239
  rubyforge_project:
226
- rubygems_version: 2.4.8
240
+ rubygems_version: 2.6.6
227
241
  signing_key:
228
242
  specification_version: 4
229
243
  summary: Aggregated traffic logs stored in MongoDB.