impressionist 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,6 +4,7 @@ require "rails"
4
4
  module Impressionist
5
5
  class Engine < Rails::Engine
6
6
  initializer 'impressionist.model' do |app|
7
+ require "#{root}/app/models/impressionist/impressionable.rb"
7
8
  if Impressionist.orm == :active_record
8
9
  require "impressionist/models/active_record/impression.rb"
9
10
  require "impressionist/models/active_record/impressionist/impressionable.rb"
@@ -12,6 +12,5 @@ class Impression
12
12
  key :session_hash, String
13
13
  key :message, String
14
14
  key :referrer, String
15
-
16
15
  timestamps!
17
16
  end
@@ -1,3 +1,3 @@
1
1
  module Impressionist
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
data/test_app/Gemfile CHANGED
@@ -11,6 +11,7 @@ platforms :jruby do
11
11
  end
12
12
 
13
13
  platforms :ruby, :mswin, :mingw do
14
+ gem 'pg'
14
15
  gem 'sqlite3'
15
16
  end
16
17
 
@@ -9,5 +9,4 @@ class WidgetsController < ApplicationController
9
9
 
10
10
  def new
11
11
  end
12
-
13
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: impressionist
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-14 00:00:00.000000000 Z
12
+ date: 2012-03-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httpclient
16
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &70331801224520 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,15 +21,10 @@ dependencies:
21
21
  version: '2.2'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ~>
28
- - !ruby/object:Gem::Version
29
- version: '2.2'
24
+ version_requirements: *70331801224520
30
25
  - !ruby/object:Gem::Dependency
31
26
  name: nokogiri
32
- requirement: !ruby/object:Gem::Requirement
27
+ requirement: &70331801251100 !ruby/object:Gem::Requirement
33
28
  none: false
34
29
  requirements:
35
30
  - - ~>
@@ -37,15 +32,10 @@ dependencies:
37
32
  version: '1.5'
38
33
  type: :runtime
39
34
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ~>
44
- - !ruby/object:Gem::Version
45
- version: '1.5'
35
+ version_requirements: *70331801251100
46
36
  - !ruby/object:Gem::Dependency
47
37
  name: capybara
48
- requirement: !ruby/object:Gem::Requirement
38
+ requirement: &70331801250700 !ruby/object:Gem::Requirement
49
39
  none: false
50
40
  requirements:
51
41
  - - ! '>='
@@ -53,15 +43,10 @@ dependencies:
53
43
  version: '0'
54
44
  type: :development
55
45
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
46
+ version_requirements: *70331801250700
62
47
  - !ruby/object:Gem::Dependency
63
48
  name: rake
64
- requirement: !ruby/object:Gem::Requirement
49
+ requirement: &70331801250120 !ruby/object:Gem::Requirement
65
50
  none: false
66
51
  requirements:
67
52
  - - ! '>='
@@ -69,15 +54,10 @@ dependencies:
69
54
  version: '0.9'
70
55
  type: :development
71
56
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0.9'
57
+ version_requirements: *70331801250120
78
58
  - !ruby/object:Gem::Dependency
79
59
  name: rails
80
- requirement: !ruby/object:Gem::Requirement
60
+ requirement: &70331801249480 !ruby/object:Gem::Requirement
81
61
  none: false
82
62
  requirements:
83
63
  - - ~>
@@ -85,15 +65,10 @@ dependencies:
85
65
  version: '3.1'
86
66
  type: :development
87
67
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ~>
92
- - !ruby/object:Gem::Version
93
- version: '3.1'
68
+ version_requirements: *70331801249480
94
69
  - !ruby/object:Gem::Dependency
95
70
  name: rdoc
96
- requirement: !ruby/object:Gem::Requirement
71
+ requirement: &70331801248900 !ruby/object:Gem::Requirement
97
72
  none: false
98
73
  requirements:
99
74
  - - ! '>='
@@ -101,15 +76,10 @@ dependencies:
101
76
  version: 2.4.2
102
77
  type: :development
103
78
  prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
109
- version: 2.4.2
79
+ version_requirements: *70331801248900
110
80
  - !ruby/object:Gem::Dependency
111
81
  name: rspec-rails
112
- requirement: !ruby/object:Gem::Requirement
82
+ requirement: &70331801248260 !ruby/object:Gem::Requirement
113
83
  none: false
114
84
  requirements:
115
85
  - - ! '>='
@@ -117,15 +87,10 @@ dependencies:
117
87
  version: '0'
118
88
  type: :development
119
89
  prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ! '>='
124
- - !ruby/object:Gem::Version
125
- version: '0'
90
+ version_requirements: *70331801248260
126
91
  - !ruby/object:Gem::Dependency
127
92
  name: simplecov
128
- requirement: !ruby/object:Gem::Requirement
93
+ requirement: &70331801247420 !ruby/object:Gem::Requirement
129
94
  none: false
130
95
  requirements:
131
96
  - - ! '>='
@@ -133,15 +98,10 @@ dependencies:
133
98
  version: '0'
134
99
  type: :development
135
100
  prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
- requirements:
139
- - - ! '>='
140
- - !ruby/object:Gem::Version
141
- version: '0'
101
+ version_requirements: *70331801247420
142
102
  - !ruby/object:Gem::Dependency
143
103
  name: sqlite3
144
- requirement: !ruby/object:Gem::Requirement
104
+ requirement: &70331801246980 !ruby/object:Gem::Requirement
145
105
  none: false
146
106
  requirements:
147
107
  - - ! '>='
@@ -149,15 +109,10 @@ dependencies:
149
109
  version: '0'
150
110
  type: :development
151
111
  prerelease: false
152
- version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
- requirements:
155
- - - ! '>='
156
- - !ruby/object:Gem::Version
157
- version: '0'
112
+ version_requirements: *70331801246980
158
113
  - !ruby/object:Gem::Dependency
159
114
  name: systemu
160
- requirement: !ruby/object:Gem::Requirement
115
+ requirement: &70331801246480 !ruby/object:Gem::Requirement
161
116
  none: false
162
117
  requirements:
163
118
  - - ! '>='
@@ -165,12 +120,7 @@ dependencies:
165
120
  version: '0'
166
121
  type: :development
167
122
  prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
- requirements:
171
- - - ! '>='
172
- - !ruby/object:Gem::Version
173
- version: '0'
123
+ version_requirements: *70331801246480
174
124
  description: Log impressions from controller actions or from a model
175
125
  email: john.mcaliley@gmail.com
176
126
  executables: []
@@ -306,7 +256,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
306
256
  version: '0'
307
257
  segments:
308
258
  - 0
309
- hash: -4388839004348442520
259
+ hash: 4375478924992886523
310
260
  required_rubygems_version: !ruby/object:Gem::Requirement
311
261
  none: false
312
262
  requirements:
@@ -315,7 +265,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
315
265
  version: 1.3.6
316
266
  requirements: []
317
267
  rubyforge_project:
318
- rubygems_version: 1.8.18
268
+ rubygems_version: 1.8.11
319
269
  signing_key:
320
270
  specification_version: 3
321
271
  summary: Easy way to log impressions