simple_analytics_rails 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: %i[spec]
data/bin/console ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env ruby
2
+ require "bundler/setup"
3
+ require "simple_analytics_rails"
4
+
5
+ # You can add fixtures and/or initialization code here to make experimenting
6
+ # with your gem easier. You can also use a different console, if you like.
7
+
8
+ # (If you use this, don't forget to add pry to your Gemfile!)
9
+ # require "pry"
10
+ # Pry.start
11
+
12
+ require "irb"
13
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_RETRY: "1"
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 5.2"
6
+
7
+ group :test do
8
+ gem "simplecov", require: false
9
+ end
10
+
11
+ gemspec path: "../"
@@ -0,0 +1,192 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ simple_analytics_rails (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ actioncable (5.2.5)
10
+ actionpack (= 5.2.5)
11
+ nio4r (~> 2.0)
12
+ websocket-driver (>= 0.6.1)
13
+ actionmailer (5.2.5)
14
+ actionpack (= 5.2.5)
15
+ actionview (= 5.2.5)
16
+ activejob (= 5.2.5)
17
+ mail (~> 2.5, >= 2.5.4)
18
+ rails-dom-testing (~> 2.0)
19
+ actionpack (5.2.5)
20
+ actionview (= 5.2.5)
21
+ activesupport (= 5.2.5)
22
+ rack (~> 2.0, >= 2.0.8)
23
+ rack-test (>= 0.6.3)
24
+ rails-dom-testing (~> 2.0)
25
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
26
+ actionview (5.2.5)
27
+ activesupport (= 5.2.5)
28
+ builder (~> 3.1)
29
+ erubi (~> 1.4)
30
+ rails-dom-testing (~> 2.0)
31
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
32
+ activejob (5.2.5)
33
+ activesupport (= 5.2.5)
34
+ globalid (>= 0.3.6)
35
+ activemodel (5.2.5)
36
+ activesupport (= 5.2.5)
37
+ activerecord (5.2.5)
38
+ activemodel (= 5.2.5)
39
+ activesupport (= 5.2.5)
40
+ arel (>= 9.0)
41
+ activestorage (5.2.5)
42
+ actionpack (= 5.2.5)
43
+ activerecord (= 5.2.5)
44
+ marcel (~> 1.0.0)
45
+ activesupport (5.2.5)
46
+ concurrent-ruby (~> 1.0, >= 1.0.2)
47
+ i18n (>= 0.7, < 2)
48
+ minitest (~> 5.1)
49
+ tzinfo (~> 1.1)
50
+ appraisal (2.4.0)
51
+ bundler
52
+ rake
53
+ thor (>= 0.14.0)
54
+ arel (9.0.0)
55
+ ast (2.4.2)
56
+ builder (3.2.4)
57
+ concurrent-ruby (1.1.8)
58
+ crass (1.0.6)
59
+ diff-lcs (1.4.4)
60
+ docile (1.3.5)
61
+ erubi (1.10.0)
62
+ globalid (0.4.2)
63
+ activesupport (>= 4.2.0)
64
+ i18n (1.8.10)
65
+ concurrent-ruby (~> 1.0)
66
+ loofah (2.9.1)
67
+ crass (~> 1.0.2)
68
+ nokogiri (>= 1.5.9)
69
+ mail (2.7.1)
70
+ mini_mime (>= 0.1.1)
71
+ marcel (1.0.1)
72
+ method_source (1.0.0)
73
+ mini_mime (1.1.0)
74
+ minitest (5.14.4)
75
+ nio4r (2.5.7)
76
+ nokogiri (1.11.3-x86_64-darwin)
77
+ racc (~> 1.4)
78
+ parallel (1.20.1)
79
+ parser (3.0.1.0)
80
+ ast (~> 2.4.1)
81
+ racc (1.5.2)
82
+ rack (2.2.3)
83
+ rack-test (1.1.0)
84
+ rack (>= 1.0, < 3)
85
+ rails (5.2.5)
86
+ actioncable (= 5.2.5)
87
+ actionmailer (= 5.2.5)
88
+ actionpack (= 5.2.5)
89
+ actionview (= 5.2.5)
90
+ activejob (= 5.2.5)
91
+ activemodel (= 5.2.5)
92
+ activerecord (= 5.2.5)
93
+ activestorage (= 5.2.5)
94
+ activesupport (= 5.2.5)
95
+ bundler (>= 1.3.0)
96
+ railties (= 5.2.5)
97
+ sprockets-rails (>= 2.0.0)
98
+ rails-dom-testing (2.0.3)
99
+ activesupport (>= 4.2.0)
100
+ nokogiri (>= 1.6)
101
+ rails-html-sanitizer (1.3.0)
102
+ loofah (~> 2.3)
103
+ railties (5.2.5)
104
+ actionpack (= 5.2.5)
105
+ activesupport (= 5.2.5)
106
+ method_source
107
+ rake (>= 0.8.7)
108
+ thor (>= 0.19.0, < 2.0)
109
+ rainbow (3.0.0)
110
+ rake (13.0.3)
111
+ regexp_parser (2.1.1)
112
+ rexml (3.2.5)
113
+ rspec (3.10.0)
114
+ rspec-core (~> 3.10.0)
115
+ rspec-expectations (~> 3.10.0)
116
+ rspec-mocks (~> 3.10.0)
117
+ rspec-core (3.10.1)
118
+ rspec-support (~> 3.10.0)
119
+ rspec-expectations (3.10.1)
120
+ diff-lcs (>= 1.2.0, < 2.0)
121
+ rspec-support (~> 3.10.0)
122
+ rspec-mocks (3.10.2)
123
+ diff-lcs (>= 1.2.0, < 2.0)
124
+ rspec-support (~> 3.10.0)
125
+ rspec-rails (4.1.2)
126
+ actionpack (>= 4.2)
127
+ activesupport (>= 4.2)
128
+ railties (>= 4.2)
129
+ rspec-core (~> 3.10)
130
+ rspec-expectations (~> 3.10)
131
+ rspec-mocks (~> 3.10)
132
+ rspec-support (~> 3.10)
133
+ rspec-support (3.10.2)
134
+ rubocop (1.11.0)
135
+ parallel (~> 1.10)
136
+ parser (>= 3.0.0.0)
137
+ rainbow (>= 2.2.2, < 4.0)
138
+ regexp_parser (>= 1.8, < 3.0)
139
+ rexml
140
+ rubocop-ast (>= 1.2.0, < 2.0)
141
+ ruby-progressbar (~> 1.7)
142
+ unicode-display_width (>= 1.4.0, < 3.0)
143
+ rubocop-ast (1.4.1)
144
+ parser (>= 2.7.1.5)
145
+ rubocop-performance (1.10.1)
146
+ rubocop (>= 0.90.0, < 2.0)
147
+ rubocop-ast (>= 0.4.0)
148
+ ruby-progressbar (1.11.0)
149
+ simplecov (0.21.2)
150
+ docile (~> 1.1)
151
+ simplecov-html (~> 0.11)
152
+ simplecov_json_formatter (~> 0.1)
153
+ simplecov-html (0.12.3)
154
+ simplecov_json_formatter (0.1.2)
155
+ sprockets (4.0.2)
156
+ concurrent-ruby (~> 1.0)
157
+ rack (> 1, < 3)
158
+ sprockets-rails (3.2.2)
159
+ actionpack (>= 4.0)
160
+ activesupport (>= 4.0)
161
+ sprockets (>= 3.0.0)
162
+ standard (1.0.4)
163
+ rubocop (= 1.11.0)
164
+ rubocop-performance (= 1.10.1)
165
+ standardrb (1.0.0)
166
+ standard
167
+ thor (1.1.0)
168
+ thread_safe (0.3.6)
169
+ tzinfo (1.2.9)
170
+ thread_safe (~> 0.1)
171
+ unicode-display_width (2.0.0)
172
+ websocket-driver (0.7.3)
173
+ websocket-extensions (>= 0.1.0)
174
+ websocket-extensions (0.1.5)
175
+ yard (0.9.26)
176
+
177
+ PLATFORMS
178
+ x86_64-darwin-20
179
+
180
+ DEPENDENCIES
181
+ appraisal (~> 2.4)
182
+ rails (~> 5.2)
183
+ rake (~> 13.0)
184
+ rspec (~> 3.0)
185
+ rspec-rails (~> 4.0)
186
+ simple_analytics_rails!
187
+ simplecov
188
+ standardrb (~> 1.0)
189
+ yard (~> 0.9)
190
+
191
+ BUNDLED WITH
192
+ 2.2.15
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 6.0"
6
+
7
+ group :test do
8
+ gem "simplecov", require: false
9
+ end
10
+
11
+ gemspec path: "../"
@@ -0,0 +1,211 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ simple_analytics_rails (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ actioncable (6.1.3.1)
10
+ actionpack (= 6.1.3.1)
11
+ activesupport (= 6.1.3.1)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (>= 0.6.1)
14
+ actionmailbox (6.1.3.1)
15
+ actionpack (= 6.1.3.1)
16
+ activejob (= 6.1.3.1)
17
+ activerecord (= 6.1.3.1)
18
+ activestorage (= 6.1.3.1)
19
+ activesupport (= 6.1.3.1)
20
+ mail (>= 2.7.1)
21
+ actionmailer (6.1.3.1)
22
+ actionpack (= 6.1.3.1)
23
+ actionview (= 6.1.3.1)
24
+ activejob (= 6.1.3.1)
25
+ activesupport (= 6.1.3.1)
26
+ mail (~> 2.5, >= 2.5.4)
27
+ rails-dom-testing (~> 2.0)
28
+ actionpack (6.1.3.1)
29
+ actionview (= 6.1.3.1)
30
+ activesupport (= 6.1.3.1)
31
+ rack (~> 2.0, >= 2.0.9)
32
+ rack-test (>= 0.6.3)
33
+ rails-dom-testing (~> 2.0)
34
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
35
+ actiontext (6.1.3.1)
36
+ actionpack (= 6.1.3.1)
37
+ activerecord (= 6.1.3.1)
38
+ activestorage (= 6.1.3.1)
39
+ activesupport (= 6.1.3.1)
40
+ nokogiri (>= 1.8.5)
41
+ actionview (6.1.3.1)
42
+ activesupport (= 6.1.3.1)
43
+ builder (~> 3.1)
44
+ erubi (~> 1.4)
45
+ rails-dom-testing (~> 2.0)
46
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
47
+ activejob (6.1.3.1)
48
+ activesupport (= 6.1.3.1)
49
+ globalid (>= 0.3.6)
50
+ activemodel (6.1.3.1)
51
+ activesupport (= 6.1.3.1)
52
+ activerecord (6.1.3.1)
53
+ activemodel (= 6.1.3.1)
54
+ activesupport (= 6.1.3.1)
55
+ activestorage (6.1.3.1)
56
+ actionpack (= 6.1.3.1)
57
+ activejob (= 6.1.3.1)
58
+ activerecord (= 6.1.3.1)
59
+ activesupport (= 6.1.3.1)
60
+ marcel (~> 1.0.0)
61
+ mini_mime (~> 1.0.2)
62
+ activesupport (6.1.3.1)
63
+ concurrent-ruby (~> 1.0, >= 1.0.2)
64
+ i18n (>= 1.6, < 2)
65
+ minitest (>= 5.1)
66
+ tzinfo (~> 2.0)
67
+ zeitwerk (~> 2.3)
68
+ appraisal (2.4.0)
69
+ bundler
70
+ rake
71
+ thor (>= 0.14.0)
72
+ ast (2.4.2)
73
+ builder (3.2.4)
74
+ concurrent-ruby (1.1.8)
75
+ crass (1.0.6)
76
+ diff-lcs (1.4.4)
77
+ docile (1.3.5)
78
+ erubi (1.10.0)
79
+ globalid (0.4.2)
80
+ activesupport (>= 4.2.0)
81
+ i18n (1.8.10)
82
+ concurrent-ruby (~> 1.0)
83
+ loofah (2.9.1)
84
+ crass (~> 1.0.2)
85
+ nokogiri (>= 1.5.9)
86
+ mail (2.7.1)
87
+ mini_mime (>= 0.1.1)
88
+ marcel (1.0.1)
89
+ method_source (1.0.0)
90
+ mini_mime (1.0.3)
91
+ minitest (5.14.4)
92
+ nio4r (2.5.7)
93
+ nokogiri (1.11.3-x86_64-darwin)
94
+ racc (~> 1.4)
95
+ parallel (1.20.1)
96
+ parser (3.0.1.0)
97
+ ast (~> 2.4.1)
98
+ racc (1.5.2)
99
+ rack (2.2.3)
100
+ rack-test (1.1.0)
101
+ rack (>= 1.0, < 3)
102
+ rails (6.1.3.1)
103
+ actioncable (= 6.1.3.1)
104
+ actionmailbox (= 6.1.3.1)
105
+ actionmailer (= 6.1.3.1)
106
+ actionpack (= 6.1.3.1)
107
+ actiontext (= 6.1.3.1)
108
+ actionview (= 6.1.3.1)
109
+ activejob (= 6.1.3.1)
110
+ activemodel (= 6.1.3.1)
111
+ activerecord (= 6.1.3.1)
112
+ activestorage (= 6.1.3.1)
113
+ activesupport (= 6.1.3.1)
114
+ bundler (>= 1.15.0)
115
+ railties (= 6.1.3.1)
116
+ sprockets-rails (>= 2.0.0)
117
+ rails-dom-testing (2.0.3)
118
+ activesupport (>= 4.2.0)
119
+ nokogiri (>= 1.6)
120
+ rails-html-sanitizer (1.3.0)
121
+ loofah (~> 2.3)
122
+ railties (6.1.3.1)
123
+ actionpack (= 6.1.3.1)
124
+ activesupport (= 6.1.3.1)
125
+ method_source
126
+ rake (>= 0.8.7)
127
+ thor (~> 1.0)
128
+ rainbow (3.0.0)
129
+ rake (13.0.3)
130
+ regexp_parser (2.1.1)
131
+ rexml (3.2.5)
132
+ rspec (3.10.0)
133
+ rspec-core (~> 3.10.0)
134
+ rspec-expectations (~> 3.10.0)
135
+ rspec-mocks (~> 3.10.0)
136
+ rspec-core (3.10.1)
137
+ rspec-support (~> 3.10.0)
138
+ rspec-expectations (3.10.1)
139
+ diff-lcs (>= 1.2.0, < 2.0)
140
+ rspec-support (~> 3.10.0)
141
+ rspec-mocks (3.10.2)
142
+ diff-lcs (>= 1.2.0, < 2.0)
143
+ rspec-support (~> 3.10.0)
144
+ rspec-rails (4.1.2)
145
+ actionpack (>= 4.2)
146
+ activesupport (>= 4.2)
147
+ railties (>= 4.2)
148
+ rspec-core (~> 3.10)
149
+ rspec-expectations (~> 3.10)
150
+ rspec-mocks (~> 3.10)
151
+ rspec-support (~> 3.10)
152
+ rspec-support (3.10.2)
153
+ rubocop (1.11.0)
154
+ parallel (~> 1.10)
155
+ parser (>= 3.0.0.0)
156
+ rainbow (>= 2.2.2, < 4.0)
157
+ regexp_parser (>= 1.8, < 3.0)
158
+ rexml
159
+ rubocop-ast (>= 1.2.0, < 2.0)
160
+ ruby-progressbar (~> 1.7)
161
+ unicode-display_width (>= 1.4.0, < 3.0)
162
+ rubocop-ast (1.4.1)
163
+ parser (>= 2.7.1.5)
164
+ rubocop-performance (1.10.1)
165
+ rubocop (>= 0.90.0, < 2.0)
166
+ rubocop-ast (>= 0.4.0)
167
+ ruby-progressbar (1.11.0)
168
+ simplecov (0.21.2)
169
+ docile (~> 1.1)
170
+ simplecov-html (~> 0.11)
171
+ simplecov_json_formatter (~> 0.1)
172
+ simplecov-html (0.12.3)
173
+ simplecov_json_formatter (0.1.2)
174
+ sprockets (4.0.2)
175
+ concurrent-ruby (~> 1.0)
176
+ rack (> 1, < 3)
177
+ sprockets-rails (3.2.2)
178
+ actionpack (>= 4.0)
179
+ activesupport (>= 4.0)
180
+ sprockets (>= 3.0.0)
181
+ standard (1.0.4)
182
+ rubocop (= 1.11.0)
183
+ rubocop-performance (= 1.10.1)
184
+ standardrb (1.0.0)
185
+ standard
186
+ thor (1.1.0)
187
+ tzinfo (2.0.4)
188
+ concurrent-ruby (~> 1.0)
189
+ unicode-display_width (2.0.0)
190
+ websocket-driver (0.7.3)
191
+ websocket-extensions (>= 0.1.0)
192
+ websocket-extensions (0.1.5)
193
+ yard (0.9.26)
194
+ zeitwerk (2.4.2)
195
+
196
+ PLATFORMS
197
+ x86_64-darwin-20
198
+
199
+ DEPENDENCIES
200
+ appraisal (~> 2.4)
201
+ rails (~> 6.0)
202
+ rake (~> 13.0)
203
+ rspec (~> 3.0)
204
+ rspec-rails (~> 4.0)
205
+ simple_analytics_rails!
206
+ simplecov
207
+ standardrb (~> 1.0)
208
+ yard (~> 0.9)
209
+
210
+ BUNDLED WITH
211
+ 2.2.15