date_book 0.1.1 → 0.1.3
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/.travis.yml +21 -3
- data/Gemfile +2 -2
- data/Gemfile.lock +49 -45
- data/VERSION +1 -1
- data/config/routes.rb +1 -1
- data/date_book.gemspec +3 -5
- data/lib/date_book.rb +1 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/rails_helper.rb +17 -1
- metadata +2 -4
- data/app/jobs/date_book/application_job.rb +0 -6
- data/app/mailers/date_book/application_mailer.rb +0 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9313fdcea72f8dc8ea2f308bd9d36237f87abe11
|
|
4
|
+
data.tar.gz: 500cc637ab048305ec1156361df3483821a762cb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 50a404dcc241886b9e591e627d3789face6af83df77445bc16fb77b7502ed794287d202120b1dad4b55b923775d6b79a9006958ad152790f15965f9a90e6b4f8
|
|
7
|
+
data.tar.gz: d9c757089ca4c97c82af0156c01d70ad00a0a67d7af3c3e53a45179cd21411bf6f416f104ac94c11731d028cc57c83816015d633ceb7cb7d34ea94570307e625
|
data/.travis.yml
CHANGED
|
@@ -1,7 +1,25 @@
|
|
|
1
1
|
language: ruby
|
|
2
|
+
sudo: required
|
|
3
|
+
dist: trusty
|
|
2
4
|
rvm:
|
|
3
5
|
- 2.4.1
|
|
6
|
+
gemfile:
|
|
7
|
+
- Gemfile
|
|
8
|
+
addons:
|
|
9
|
+
apt:
|
|
10
|
+
sources:
|
|
11
|
+
- google-chrome
|
|
12
|
+
packages:
|
|
13
|
+
- google-chrome-stable
|
|
14
|
+
before_install:
|
|
15
|
+
- mkdir -p ~/drivers; export PATH=~/drivers:$PATH;
|
|
16
|
+
- CHROMEDRIVER_VERSION=$(wget -q -O - http://chromedriver.storage.googleapis.com/LATEST_RELEASE);
|
|
17
|
+
CHROMEDRIVER_URL="http://chromedriver.storage.googleapis.com/$CHROMEDRIVER_VERSION/chromedriver_linux64.zip";
|
|
18
|
+
FILE=`mktemp`; wget "$CHROMEDRIVER_URL" -qO $FILE && unzip $FILE chromedriver -d ~/drivers; rm $FILE; chmod 777 ~/drivers/chromedriver;
|
|
19
|
+
~/drivers/chromedriver --version;
|
|
4
20
|
before_script:
|
|
5
|
-
-
|
|
6
|
-
|
|
7
|
-
|
|
21
|
+
- if [[ -z $HEADLESS ]]; then
|
|
22
|
+
export DISPLAY=:99.0;
|
|
23
|
+
sh -e /etc/init.d/xvfb start;
|
|
24
|
+
sleep 1;
|
|
25
|
+
fi
|
data/Gemfile
CHANGED
|
@@ -93,8 +93,8 @@ group :development, :test do
|
|
|
93
93
|
end
|
|
94
94
|
|
|
95
95
|
group :test do
|
|
96
|
-
gem 'capybara', '
|
|
97
|
-
gem '
|
|
96
|
+
gem 'capybara', '>= 2.7', '< 3'
|
|
97
|
+
gem 'selenium-webdriver', '>= 3', '< 4'
|
|
98
98
|
gem 'coveralls', '~> 0.8', require: false
|
|
99
99
|
gem 'database_cleaner', '~> 1.4'
|
|
100
100
|
gem 'launchy', '~> 2', require: false
|
data/Gemfile.lock
CHANGED
|
@@ -10,39 +10,39 @@ GIT
|
|
|
10
10
|
GEM
|
|
11
11
|
remote: https://rubygems.org/
|
|
12
12
|
specs:
|
|
13
|
-
actioncable (5.1.
|
|
14
|
-
actionpack (= 5.1.
|
|
13
|
+
actioncable (5.1.3)
|
|
14
|
+
actionpack (= 5.1.3)
|
|
15
15
|
nio4r (~> 2.0)
|
|
16
16
|
websocket-driver (~> 0.6.1)
|
|
17
|
-
actionmailer (5.1.
|
|
18
|
-
actionpack (= 5.1.
|
|
19
|
-
actionview (= 5.1.
|
|
20
|
-
activejob (= 5.1.
|
|
17
|
+
actionmailer (5.1.3)
|
|
18
|
+
actionpack (= 5.1.3)
|
|
19
|
+
actionview (= 5.1.3)
|
|
20
|
+
activejob (= 5.1.3)
|
|
21
21
|
mail (~> 2.5, >= 2.5.4)
|
|
22
22
|
rails-dom-testing (~> 2.0)
|
|
23
|
-
actionpack (5.1.
|
|
24
|
-
actionview (= 5.1.
|
|
25
|
-
activesupport (= 5.1.
|
|
23
|
+
actionpack (5.1.3)
|
|
24
|
+
actionview (= 5.1.3)
|
|
25
|
+
activesupport (= 5.1.3)
|
|
26
26
|
rack (~> 2.0)
|
|
27
27
|
rack-test (~> 0.6.3)
|
|
28
28
|
rails-dom-testing (~> 2.0)
|
|
29
29
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
30
|
-
actionview (5.1.
|
|
31
|
-
activesupport (= 5.1.
|
|
30
|
+
actionview (5.1.3)
|
|
31
|
+
activesupport (= 5.1.3)
|
|
32
32
|
builder (~> 3.1)
|
|
33
33
|
erubi (~> 1.4)
|
|
34
34
|
rails-dom-testing (~> 2.0)
|
|
35
35
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
|
36
|
-
activejob (5.1.
|
|
37
|
-
activesupport (= 5.1.
|
|
36
|
+
activejob (5.1.3)
|
|
37
|
+
activesupport (= 5.1.3)
|
|
38
38
|
globalid (>= 0.3.6)
|
|
39
|
-
activemodel (5.1.
|
|
40
|
-
activesupport (= 5.1.
|
|
41
|
-
activerecord (5.1.
|
|
42
|
-
activemodel (= 5.1.
|
|
43
|
-
activesupport (= 5.1.
|
|
39
|
+
activemodel (5.1.3)
|
|
40
|
+
activesupport (= 5.1.3)
|
|
41
|
+
activerecord (5.1.3)
|
|
42
|
+
activemodel (= 5.1.3)
|
|
43
|
+
activesupport (= 5.1.3)
|
|
44
44
|
arel (~> 8.0)
|
|
45
|
-
activesupport (5.1.
|
|
45
|
+
activesupport (5.1.3)
|
|
46
46
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
47
47
|
i18n (~> 0.7)
|
|
48
48
|
minitest (~> 5.1)
|
|
@@ -50,7 +50,7 @@ GEM
|
|
|
50
50
|
addressable (2.4.0)
|
|
51
51
|
arel (8.0.0)
|
|
52
52
|
ast (2.3.0)
|
|
53
|
-
autoprefixer-rails (7.1.2.
|
|
53
|
+
autoprefixer-rails (7.1.2.4)
|
|
54
54
|
execjs
|
|
55
55
|
bcrypt (3.1.11)
|
|
56
56
|
bootstrap-sass (3.3.7)
|
|
@@ -70,16 +70,15 @@ GEM
|
|
|
70
70
|
builder (3.2.3)
|
|
71
71
|
byebug (9.0.6)
|
|
72
72
|
cancancan (2.0.0)
|
|
73
|
-
capybara (2.
|
|
73
|
+
capybara (2.15.1)
|
|
74
74
|
addressable
|
|
75
|
-
|
|
75
|
+
mini_mime (>= 0.1.3)
|
|
76
76
|
nokogiri (>= 1.3.3)
|
|
77
77
|
rack (>= 1.0.0)
|
|
78
78
|
rack-test (>= 0.5.4)
|
|
79
79
|
xpath (~> 2.0)
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
json
|
|
80
|
+
childprocess (0.7.1)
|
|
81
|
+
ffi (~> 1.0, >= 1.0.11)
|
|
83
82
|
cliver (0.3.2)
|
|
84
83
|
concurrent-ruby (1.0.5)
|
|
85
84
|
coveralls (0.8.21)
|
|
@@ -130,9 +129,9 @@ GEM
|
|
|
130
129
|
oauth2 (~> 1.0)
|
|
131
130
|
globalid (0.4.0)
|
|
132
131
|
activesupport (>= 4.2.0)
|
|
133
|
-
graphiql-rails (1.4.
|
|
132
|
+
graphiql-rails (1.4.4)
|
|
134
133
|
rails
|
|
135
|
-
graphql (1.6.
|
|
134
|
+
graphql (1.6.7)
|
|
136
135
|
haml (5.0.2)
|
|
137
136
|
temple (>= 0.8.0)
|
|
138
137
|
tilt
|
|
@@ -185,6 +184,7 @@ GEM
|
|
|
185
184
|
mime-types (>= 1.16, < 4)
|
|
186
185
|
method_source (0.8.2)
|
|
187
186
|
mime-types (2.99.3)
|
|
187
|
+
mini_mime (0.1.4)
|
|
188
188
|
mini_portile2 (2.2.0)
|
|
189
189
|
minitest (5.10.3)
|
|
190
190
|
momentjs-rails (2.17.1)
|
|
@@ -206,7 +206,7 @@ GEM
|
|
|
206
206
|
parallel (1.12.0)
|
|
207
207
|
parser (2.4.0.0)
|
|
208
208
|
ast (~> 2.2)
|
|
209
|
-
poltergeist (1.
|
|
209
|
+
poltergeist (1.16.0)
|
|
210
210
|
capybara (~> 2.1)
|
|
211
211
|
cliver (~> 0.3.1)
|
|
212
212
|
websocket-driver (>= 0.2.0)
|
|
@@ -216,17 +216,17 @@ GEM
|
|
|
216
216
|
rack-cors (1.0.1)
|
|
217
217
|
rack-test (0.6.3)
|
|
218
218
|
rack (>= 1.0)
|
|
219
|
-
rails (5.1.
|
|
220
|
-
actioncable (= 5.1.
|
|
221
|
-
actionmailer (= 5.1.
|
|
222
|
-
actionpack (= 5.1.
|
|
223
|
-
actionview (= 5.1.
|
|
224
|
-
activejob (= 5.1.
|
|
225
|
-
activemodel (= 5.1.
|
|
226
|
-
activerecord (= 5.1.
|
|
227
|
-
activesupport (= 5.1.
|
|
228
|
-
bundler (>= 1.3.0
|
|
229
|
-
railties (= 5.1.
|
|
219
|
+
rails (5.1.3)
|
|
220
|
+
actioncable (= 5.1.3)
|
|
221
|
+
actionmailer (= 5.1.3)
|
|
222
|
+
actionpack (= 5.1.3)
|
|
223
|
+
actionview (= 5.1.3)
|
|
224
|
+
activejob (= 5.1.3)
|
|
225
|
+
activemodel (= 5.1.3)
|
|
226
|
+
activerecord (= 5.1.3)
|
|
227
|
+
activesupport (= 5.1.3)
|
|
228
|
+
bundler (>= 1.3.0)
|
|
229
|
+
railties (= 5.1.3)
|
|
230
230
|
sprockets-rails (>= 2.0.0)
|
|
231
231
|
rails-controller-testing (1.0.2)
|
|
232
232
|
actionpack (~> 5.x, >= 5.0.1)
|
|
@@ -240,9 +240,9 @@ GEM
|
|
|
240
240
|
rails-i18n (5.0.4)
|
|
241
241
|
i18n (~> 0.7)
|
|
242
242
|
railties (~> 5.0)
|
|
243
|
-
railties (5.1.
|
|
244
|
-
actionpack (= 5.1.
|
|
245
|
-
activesupport (= 5.1.
|
|
243
|
+
railties (5.1.3)
|
|
244
|
+
actionpack (= 5.1.3)
|
|
245
|
+
activesupport (= 5.1.3)
|
|
246
246
|
method_source
|
|
247
247
|
rake (>= 0.8.7)
|
|
248
248
|
thor (>= 0.18.1, < 2.0)
|
|
@@ -277,7 +277,7 @@ GEM
|
|
|
277
277
|
rspec-mocks (3.6.0)
|
|
278
278
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
279
279
|
rspec-support (~> 3.6.0)
|
|
280
|
-
rspec-rails (3.6.
|
|
280
|
+
rspec-rails (3.6.1)
|
|
281
281
|
actionpack (>= 3.0)
|
|
282
282
|
activesupport (>= 3.0)
|
|
283
283
|
railties (>= 3.0)
|
|
@@ -296,6 +296,7 @@ GEM
|
|
|
296
296
|
ruby-progressbar (1.8.1)
|
|
297
297
|
ruby_parser (3.10.1)
|
|
298
298
|
sexp_processor (~> 4.9)
|
|
299
|
+
rubyzip (1.2.1)
|
|
299
300
|
sass (3.5.1)
|
|
300
301
|
sass-listen (~> 4.0.0)
|
|
301
302
|
sass-listen (4.0.0)
|
|
@@ -308,6 +309,9 @@ GEM
|
|
|
308
309
|
sprockets-rails (>= 2.0, < 4.0)
|
|
309
310
|
tilt (>= 1.1, < 3)
|
|
310
311
|
seedbank (0.4.0)
|
|
312
|
+
selenium-webdriver (3.5.0)
|
|
313
|
+
childprocess (~> 0.5)
|
|
314
|
+
rubyzip (~> 1.0)
|
|
311
315
|
semver2 (3.4.2)
|
|
312
316
|
sexp_processor (4.10.0)
|
|
313
317
|
shoulda-matchers (3.1.2)
|
|
@@ -355,8 +359,7 @@ DEPENDENCIES
|
|
|
355
359
|
bundler (~> 1.0)
|
|
356
360
|
byebug (~> 9)
|
|
357
361
|
cancancan (>= 2.0, < 3)
|
|
358
|
-
capybara (
|
|
359
|
-
capybara-webkit (>= 1.1, < 2)
|
|
362
|
+
capybara (>= 2.7, < 3)
|
|
360
363
|
coveralls (~> 0.8)
|
|
361
364
|
database_cleaner (~> 1.4)
|
|
362
365
|
devise (>= 4.3, < 5)
|
|
@@ -390,6 +393,7 @@ DEPENDENCIES
|
|
|
390
393
|
sass-rails (>= 5.0, < 6)
|
|
391
394
|
schedulable (>= 0.0.10, < 1)!
|
|
392
395
|
seedbank (~> 0.3)
|
|
396
|
+
selenium-webdriver (>= 3, < 4)
|
|
393
397
|
shoulda-matchers (>= 2.8, < 3.2)
|
|
394
398
|
sqlite3 (~> 1.3)
|
|
395
399
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.3
|
data/config/routes.rb
CHANGED
data/date_book.gemspec
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: date_book 0.1.
|
|
5
|
+
# stub: date_book 0.1.3 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "date_book".freeze
|
|
9
|
-
s.version = "0.1.
|
|
9
|
+
s.version = "0.1.3"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib".freeze]
|
|
13
13
|
s.authors = ["Karen Lundgren".freeze]
|
|
14
|
-
s.date = "2017-08-
|
|
14
|
+
s.date = "2017-08-13"
|
|
15
15
|
s.email = "karen.e.lundgren@gmail.com".freeze
|
|
16
16
|
s.extra_rdoc_files = [
|
|
17
17
|
"LICENSE.txt",
|
|
@@ -52,8 +52,6 @@ Gem::Specification.new do |s|
|
|
|
52
52
|
"app/graphql/types/query_type.rb",
|
|
53
53
|
"app/helpers/date_book/application_helper.rb",
|
|
54
54
|
"app/helpers/date_book/events_helper.rb",
|
|
55
|
-
"app/jobs/date_book/application_job.rb",
|
|
56
|
-
"app/mailers/date_book/application_mailer.rb",
|
|
57
55
|
"app/views/date_book/application/_date_range.html.haml",
|
|
58
56
|
"app/views/date_book/application/_wysiwyg.html.haml",
|
|
59
57
|
"app/views/date_book/calendars/_form.html.haml",
|
data/lib/date_book.rb
CHANGED
data/spec/dummy/db/test.sqlite3
CHANGED
|
Binary file
|
data/spec/rails_helper.rb
CHANGED
|
@@ -40,7 +40,23 @@ Dir[DateBook::Engine.root.join('spec/support/**/*.rb')]
|
|
|
40
40
|
ActiveRecord::Migrator.migrations_paths = 'spec/dummy/db/migrate'
|
|
41
41
|
ActiveRecord::Migration.maintain_test_schema!
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
require 'selenium/webdriver'
|
|
44
|
+
|
|
45
|
+
Capybara.register_driver :chrome do |app|
|
|
46
|
+
Capybara::Selenium::Driver.new(app, browser: :chrome)
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
Capybara.register_driver :headless_chrome do |app|
|
|
50
|
+
capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(
|
|
51
|
+
chromeOptions: { args: %w(headless disable-gpu) }
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
Capybara::Selenium::Driver.new app,
|
|
55
|
+
browser: :chrome,
|
|
56
|
+
desired_capabilities: capabilities
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
Capybara.javascript_driver = :headless_chrome
|
|
44
60
|
|
|
45
61
|
Shoulda::Matchers.configure do |config|
|
|
46
62
|
config.integrate do |with|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: date_book
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Karen Lundgren
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-08-
|
|
11
|
+
date: 2017-08-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -662,8 +662,6 @@ files:
|
|
|
662
662
|
- app/graphql/types/query_type.rb
|
|
663
663
|
- app/helpers/date_book/application_helper.rb
|
|
664
664
|
- app/helpers/date_book/events_helper.rb
|
|
665
|
-
- app/jobs/date_book/application_job.rb
|
|
666
|
-
- app/mailers/date_book/application_mailer.rb
|
|
667
665
|
- app/views/date_book/application/_date_range.html.haml
|
|
668
666
|
- app/views/date_book/application/_wysiwyg.html.haml
|
|
669
667
|
- app/views/date_book/calendars/_form.html.haml
|