infractores 1.0.0
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 +7 -0
- data/.env.sample +8 -0
- data/.gitignore +22 -0
- data/.travis.yml +14 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/Gemfile +67 -0
- data/Gemfile.lock +417 -0
- data/Guardfile +8 -0
- data/LICENSE +21 -0
- data/Procfile +2 -0
- data/README.md +48 -0
- data/Rakefile +6 -0
- data/app/assets/images/.keep +0 -0
- data/app/assets/images/gallery-buttons.png +0 -0
- data/app/assets/images/logo-infractores.svg +10 -0
- data/app/assets/javascripts/application.js +18 -0
- data/app/assets/javascripts/bootstrap.js +4 -0
- data/app/assets/javascripts/index.js +82 -0
- data/app/assets/javascripts/twitter.js +18 -0
- data/app/assets/stylesheets/1-utilities/_variables.scss +12 -0
- data/app/assets/stylesheets/2-quarks/_typography.scss +32 -0
- data/app/assets/stylesheets/3-atoms/_buttons.scss +3 -0
- data/app/assets/stylesheets/4-molecules/_footer.scss +32 -0
- data/app/assets/stylesheets/4-molecules/_infraction-gallery.scss +101 -0
- data/app/assets/stylesheets/4-molecules/_navbar.scss +71 -0
- data/app/assets/stylesheets/5-pages/index.scss +165 -0
- data/app/assets/stylesheets/5-pages/show.scss +29 -0
- data/app/assets/stylesheets/application.css +18 -0
- data/app/assets/stylesheets/bootstrap_and_overrides.css +7 -0
- data/app/controllers/application_controller.rb +5 -0
- data/app/controllers/concerns/.keep +0 -0
- data/app/controllers/infractions_controller.rb +23 -0
- data/app/controllers/users_controller.rb +7 -0
- data/app/helpers/application_helper.rb +19 -0
- data/app/helpers/infractions_helper.rb +6 -0
- data/app/mailers/.keep +0 -0
- data/app/models/.keep +0 -0
- data/app/models/concerns/.keep +0 -0
- data/app/models/evidence.rb +23 -0
- data/app/models/infraction.rb +43 -0
- data/app/models/tweet.rb +54 -0
- data/app/models/user.rb +34 -0
- data/app/services/twitter_service.rb +51 -0
- data/app/uploaders/evidence_uploader.rb +62 -0
- data/app/views/infractions/_map.html.erb +17 -0
- data/app/views/infractions/_reported_by.html.erb +4 -0
- data/app/views/infractions/_summary.html.erb +23 -0
- data/app/views/infractions/index.html.erb +18 -0
- data/app/views/infractions/show.html.erb +24 -0
- data/app/views/layouts/application.html.erb +90 -0
- data/app/views/shared/_google_analytics.html.erb +12 -0
- data/app/views/users/index.html.erb +21 -0
- data/app/workers/tweet_inspector.rb +18 -0
- data/bin/bundle +3 -0
- data/bin/rails +8 -0
- data/bin/rake +8 -0
- data/bin/setup +29 -0
- data/bin/spring +15 -0
- data/config.ru +4 -0
- data/config/application.rb +27 -0
- data/config/boot.rb +3 -0
- data/config/database.yml.sample +85 -0
- data/config/environment.rb +5 -0
- data/config/environments/development.rb +50 -0
- data/config/environments/production.rb +79 -0
- data/config/environments/test.rb +42 -0
- data/config/initializers/assets.rb +15 -0
- data/config/initializers/backtrace_silencers.rb +7 -0
- data/config/initializers/carrierwave.rb +17 -0
- data/config/initializers/cookies_serializer.rb +3 -0
- data/config/initializers/filter_parameter_logging.rb +4 -0
- data/config/initializers/inflections.rb +16 -0
- data/config/initializers/mime_types.rb +4 -0
- data/config/initializers/session_store.rb +3 -0
- data/config/initializers/twitter.rb +1 -0
- data/config/initializers/wrap_parameters.rb +14 -0
- data/config/locales/en.bootstrap.yml +23 -0
- data/config/locales/en.yml +23 -0
- data/config/locales/es.yml +263 -0
- data/config/routes.rb +6 -0
- data/config/secrets.yml +22 -0
- data/db/migrate/20150824210535_add_tweets_table.rb +8 -0
- data/db/migrate/20150829133406_create_infractions.rb +11 -0
- data/db/migrate/20150829134520_create_users.rb +12 -0
- data/db/migrate/20150829141909_add_user_id_to_tweets.rb +5 -0
- data/db/migrate/20150829154430_create_locations.rb +10 -0
- data/db/migrate/20150830224603_create_evidences_table.rb +8 -0
- data/db/migrate/20150911020838_add_valid_column_to_infractions.rb +6 -0
- data/db/migrate/20150911025204_add_index_to_users_username.rb +5 -0
- data/db/migrate/20151102220702_add_lat_lon_to_infractions.rb +6 -0
- data/db/migrate/20151102221811_remove_locations.rb +5 -0
- data/db/migrate/20151117194703_add_reported_at_to_infractions.rb +5 -0
- data/db/migrate/20160229023500_change_lat_lon_precision.rb +6 -0
- data/db/seeds.rb +7 -0
- data/infractores.gemspec +25 -0
- data/lib/assets/.keep +0 -0
- data/lib/infractores.rb +1 -0
- data/lib/infractores/version.rb +3 -0
- data/lib/tasks/.keep +0 -0
- data/lib/tasks/twitter.rake +16 -0
- data/lib/tasks/users.rake +9 -0
- data/log/.keep +0 -0
- data/public/404.html +67 -0
- data/public/422.html +67 -0
- data/public/500.html +66 -0
- data/public/favicon.ico +0 -0
- data/public/robots.txt +5 -0
- data/vendor/assets/images/blank.gif +0 -0
- data/vendor/assets/images/fancybox_loading.gif +0 -0
- data/vendor/assets/images/fancybox_loading@2x.gif +0 -0
- data/vendor/assets/images/fancybox_overlay.png +0 -0
- data/vendor/assets/images/fancybox_sprite.png +0 -0
- data/vendor/assets/images/fancybox_sprite@2x.png +0 -0
- data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/.keep +0 -0
- data/vendor/assets/javascripts/jquery.fancybox-buttons.js +122 -0
- data/vendor/assets/javascripts/jquery.fancybox.pack.js +46 -0
- data/vendor/assets/javascripts/livereload.js +1183 -0
- data/vendor/assets/stylesheets/.keep +0 -0
- data/vendor/assets/stylesheets/jquery.fancybox-buttons.css +97 -0
- data/vendor/assets/stylesheets/jquery.fancybox.css +274 -0
- metadata +215 -0
|
File without changes
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
#fancybox-buttons {
|
|
2
|
+
position: fixed;
|
|
3
|
+
left: 0;
|
|
4
|
+
width: 100%;
|
|
5
|
+
z-index: 8050;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
#fancybox-buttons.top {
|
|
9
|
+
top: 10px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
#fancybox-buttons.bottom {
|
|
13
|
+
bottom: 10px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
#fancybox-buttons ul {
|
|
17
|
+
display: block;
|
|
18
|
+
width: 166px;
|
|
19
|
+
height: 30px;
|
|
20
|
+
margin: 0 auto;
|
|
21
|
+
padding: 0;
|
|
22
|
+
list-style: none;
|
|
23
|
+
border: 1px solid #111;
|
|
24
|
+
border-radius: 3px;
|
|
25
|
+
-webkit-box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
|
|
26
|
+
-moz-box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
|
|
27
|
+
box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
|
|
28
|
+
background: rgb(50,50,50);
|
|
29
|
+
background: -moz-linear-gradient(top, rgb(68,68,68) 0%, rgb(52,52,52) 50%, rgb(41,41,41) 50%, rgb(51,51,51) 100%);
|
|
30
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(68,68,68)), color-stop(50%,rgb(52,52,52)), color-stop(50%,rgb(41,41,41)), color-stop(100%,rgb(51,51,51)));
|
|
31
|
+
background: -webkit-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%);
|
|
32
|
+
background: -o-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%);
|
|
33
|
+
background: -ms-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%);
|
|
34
|
+
background: linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%);
|
|
35
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#222222',GradientType=0 );
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
#fancybox-buttons ul li {
|
|
39
|
+
float: left;
|
|
40
|
+
margin: 0;
|
|
41
|
+
padding: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
#fancybox-buttons a {
|
|
45
|
+
display: block;
|
|
46
|
+
width: 30px;
|
|
47
|
+
height: 30px;
|
|
48
|
+
text-indent: -9999px;
|
|
49
|
+
background-color: transparent;
|
|
50
|
+
background-image: url('fancybox_buttons.png');
|
|
51
|
+
background-repeat: no-repeat;
|
|
52
|
+
outline: none;
|
|
53
|
+
opacity: 0.8;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
#fancybox-buttons a:hover {
|
|
57
|
+
opacity: 1;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
#fancybox-buttons a.btnPrev {
|
|
61
|
+
background-position: 5px 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
#fancybox-buttons a.btnNext {
|
|
65
|
+
background-position: -33px 0;
|
|
66
|
+
border-right: 1px solid #3e3e3e;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
#fancybox-buttons a.btnPlay {
|
|
70
|
+
background-position: 0 -30px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
#fancybox-buttons a.btnPlayOn {
|
|
74
|
+
background-position: -30px -30px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
#fancybox-buttons a.btnToggle {
|
|
78
|
+
background-position: 3px -60px;
|
|
79
|
+
border-left: 1px solid #111;
|
|
80
|
+
border-right: 1px solid #3e3e3e;
|
|
81
|
+
width: 35px
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
#fancybox-buttons a.btnToggleOn {
|
|
85
|
+
background-position: -27px -60px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
#fancybox-buttons a.btnClose {
|
|
89
|
+
border-left: 1px solid #111;
|
|
90
|
+
width: 35px;
|
|
91
|
+
background-position: -56px 0px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
#fancybox-buttons a.btnDisabled {
|
|
95
|
+
opacity : 0.4;
|
|
96
|
+
cursor: default;
|
|
97
|
+
}
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
|
|
2
|
+
.fancybox-wrap,
|
|
3
|
+
.fancybox-skin,
|
|
4
|
+
.fancybox-outer,
|
|
5
|
+
.fancybox-inner,
|
|
6
|
+
.fancybox-image,
|
|
7
|
+
.fancybox-wrap iframe,
|
|
8
|
+
.fancybox-wrap object,
|
|
9
|
+
.fancybox-nav,
|
|
10
|
+
.fancybox-nav span,
|
|
11
|
+
.fancybox-tmp
|
|
12
|
+
{
|
|
13
|
+
padding: 0;
|
|
14
|
+
margin: 0;
|
|
15
|
+
border: 0;
|
|
16
|
+
outline: none;
|
|
17
|
+
vertical-align: top;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.fancybox-wrap {
|
|
21
|
+
position: absolute;
|
|
22
|
+
top: 0;
|
|
23
|
+
left: 0;
|
|
24
|
+
z-index: 8020;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.fancybox-skin {
|
|
28
|
+
position: relative;
|
|
29
|
+
background: #f9f9f9;
|
|
30
|
+
color: #444;
|
|
31
|
+
text-shadow: none;
|
|
32
|
+
-webkit-border-radius: 4px;
|
|
33
|
+
-moz-border-radius: 4px;
|
|
34
|
+
border-radius: 4px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.fancybox-opened {
|
|
38
|
+
z-index: 8030;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.fancybox-opened .fancybox-skin {
|
|
42
|
+
-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
|
|
43
|
+
-moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
|
|
44
|
+
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.fancybox-outer, .fancybox-inner {
|
|
48
|
+
position: relative;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.fancybox-inner {
|
|
52
|
+
overflow: hidden;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.fancybox-type-iframe .fancybox-inner {
|
|
56
|
+
-webkit-overflow-scrolling: touch;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.fancybox-error {
|
|
60
|
+
color: #444;
|
|
61
|
+
font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
|
|
62
|
+
margin: 0;
|
|
63
|
+
padding: 15px;
|
|
64
|
+
white-space: nowrap;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.fancybox-image, .fancybox-iframe {
|
|
68
|
+
display: block;
|
|
69
|
+
width: 100%;
|
|
70
|
+
height: 100%;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.fancybox-image {
|
|
74
|
+
max-width: 100%;
|
|
75
|
+
max-height: 100%;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
|
|
79
|
+
background-image: url('fancybox_sprite.png');
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
#fancybox-loading {
|
|
83
|
+
position: fixed;
|
|
84
|
+
top: 50%;
|
|
85
|
+
left: 50%;
|
|
86
|
+
margin-top: -22px;
|
|
87
|
+
margin-left: -22px;
|
|
88
|
+
background-position: 0 -108px;
|
|
89
|
+
opacity: 0.8;
|
|
90
|
+
cursor: pointer;
|
|
91
|
+
z-index: 8060;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
#fancybox-loading div {
|
|
95
|
+
width: 44px;
|
|
96
|
+
height: 44px;
|
|
97
|
+
background: url('fancybox_loading.gif') center center no-repeat;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.fancybox-close {
|
|
101
|
+
position: absolute;
|
|
102
|
+
top: -18px;
|
|
103
|
+
right: -18px;
|
|
104
|
+
width: 36px;
|
|
105
|
+
height: 36px;
|
|
106
|
+
cursor: pointer;
|
|
107
|
+
z-index: 8040;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.fancybox-nav {
|
|
111
|
+
position: absolute;
|
|
112
|
+
top: 0;
|
|
113
|
+
width: 40%;
|
|
114
|
+
height: 100%;
|
|
115
|
+
cursor: pointer;
|
|
116
|
+
text-decoration: none;
|
|
117
|
+
background: transparent url('blank.gif'); /* helps IE */
|
|
118
|
+
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
119
|
+
z-index: 8040;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.fancybox-prev {
|
|
123
|
+
left: 0;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.fancybox-next {
|
|
127
|
+
right: 0;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.fancybox-nav span {
|
|
131
|
+
position: absolute;
|
|
132
|
+
top: 50%;
|
|
133
|
+
width: 36px;
|
|
134
|
+
height: 34px;
|
|
135
|
+
margin-top: -18px;
|
|
136
|
+
cursor: pointer;
|
|
137
|
+
z-index: 8040;
|
|
138
|
+
visibility: hidden;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.fancybox-prev span {
|
|
142
|
+
left: 10px;
|
|
143
|
+
background-position: 0 -36px;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.fancybox-next span {
|
|
147
|
+
right: 10px;
|
|
148
|
+
background-position: 0 -72px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.fancybox-nav:hover span {
|
|
152
|
+
visibility: visible;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.fancybox-tmp {
|
|
156
|
+
position: absolute;
|
|
157
|
+
top: -99999px;
|
|
158
|
+
left: -99999px;
|
|
159
|
+
visibility: hidden;
|
|
160
|
+
max-width: 99999px;
|
|
161
|
+
max-height: 99999px;
|
|
162
|
+
overflow: visible !important;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/* Overlay helper */
|
|
166
|
+
|
|
167
|
+
.fancybox-lock {
|
|
168
|
+
overflow: hidden !important;
|
|
169
|
+
width: auto;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.fancybox-lock body {
|
|
173
|
+
overflow: hidden !important;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.fancybox-lock-test {
|
|
177
|
+
overflow-y: hidden !important;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.fancybox-overlay {
|
|
181
|
+
position: absolute;
|
|
182
|
+
top: 0;
|
|
183
|
+
left: 0;
|
|
184
|
+
overflow: hidden;
|
|
185
|
+
display: none;
|
|
186
|
+
z-index: 8010;
|
|
187
|
+
background: url('fancybox_overlay.png');
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.fancybox-overlay-fixed {
|
|
191
|
+
position: fixed;
|
|
192
|
+
bottom: 0;
|
|
193
|
+
right: 0;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.fancybox-lock .fancybox-overlay {
|
|
197
|
+
overflow: auto;
|
|
198
|
+
overflow-y: scroll;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/* Title helper */
|
|
202
|
+
|
|
203
|
+
.fancybox-title {
|
|
204
|
+
visibility: hidden;
|
|
205
|
+
font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
|
|
206
|
+
position: relative;
|
|
207
|
+
text-shadow: none;
|
|
208
|
+
z-index: 8050;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.fancybox-opened .fancybox-title {
|
|
212
|
+
visibility: visible;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.fancybox-title-float-wrap {
|
|
216
|
+
position: absolute;
|
|
217
|
+
bottom: 0;
|
|
218
|
+
right: 50%;
|
|
219
|
+
margin-bottom: -35px;
|
|
220
|
+
z-index: 8050;
|
|
221
|
+
text-align: center;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.fancybox-title-float-wrap .child {
|
|
225
|
+
display: inline-block;
|
|
226
|
+
margin-right: -100%;
|
|
227
|
+
padding: 2px 20px;
|
|
228
|
+
background: transparent; /* Fallback for web browsers that doesn't support RGBa */
|
|
229
|
+
background: rgba(0, 0, 0, 0.8);
|
|
230
|
+
-webkit-border-radius: 15px;
|
|
231
|
+
-moz-border-radius: 15px;
|
|
232
|
+
border-radius: 15px;
|
|
233
|
+
text-shadow: 0 1px 2px #222;
|
|
234
|
+
color: #FFF;
|
|
235
|
+
font-weight: bold;
|
|
236
|
+
line-height: 24px;
|
|
237
|
+
white-space: nowrap;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.fancybox-title-outside-wrap {
|
|
241
|
+
position: relative;
|
|
242
|
+
margin-top: 10px;
|
|
243
|
+
color: #fff;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.fancybox-title-inside-wrap {
|
|
247
|
+
padding-top: 10px;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.fancybox-title-over-wrap {
|
|
251
|
+
position: absolute;
|
|
252
|
+
bottom: 0;
|
|
253
|
+
left: 0;
|
|
254
|
+
color: #fff;
|
|
255
|
+
padding: 10px;
|
|
256
|
+
background: #000;
|
|
257
|
+
background: rgba(0, 0, 0, .8);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/*Retina graphics!*/
|
|
261
|
+
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
|
262
|
+
only screen and (min--moz-device-pixel-ratio: 1.5),
|
|
263
|
+
only screen and (min-device-pixel-ratio: 1.5){
|
|
264
|
+
|
|
265
|
+
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
|
|
266
|
+
background-image: url('fancybox_sprite@2x.png');
|
|
267
|
+
background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
#fancybox-loading div {
|
|
271
|
+
background-image: url('fancybox_loading@2x.gif');
|
|
272
|
+
background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
|
|
273
|
+
}
|
|
274
|
+
}
|
metadata
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: infractores
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Ernesto Tagwerker
|
|
8
|
+
- Mauro Otonelli
|
|
9
|
+
autorequire:
|
|
10
|
+
bindir: bin
|
|
11
|
+
cert_chain: []
|
|
12
|
+
date: 2016-05-09 00:00:00.000000000 Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
15
|
+
name: bundler
|
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
|
17
|
+
requirements:
|
|
18
|
+
- - "~>"
|
|
19
|
+
- !ruby/object:Gem::Version
|
|
20
|
+
version: '1.12'
|
|
21
|
+
type: :development
|
|
22
|
+
prerelease: false
|
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
24
|
+
requirements:
|
|
25
|
+
- - "~>"
|
|
26
|
+
- !ruby/object:Gem::Version
|
|
27
|
+
version: '1.12'
|
|
28
|
+
- !ruby/object:Gem::Dependency
|
|
29
|
+
name: rake
|
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
|
31
|
+
requirements:
|
|
32
|
+
- - "~>"
|
|
33
|
+
- !ruby/object:Gem::Version
|
|
34
|
+
version: '10.0'
|
|
35
|
+
type: :development
|
|
36
|
+
prerelease: false
|
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
38
|
+
requirements:
|
|
39
|
+
- - "~>"
|
|
40
|
+
- !ruby/object:Gem::Version
|
|
41
|
+
version: '10.0'
|
|
42
|
+
- !ruby/object:Gem::Dependency
|
|
43
|
+
name: rspec
|
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
|
45
|
+
requirements:
|
|
46
|
+
- - "~>"
|
|
47
|
+
- !ruby/object:Gem::Version
|
|
48
|
+
version: '3.0'
|
|
49
|
+
type: :development
|
|
50
|
+
prerelease: false
|
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
52
|
+
requirements:
|
|
53
|
+
- - "~>"
|
|
54
|
+
- !ruby/object:Gem::Version
|
|
55
|
+
version: '3.0'
|
|
56
|
+
description: Track any kind of violations via Twitter with a geolocated tweet
|
|
57
|
+
email:
|
|
58
|
+
- ernesto+github@ombulabs.com
|
|
59
|
+
- mauro.otonelli@gmail.com
|
|
60
|
+
executables:
|
|
61
|
+
- bundle
|
|
62
|
+
- rails
|
|
63
|
+
- rake
|
|
64
|
+
- setup
|
|
65
|
+
- spring
|
|
66
|
+
extensions: []
|
|
67
|
+
extra_rdoc_files: []
|
|
68
|
+
files:
|
|
69
|
+
- ".env.sample"
|
|
70
|
+
- ".gitignore"
|
|
71
|
+
- ".travis.yml"
|
|
72
|
+
- CODE_OF_CONDUCT.md
|
|
73
|
+
- Gemfile
|
|
74
|
+
- Gemfile.lock
|
|
75
|
+
- Guardfile
|
|
76
|
+
- LICENSE
|
|
77
|
+
- Procfile
|
|
78
|
+
- README.md
|
|
79
|
+
- Rakefile
|
|
80
|
+
- app/assets/images/.keep
|
|
81
|
+
- app/assets/images/gallery-buttons.png
|
|
82
|
+
- app/assets/images/logo-infractores.svg
|
|
83
|
+
- app/assets/javascripts/application.js
|
|
84
|
+
- app/assets/javascripts/bootstrap.js
|
|
85
|
+
- app/assets/javascripts/index.js
|
|
86
|
+
- app/assets/javascripts/twitter.js
|
|
87
|
+
- app/assets/stylesheets/1-utilities/_variables.scss
|
|
88
|
+
- app/assets/stylesheets/2-quarks/_typography.scss
|
|
89
|
+
- app/assets/stylesheets/3-atoms/_buttons.scss
|
|
90
|
+
- app/assets/stylesheets/4-molecules/_footer.scss
|
|
91
|
+
- app/assets/stylesheets/4-molecules/_infraction-gallery.scss
|
|
92
|
+
- app/assets/stylesheets/4-molecules/_navbar.scss
|
|
93
|
+
- app/assets/stylesheets/5-pages/index.scss
|
|
94
|
+
- app/assets/stylesheets/5-pages/show.scss
|
|
95
|
+
- app/assets/stylesheets/application.css
|
|
96
|
+
- app/assets/stylesheets/bootstrap_and_overrides.css
|
|
97
|
+
- app/controllers/application_controller.rb
|
|
98
|
+
- app/controllers/concerns/.keep
|
|
99
|
+
- app/controllers/infractions_controller.rb
|
|
100
|
+
- app/controllers/users_controller.rb
|
|
101
|
+
- app/helpers/application_helper.rb
|
|
102
|
+
- app/helpers/infractions_helper.rb
|
|
103
|
+
- app/mailers/.keep
|
|
104
|
+
- app/models/.keep
|
|
105
|
+
- app/models/concerns/.keep
|
|
106
|
+
- app/models/evidence.rb
|
|
107
|
+
- app/models/infraction.rb
|
|
108
|
+
- app/models/tweet.rb
|
|
109
|
+
- app/models/user.rb
|
|
110
|
+
- app/services/twitter_service.rb
|
|
111
|
+
- app/uploaders/evidence_uploader.rb
|
|
112
|
+
- app/views/infractions/_map.html.erb
|
|
113
|
+
- app/views/infractions/_reported_by.html.erb
|
|
114
|
+
- app/views/infractions/_summary.html.erb
|
|
115
|
+
- app/views/infractions/index.html.erb
|
|
116
|
+
- app/views/infractions/show.html.erb
|
|
117
|
+
- app/views/layouts/application.html.erb
|
|
118
|
+
- app/views/shared/_google_analytics.html.erb
|
|
119
|
+
- app/views/users/index.html.erb
|
|
120
|
+
- app/workers/tweet_inspector.rb
|
|
121
|
+
- bin/bundle
|
|
122
|
+
- bin/rails
|
|
123
|
+
- bin/rake
|
|
124
|
+
- bin/setup
|
|
125
|
+
- bin/spring
|
|
126
|
+
- config.ru
|
|
127
|
+
- config/application.rb
|
|
128
|
+
- config/boot.rb
|
|
129
|
+
- config/database.yml.sample
|
|
130
|
+
- config/environment.rb
|
|
131
|
+
- config/environments/development.rb
|
|
132
|
+
- config/environments/production.rb
|
|
133
|
+
- config/environments/test.rb
|
|
134
|
+
- config/initializers/assets.rb
|
|
135
|
+
- config/initializers/backtrace_silencers.rb
|
|
136
|
+
- config/initializers/carrierwave.rb
|
|
137
|
+
- config/initializers/cookies_serializer.rb
|
|
138
|
+
- config/initializers/filter_parameter_logging.rb
|
|
139
|
+
- config/initializers/inflections.rb
|
|
140
|
+
- config/initializers/mime_types.rb
|
|
141
|
+
- config/initializers/session_store.rb
|
|
142
|
+
- config/initializers/twitter.rb
|
|
143
|
+
- config/initializers/wrap_parameters.rb
|
|
144
|
+
- config/locales/en.bootstrap.yml
|
|
145
|
+
- config/locales/en.yml
|
|
146
|
+
- config/locales/es.yml
|
|
147
|
+
- config/routes.rb
|
|
148
|
+
- config/secrets.yml
|
|
149
|
+
- db/migrate/20150824210535_add_tweets_table.rb
|
|
150
|
+
- db/migrate/20150829133406_create_infractions.rb
|
|
151
|
+
- db/migrate/20150829134520_create_users.rb
|
|
152
|
+
- db/migrate/20150829141909_add_user_id_to_tweets.rb
|
|
153
|
+
- db/migrate/20150829154430_create_locations.rb
|
|
154
|
+
- db/migrate/20150830224603_create_evidences_table.rb
|
|
155
|
+
- db/migrate/20150911020838_add_valid_column_to_infractions.rb
|
|
156
|
+
- db/migrate/20150911025204_add_index_to_users_username.rb
|
|
157
|
+
- db/migrate/20151102220702_add_lat_lon_to_infractions.rb
|
|
158
|
+
- db/migrate/20151102221811_remove_locations.rb
|
|
159
|
+
- db/migrate/20151117194703_add_reported_at_to_infractions.rb
|
|
160
|
+
- db/migrate/20160229023500_change_lat_lon_precision.rb
|
|
161
|
+
- db/schema.rb
|
|
162
|
+
- db/seeds.rb
|
|
163
|
+
- infractores.gemspec
|
|
164
|
+
- lib/assets/.keep
|
|
165
|
+
- lib/infractores.rb
|
|
166
|
+
- lib/infractores/version.rb
|
|
167
|
+
- lib/tasks/.keep
|
|
168
|
+
- lib/tasks/twitter.rake
|
|
169
|
+
- lib/tasks/users.rake
|
|
170
|
+
- log/.keep
|
|
171
|
+
- public/404.html
|
|
172
|
+
- public/422.html
|
|
173
|
+
- public/500.html
|
|
174
|
+
- public/favicon.ico
|
|
175
|
+
- public/robots.txt
|
|
176
|
+
- vendor/assets/images/blank.gif
|
|
177
|
+
- vendor/assets/images/fancybox_loading.gif
|
|
178
|
+
- vendor/assets/images/fancybox_loading@2x.gif
|
|
179
|
+
- vendor/assets/images/fancybox_overlay.png
|
|
180
|
+
- vendor/assets/images/fancybox_sprite.png
|
|
181
|
+
- vendor/assets/images/fancybox_sprite@2x.png
|
|
182
|
+
- vendor/assets/images/glyphicons-halflings-white.png
|
|
183
|
+
- vendor/assets/images/glyphicons-halflings.png
|
|
184
|
+
- vendor/assets/javascripts/.keep
|
|
185
|
+
- vendor/assets/javascripts/jquery.fancybox-buttons.js
|
|
186
|
+
- vendor/assets/javascripts/jquery.fancybox.pack.js
|
|
187
|
+
- vendor/assets/javascripts/livereload.js
|
|
188
|
+
- vendor/assets/stylesheets/.keep
|
|
189
|
+
- vendor/assets/stylesheets/jquery.fancybox-buttons.css
|
|
190
|
+
- vendor/assets/stylesheets/jquery.fancybox.css
|
|
191
|
+
homepage: https://github.com/ombulabs/infractores
|
|
192
|
+
licenses:
|
|
193
|
+
- MIT
|
|
194
|
+
metadata: {}
|
|
195
|
+
post_install_message:
|
|
196
|
+
rdoc_options: []
|
|
197
|
+
require_paths:
|
|
198
|
+
- lib
|
|
199
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
200
|
+
requirements:
|
|
201
|
+
- - ">="
|
|
202
|
+
- !ruby/object:Gem::Version
|
|
203
|
+
version: '0'
|
|
204
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
205
|
+
requirements:
|
|
206
|
+
- - ">="
|
|
207
|
+
- !ruby/object:Gem::Version
|
|
208
|
+
version: '0'
|
|
209
|
+
requirements: []
|
|
210
|
+
rubyforge_project:
|
|
211
|
+
rubygems_version: 2.4.5.1
|
|
212
|
+
signing_key:
|
|
213
|
+
specification_version: 4
|
|
214
|
+
summary: Track parking violations reported via Twitter
|
|
215
|
+
test_files: []
|