hubspot-api-client 7.2.0 → 7.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/lib/hubspot/version.rb +1 -1
  4. data/sample-apps/timeline-events-app/.env.template +5 -0
  5. data/sample-apps/timeline-events-app/.gitignore +35 -0
  6. data/sample-apps/timeline-events-app/.rspec +1 -0
  7. data/sample-apps/timeline-events-app/.ruby-version +1 -0
  8. data/sample-apps/timeline-events-app/Dockerfile +22 -0
  9. data/sample-apps/timeline-events-app/Gemfile +33 -0
  10. data/sample-apps/timeline-events-app/Gemfile.lock +271 -0
  11. data/sample-apps/timeline-events-app/README.md +0 -0
  12. data/sample-apps/timeline-events-app/Rakefile +6 -0
  13. data/sample-apps/timeline-events-app/app/assets/config/manifest.js +3 -0
  14. data/sample-apps/timeline-events-app/app/assets/images/.keep +0 -0
  15. data/sample-apps/timeline-events-app/app/assets/javascripts/application.js +15 -0
  16. data/sample-apps/timeline-events-app/app/assets/javascripts/cable.js +13 -0
  17. data/sample-apps/timeline-events-app/app/assets/javascripts/channels/.keep +0 -0
  18. data/sample-apps/timeline-events-app/app/assets/stylesheets/application.css +101 -0
  19. data/sample-apps/timeline-events-app/app/controllers/application_controller.rb +12 -0
  20. data/sample-apps/timeline-events-app/app/controllers/concerns/.keep +0 -0
  21. data/sample-apps/timeline-events-app/app/controllers/concerns/exception_handler.rb +12 -0
  22. data/sample-apps/timeline-events-app/app/controllers/oauth/authorization_controller.rb +19 -0
  23. data/sample-apps/timeline-events-app/app/controllers/timeline_events_controller.rb +37 -0
  24. data/sample-apps/timeline-events-app/app/helpers/application_helper.rb +2 -0
  25. data/sample-apps/timeline-events-app/app/lib/services/authorization/authorize_hubspot.rb +15 -0
  26. data/sample-apps/timeline-events-app/app/lib/services/authorization/get_authorization_uri.rb +33 -0
  27. data/sample-apps/timeline-events-app/app/lib/services/authorization/tokens/base.rb +19 -0
  28. data/sample-apps/timeline-events-app/app/lib/services/authorization/tokens/generate.rb +26 -0
  29. data/sample-apps/timeline-events-app/app/lib/services/authorization/tokens/refresh.rb +33 -0
  30. data/sample-apps/timeline-events-app/app/lib/services/hubspot/contacts/search.rb +37 -0
  31. data/sample-apps/timeline-events-app/app/lib/services/hubspot/timeline/create_event.rb +20 -0
  32. data/sample-apps/timeline-events-app/app/lib/services/hubspot/timeline/create_template.rb +39 -0
  33. data/sample-apps/timeline-events-app/app/models/application_record.rb +3 -0
  34. data/sample-apps/timeline-events-app/app/models/concerns/.keep +0 -0
  35. data/sample-apps/timeline-events-app/app/views/layouts/application.html.erb +23 -0
  36. data/sample-apps/timeline-events-app/app/views/oauth/authorization/login.html.erb +15 -0
  37. data/sample-apps/timeline-events-app/app/views/shared/_header.html.erb +12 -0
  38. data/sample-apps/timeline-events-app/app/views/timeline_events/index.html.erb +55 -0
  39. data/sample-apps/timeline-events-app/bin/bundle +3 -0
  40. data/sample-apps/timeline-events-app/bin/rails +9 -0
  41. data/sample-apps/timeline-events-app/bin/rake +9 -0
  42. data/sample-apps/timeline-events-app/bin/setup +36 -0
  43. data/sample-apps/timeline-events-app/bin/spring +17 -0
  44. data/sample-apps/timeline-events-app/bin/update +31 -0
  45. data/sample-apps/timeline-events-app/bin/yarn +11 -0
  46. data/sample-apps/timeline-events-app/config.ru +5 -0
  47. data/sample-apps/timeline-events-app/config/application.rb +19 -0
  48. data/sample-apps/timeline-events-app/config/boot.rb +3 -0
  49. data/sample-apps/timeline-events-app/config/database.yml +25 -0
  50. data/sample-apps/timeline-events-app/config/environment.rb +5 -0
  51. data/sample-apps/timeline-events-app/config/environments/development.rb +61 -0
  52. data/sample-apps/timeline-events-app/config/environments/production.rb +94 -0
  53. data/sample-apps/timeline-events-app/config/environments/test.rb +46 -0
  54. data/sample-apps/timeline-events-app/config/initializers/assets.rb +14 -0
  55. data/sample-apps/timeline-events-app/config/initializers/filter_parameter_logging.rb +4 -0
  56. data/sample-apps/timeline-events-app/config/initializers/hubspot-api-client.rb +3 -0
  57. data/sample-apps/timeline-events-app/config/initializers/mime_types.rb +1 -0
  58. data/sample-apps/timeline-events-app/config/initializers/wrap_parameters.rb +14 -0
  59. data/sample-apps/timeline-events-app/config/locales/en.yml +33 -0
  60. data/sample-apps/timeline-events-app/config/puma.rb +34 -0
  61. data/sample-apps/timeline-events-app/config/routes.rb +7 -0
  62. data/sample-apps/timeline-events-app/config/spring.rb +6 -0
  63. data/sample-apps/timeline-events-app/db/seeds.rb +7 -0
  64. data/sample-apps/timeline-events-app/docker-compose.yml +11 -0
  65. data/sample-apps/timeline-events-app/docker-entrypoint.sh +8 -0
  66. data/sample-apps/timeline-events-app/lib/assets/.keep +0 -0
  67. data/sample-apps/timeline-events-app/lib/tasks/.keep +0 -0
  68. data/sample-apps/timeline-events-app/log/.keep +0 -0
  69. data/sample-apps/timeline-events-app/package.json +5 -0
  70. data/sample-apps/timeline-events-app/public/404.html +67 -0
  71. data/sample-apps/timeline-events-app/public/422.html +67 -0
  72. data/sample-apps/timeline-events-app/public/500.html +66 -0
  73. data/sample-apps/timeline-events-app/public/apple-touch-icon-precomposed.png +0 -0
  74. data/sample-apps/timeline-events-app/public/apple-touch-icon.png +0 -0
  75. data/sample-apps/timeline-events-app/public/favicon.ico +0 -0
  76. data/sample-apps/timeline-events-app/public/robots.txt +1 -0
  77. data/sample-apps/timeline-events-app/spec/rails_helper.rb +42 -0
  78. data/sample-apps/timeline-events-app/spec/spec_helper.rb +11 -0
  79. data/sample-apps/timeline-events-app/tmp/.keep +0 -0
  80. metadata +148 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6d857315ad1b39c4372fe92d5fb0c88dee2c7d8a13735c073e811800a2f86b9
4
- data.tar.gz: e4c48d566f2b980d6deddb7d675f4a570586844767feafcc34863324adf03eef
3
+ metadata.gz: 45d9298dae4627d6238df9b566ca68164b4e3ba80d4b13becdcc48c9f74e538d
4
+ data.tar.gz: 9b966a39f3c877bd1e5be64e4a8cedcf74a0e134627ac03bd2f3afc459958a61
5
5
  SHA512:
6
- metadata.gz: 154737d6244f373d18659e54c73d090eeb1f73583a46f648758c702fadcd73252a4fe2afa5be12f4f3b5eb1b7e9e8edd0c8e035d24462a1dda5bd674d558d573
7
- data.tar.gz: 8e231c37575ea84e5e7d712fea575758f5f6b01226bb45a2d598b8f2c57a0e890719bb063fe72bcbca8f1ce556298bce6a711137c1d057956968b59def16caa1
6
+ metadata.gz: 1696fdd6b07e5b9a8271057c2811fef823df81ba2375c535a3faa6a8cabac2c6b600e1a10c63b44c270881f4e2fb6f21237dc74c2311b1509587764dd809256e
7
+ data.tar.gz: 56e0073e55416fe94acf33413dc9f36b1866c79bdd455238a55bb18eb522fa590d65b9e42875a190541654af70541fb0adc62bd6c7e2d1b3d805e9d710801778
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [7.3.0] - 2020-10-09
9
+
10
+ - Add timeline events sample app
11
+
8
12
  ## [7.2.0] - 2020-10-05
9
13
 
10
14
  - Add Objects client
@@ -1,3 +1,3 @@
1
1
  module Hubspot
2
- VERSION = '7.2.0'
2
+ VERSION = '7.3.0'
3
3
  end
@@ -0,0 +1,5 @@
1
+ HUBSPOT_CLIENT_ID=
2
+ HUBSPOT_CLIENT_SECRET=
3
+ HUBSPOT_APPLICATION_ID=
4
+ HUBSPOT_ACCOUNT_ID=
5
+ HUBSPOT_DEVELOPER_API_KEY=
@@ -0,0 +1,35 @@
1
+ # See https://help.github.com/articles/ignoring-files for more about ignoring files.
2
+ #
3
+ # If you find yourself ignoring temporary files generated by your text editor
4
+ # or operating system, you probably want to add a global ignore instead:
5
+ # git config --global core.excludesfile '~/.gitignore_global'
6
+
7
+ # Ignore bundler config.
8
+ /.bundle
9
+
10
+ # Ignore the default SQLite database.
11
+ /db/*.sqlite3
12
+ /db/*.sqlite3-journal
13
+
14
+ # Ignore all logfiles and tempfiles.
15
+ /log/*
16
+ /tmp/*
17
+ !/log/.keep
18
+ !/tmp/.keep
19
+
20
+ # Ignore uploaded files in development
21
+ /storage/*
22
+ !/storage/.keep
23
+
24
+ /node_modules
25
+ /yarn-error.log
26
+
27
+ /public/assets
28
+ .byebug_history
29
+
30
+ # Ignore master key for decrypting credentials and more.
31
+ /config/master.key
32
+
33
+ .rubocop.yml
34
+ .env
35
+ .env.test
@@ -0,0 +1 @@
1
+ --require spec_helper
@@ -0,0 +1,22 @@
1
+ FROM ruby:2.6.3
2
+ RUN apt-get update -qq && apt-get install -y nodejs postgresql-client
3
+ RUN mkdir /hubspot-api-client
4
+
5
+ COPY ./lib /hubspot-api-client/lib
6
+ COPY ./sample-apps /hubspot-api-client/sample-apps
7
+ COPY ./spec /hubspot-api-client/spec
8
+ COPY ./Gemfile /hubspot-api-client/Gemfile
9
+ COPY ./Gemfile.lock /hubspot-api-client/Gemfile.lock
10
+ COPY ./hubspot-api-client.gemspec /hubspot-api-client/hubspot-api-client.gemspec
11
+
12
+ WORKDIR /hubspot-api-client/sample-apps/timeline-events-app
13
+ RUN bundle install
14
+
15
+ # Add a script to be executed every time the container starts.
16
+ COPY ./sample-apps/timeline-events-app/docker-entrypoint.sh /usr/bin/
17
+ RUN chmod +x /usr/bin/docker-entrypoint.sh
18
+ ENTRYPOINT ["docker-entrypoint.sh"]
19
+ EXPOSE 3000
20
+
21
+ # Start the main process.
22
+ CMD ["rails", "server", "-b", "0.0.0.0"]
@@ -0,0 +1,33 @@
1
+ source 'https://rubygems.org'
2
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3
+
4
+ ruby '2.6.3'
5
+
6
+ gem 'rails', '~> 5.2.3'
7
+ gem 'sqlite3'
8
+ gem 'puma', '~> 4.3'
9
+ gem 'sass-rails', '~> 5.0'
10
+ gem 'uglifier', '>= 1.3.0'
11
+ gem 'jbuilder', '~> 2.5'
12
+ gem 'csv'
13
+
14
+ gem 'hubspot-api-client', path: '../../'
15
+
16
+ group :development, :test do
17
+ gem 'dotenv-rails', require: 'dotenv/rails-now'
18
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
19
+ gem 'rspec-rails', '~> 3.5'
20
+ gem 'capybara'
21
+ gem 'capybara-mechanize', '~> 1.11'
22
+ gem 'selenium-webdriver', '3.4.3'
23
+ gem 'geckodriver-helper'
24
+ gem 'pry'
25
+ gem 'pry-byebug'
26
+ end
27
+
28
+ group :development do
29
+ gem 'web-console', '>= 3.3.0'
30
+ gem 'listen', '>= 3.0.5', '< 3.2'
31
+ end
32
+
33
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
@@ -0,0 +1,271 @@
1
+ PATH
2
+ remote: ../..
3
+ specs:
4
+ hubspot-api-client (7.1.1)
5
+ faraday (>= 0.14.0)
6
+ json (~> 2.1, >= 2.1.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (5.2.3)
12
+ actionpack (= 5.2.3)
13
+ nio4r (~> 2.0)
14
+ websocket-driver (>= 0.6.1)
15
+ actionmailer (5.2.3)
16
+ actionpack (= 5.2.3)
17
+ actionview (= 5.2.3)
18
+ activejob (= 5.2.3)
19
+ mail (~> 2.5, >= 2.5.4)
20
+ rails-dom-testing (~> 2.0)
21
+ actionpack (5.2.3)
22
+ actionview (= 5.2.3)
23
+ activesupport (= 5.2.3)
24
+ rack (~> 2.0)
25
+ rack-test (>= 0.6.3)
26
+ rails-dom-testing (~> 2.0)
27
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
28
+ actionview (5.2.3)
29
+ activesupport (= 5.2.3)
30
+ builder (~> 3.1)
31
+ erubi (~> 1.4)
32
+ rails-dom-testing (~> 2.0)
33
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
34
+ activejob (5.2.3)
35
+ activesupport (= 5.2.3)
36
+ globalid (>= 0.3.6)
37
+ activemodel (5.2.3)
38
+ activesupport (= 5.2.3)
39
+ activerecord (5.2.3)
40
+ activemodel (= 5.2.3)
41
+ activesupport (= 5.2.3)
42
+ arel (>= 9.0)
43
+ activestorage (5.2.3)
44
+ actionpack (= 5.2.3)
45
+ activerecord (= 5.2.3)
46
+ marcel (~> 0.3.1)
47
+ activesupport (5.2.3)
48
+ concurrent-ruby (~> 1.0, >= 1.0.2)
49
+ i18n (>= 0.7, < 2)
50
+ minitest (~> 5.1)
51
+ tzinfo (~> 1.1)
52
+ addressable (2.7.0)
53
+ public_suffix (>= 2.0.2, < 5.0)
54
+ archive-zip (0.12.0)
55
+ io-like (~> 0.3.0)
56
+ arel (9.0.0)
57
+ bindex (0.8.1)
58
+ builder (3.2.3)
59
+ byebug (11.0.1)
60
+ capybara (3.29.0)
61
+ addressable
62
+ mini_mime (>= 0.1.3)
63
+ nokogiri (~> 1.8)
64
+ rack (>= 1.6.0)
65
+ rack-test (>= 0.6.3)
66
+ regexp_parser (~> 1.5)
67
+ xpath (~> 3.2)
68
+ capybara-mechanize (1.11.0)
69
+ capybara (>= 2.4.4, < 4)
70
+ mechanize (~> 2.7.0)
71
+ childprocess (0.9.0)
72
+ ffi (~> 1.0, >= 1.0.11)
73
+ coderay (1.1.2)
74
+ concurrent-ruby (1.1.5)
75
+ connection_pool (2.2.2)
76
+ crass (1.0.5)
77
+ csv (3.1.2)
78
+ diff-lcs (1.3)
79
+ domain_name (0.5.20190701)
80
+ unf (>= 0.0.5, < 1.0.0)
81
+ dotenv (2.7.5)
82
+ dotenv-rails (2.7.5)
83
+ dotenv (= 2.7.5)
84
+ railties (>= 3.2, < 6.1)
85
+ erubi (1.9.0)
86
+ execjs (2.7.0)
87
+ faraday (1.0.1)
88
+ multipart-post (>= 1.2, < 3)
89
+ ffi (1.11.1)
90
+ geckodriver-helper (0.24.0)
91
+ archive-zip (~> 0.7)
92
+ globalid (0.4.2)
93
+ activesupport (>= 4.2.0)
94
+ http-cookie (1.0.3)
95
+ domain_name (~> 0.5)
96
+ i18n (1.7.0)
97
+ concurrent-ruby (~> 1.0)
98
+ io-like (0.3.0)
99
+ jbuilder (2.9.1)
100
+ activesupport (>= 4.2.0)
101
+ json (2.3.1)
102
+ listen (3.1.5)
103
+ rb-fsevent (~> 0.9, >= 0.9.4)
104
+ rb-inotify (~> 0.9, >= 0.9.7)
105
+ ruby_dep (~> 1.2)
106
+ loofah (2.3.1)
107
+ crass (~> 1.0.2)
108
+ nokogiri (>= 1.5.9)
109
+ mail (2.7.1)
110
+ mini_mime (>= 0.1.1)
111
+ marcel (0.3.3)
112
+ mimemagic (~> 0.3.2)
113
+ mechanize (2.7.6)
114
+ domain_name (~> 0.5, >= 0.5.1)
115
+ http-cookie (~> 1.0)
116
+ mime-types (>= 1.17.2)
117
+ net-http-digest_auth (~> 1.1, >= 1.1.1)
118
+ net-http-persistent (>= 2.5.2)
119
+ nokogiri (~> 1.6)
120
+ ntlm-http (~> 0.1, >= 0.1.1)
121
+ webrobots (>= 0.0.9, < 0.2)
122
+ method_source (0.9.2)
123
+ mime-types (3.3)
124
+ mime-types-data (~> 3.2015)
125
+ mime-types-data (3.2019.1009)
126
+ mimemagic (0.3.3)
127
+ mini_mime (1.0.2)
128
+ mini_portile2 (2.4.0)
129
+ minitest (5.13.0)
130
+ multipart-post (2.1.1)
131
+ net-http-digest_auth (1.4.1)
132
+ net-http-persistent (3.1.0)
133
+ connection_pool (~> 2.2)
134
+ nio4r (2.5.2)
135
+ nokogiri (1.10.5)
136
+ mini_portile2 (~> 2.4.0)
137
+ ntlm-http (0.1.1)
138
+ pry (0.12.2)
139
+ coderay (~> 1.1.0)
140
+ method_source (~> 0.9.0)
141
+ pry-byebug (3.7.0)
142
+ byebug (~> 11.0)
143
+ pry (~> 0.10)
144
+ public_suffix (4.0.1)
145
+ puma (4.3.1)
146
+ nio4r (~> 2.0)
147
+ rack (2.2.2)
148
+ rack-test (1.1.0)
149
+ rack (>= 1.0, < 3)
150
+ rails (5.2.3)
151
+ actioncable (= 5.2.3)
152
+ actionmailer (= 5.2.3)
153
+ actionpack (= 5.2.3)
154
+ actionview (= 5.2.3)
155
+ activejob (= 5.2.3)
156
+ activemodel (= 5.2.3)
157
+ activerecord (= 5.2.3)
158
+ activestorage (= 5.2.3)
159
+ activesupport (= 5.2.3)
160
+ bundler (>= 1.3.0)
161
+ railties (= 5.2.3)
162
+ sprockets-rails (>= 2.0.0)
163
+ rails-dom-testing (2.0.3)
164
+ activesupport (>= 4.2.0)
165
+ nokogiri (>= 1.6)
166
+ rails-html-sanitizer (1.3.0)
167
+ loofah (~> 2.3)
168
+ railties (5.2.3)
169
+ actionpack (= 5.2.3)
170
+ activesupport (= 5.2.3)
171
+ method_source
172
+ rake (>= 0.8.7)
173
+ thor (>= 0.19.0, < 2.0)
174
+ rake (13.0.0)
175
+ rb-fsevent (0.10.3)
176
+ rb-inotify (0.10.0)
177
+ ffi (~> 1.0)
178
+ regexp_parser (1.6.0)
179
+ rspec-core (3.9.0)
180
+ rspec-support (~> 3.9.0)
181
+ rspec-expectations (3.9.0)
182
+ diff-lcs (>= 1.2.0, < 2.0)
183
+ rspec-support (~> 3.9.0)
184
+ rspec-mocks (3.9.0)
185
+ diff-lcs (>= 1.2.0, < 2.0)
186
+ rspec-support (~> 3.9.0)
187
+ rspec-rails (3.9.0)
188
+ actionpack (>= 3.0)
189
+ activesupport (>= 3.0)
190
+ railties (>= 3.0)
191
+ rspec-core (~> 3.9.0)
192
+ rspec-expectations (~> 3.9.0)
193
+ rspec-mocks (~> 3.9.0)
194
+ rspec-support (~> 3.9.0)
195
+ rspec-support (3.9.0)
196
+ ruby_dep (1.5.0)
197
+ rubyzip (1.3.0)
198
+ sass (3.7.4)
199
+ sass-listen (~> 4.0.0)
200
+ sass-listen (4.0.0)
201
+ rb-fsevent (~> 0.9, >= 0.9.4)
202
+ rb-inotify (~> 0.9, >= 0.9.7)
203
+ sass-rails (5.1.0)
204
+ railties (>= 5.2.0)
205
+ sass (~> 3.1)
206
+ sprockets (>= 2.8, < 4.0)
207
+ sprockets-rails (>= 2.0, < 4.0)
208
+ tilt (>= 1.1, < 3)
209
+ selenium-webdriver (3.4.3)
210
+ childprocess (~> 0.5)
211
+ rubyzip (~> 1.0)
212
+ sprockets (3.7.2)
213
+ concurrent-ruby (~> 1.0)
214
+ rack (> 1, < 3)
215
+ sprockets-rails (3.2.1)
216
+ actionpack (>= 4.0)
217
+ activesupport (>= 4.0)
218
+ sprockets (>= 3.0.0)
219
+ sqlite3 (1.4.1)
220
+ thor (0.20.3)
221
+ thread_safe (0.3.6)
222
+ tilt (2.0.10)
223
+ tzinfo (1.2.5)
224
+ thread_safe (~> 0.1)
225
+ uglifier (4.2.0)
226
+ execjs (>= 0.3.0, < 3)
227
+ unf (0.1.4)
228
+ unf_ext
229
+ unf_ext (0.0.7.6)
230
+ web-console (3.7.0)
231
+ actionview (>= 5.0)
232
+ activemodel (>= 5.0)
233
+ bindex (>= 0.4.0)
234
+ railties (>= 5.0)
235
+ webrobots (0.1.2)
236
+ websocket-driver (0.7.1)
237
+ websocket-extensions (>= 0.1.0)
238
+ websocket-extensions (0.1.4)
239
+ xpath (3.2.0)
240
+ nokogiri (~> 1.8)
241
+
242
+ PLATFORMS
243
+ ruby
244
+
245
+ DEPENDENCIES
246
+ byebug
247
+ capybara
248
+ capybara-mechanize (~> 1.11)
249
+ csv
250
+ dotenv-rails
251
+ geckodriver-helper
252
+ hubspot-api-client!
253
+ jbuilder (~> 2.5)
254
+ listen (>= 3.0.5, < 3.2)
255
+ pry
256
+ pry-byebug
257
+ puma (~> 4.3)
258
+ rails (~> 5.2.3)
259
+ rspec-rails (~> 3.5)
260
+ sass-rails (~> 5.0)
261
+ selenium-webdriver (= 3.4.3)
262
+ sqlite3
263
+ tzinfo-data
264
+ uglifier (>= 1.3.0)
265
+ web-console (>= 3.3.0)
266
+
267
+ RUBY VERSION
268
+ ruby 2.6.3p62
269
+
270
+ BUNDLED WITH
271
+ 1.17.3
@@ -0,0 +1,6 @@
1
+ # Add your own tasks in files placed in lib/tasks ending in .rake,
2
+ # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
+
4
+ require_relative 'config/application'
5
+
6
+ Rails.application.load_tasks
@@ -0,0 +1,3 @@
1
+ //= link_tree ../images
2
+ //= link_directory ../javascripts .js
3
+ //= link_directory ../stylesheets .css
@@ -0,0 +1,15 @@
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's
5
+ // vendor/assets/javascripts directory can be referenced here using a relative path.
6
+ //
7
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
+ // compiled file. JavaScript code in this file should be added after the last require_* statement.
9
+ //
10
+ // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
+ // about supported directives.
12
+ //
13
+ //= require rails-ujs
14
+ //= require activestorage
15
+ //= require_tree .
@@ -0,0 +1,13 @@
1
+ // Action Cable provides the framework to deal with WebSockets in Rails.
2
+ // You can generate new channels where WebSocket features live using the `rails generate channel` command.
3
+ //
4
+ //= require action_cable
5
+ //= require_self
6
+ //= require_tree ./channels
7
+
8
+ (function() {
9
+ this.App || (this.App = {});
10
+
11
+ App.cable = ActionCable.createConsumer();
12
+
13
+ }).call(this);