jobi 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +11 -0
  3. data/.rspec +3 -0
  4. data/.ruby-gemset +1 -0
  5. data/.ruby-version +1 -0
  6. data/.travis.yml +5 -0
  7. data/CHANGELOG.md +14 -0
  8. data/CODE_OF_CONDUCT.md +74 -0
  9. data/Gemfile +10 -0
  10. data/Gemfile.lock +45 -0
  11. data/LICENSE.txt +21 -0
  12. data/README.md +132 -0
  13. data/Rakefile +6 -0
  14. data/bin/console +14 -0
  15. data/bin/jobi.log +31 -0
  16. data/bin/setup +8 -0
  17. data/examples/demo_app/.browserslistrc +1 -0
  18. data/examples/demo_app/.gitignore +35 -0
  19. data/examples/demo_app/.ruby-version +1 -0
  20. data/examples/demo_app/Gemfile +56 -0
  21. data/examples/demo_app/Gemfile.lock +237 -0
  22. data/examples/demo_app/README.md +24 -0
  23. data/examples/demo_app/Rakefile +6 -0
  24. data/examples/demo_app/app/assets/config/manifest.js +2 -0
  25. data/examples/demo_app/app/assets/images/.keep +0 -0
  26. data/examples/demo_app/app/assets/stylesheets/application.css +15 -0
  27. data/examples/demo_app/app/assets/stylesheets/home.scss +3 -0
  28. data/examples/demo_app/app/channels/application_cable/channel.rb +4 -0
  29. data/examples/demo_app/app/channels/application_cable/connection.rb +4 -0
  30. data/examples/demo_app/app/controllers/application_controller.rb +2 -0
  31. data/examples/demo_app/app/controllers/concerns/.keep +0 -0
  32. data/examples/demo_app/app/controllers/home_controller.rb +6 -0
  33. data/examples/demo_app/app/helpers/application_helper.rb +2 -0
  34. data/examples/demo_app/app/helpers/home_helper.rb +2 -0
  35. data/examples/demo_app/app/javascript/channels/consumer.js +6 -0
  36. data/examples/demo_app/app/javascript/channels/index.js +5 -0
  37. data/examples/demo_app/app/javascript/packs/application.js +17 -0
  38. data/examples/demo_app/app/jobs/application_job.rb +7 -0
  39. data/examples/demo_app/app/jobs/calculator_job.rb +14 -0
  40. data/examples/demo_app/app/mailers/application_mailer.rb +4 -0
  41. data/examples/demo_app/app/models/application_record.rb +3 -0
  42. data/examples/demo_app/app/models/concerns/.keep +0 -0
  43. data/examples/demo_app/app/views/layouts/application.html.erb +15 -0
  44. data/examples/demo_app/app/views/layouts/mailer.html.erb +13 -0
  45. data/examples/demo_app/app/views/layouts/mailer.text.erb +1 -0
  46. data/examples/demo_app/babel.config.js +72 -0
  47. data/examples/demo_app/bin/bundle +114 -0
  48. data/examples/demo_app/bin/rails +9 -0
  49. data/examples/demo_app/bin/rake +9 -0
  50. data/examples/demo_app/bin/setup +36 -0
  51. data/examples/demo_app/bin/spring +17 -0
  52. data/examples/demo_app/bin/webpack +18 -0
  53. data/examples/demo_app/bin/webpack-dev-server +18 -0
  54. data/examples/demo_app/bin/yarn +11 -0
  55. data/examples/demo_app/config.ru +5 -0
  56. data/examples/demo_app/config/application.rb +19 -0
  57. data/examples/demo_app/config/boot.rb +4 -0
  58. data/examples/demo_app/config/cable.yml +10 -0
  59. data/examples/demo_app/config/credentials.yml.enc +1 -0
  60. data/examples/demo_app/config/database.yml +25 -0
  61. data/examples/demo_app/config/environment.rb +5 -0
  62. data/examples/demo_app/config/environments/development.rb +62 -0
  63. data/examples/demo_app/config/environments/production.rb +112 -0
  64. data/examples/demo_app/config/environments/test.rb +48 -0
  65. data/examples/demo_app/config/initializers/application_controller_renderer.rb +8 -0
  66. data/examples/demo_app/config/initializers/assets.rb +14 -0
  67. data/examples/demo_app/config/initializers/backtrace_silencers.rb +7 -0
  68. data/examples/demo_app/config/initializers/content_security_policy.rb +30 -0
  69. data/examples/demo_app/config/initializers/cookies_serializer.rb +5 -0
  70. data/examples/demo_app/config/initializers/filter_parameter_logging.rb +4 -0
  71. data/examples/demo_app/config/initializers/inflections.rb +16 -0
  72. data/examples/demo_app/config/initializers/jobi.rb +8 -0
  73. data/examples/demo_app/config/initializers/mime_types.rb +4 -0
  74. data/examples/demo_app/config/initializers/wrap_parameters.rb +14 -0
  75. data/examples/demo_app/config/locales/en.yml +33 -0
  76. data/examples/demo_app/config/puma.rb +38 -0
  77. data/examples/demo_app/config/routes.rb +4 -0
  78. data/examples/demo_app/config/spring.rb +6 -0
  79. data/examples/demo_app/config/storage.yml +34 -0
  80. data/examples/demo_app/config/webpack/development.js +5 -0
  81. data/examples/demo_app/config/webpack/environment.js +3 -0
  82. data/examples/demo_app/config/webpack/production.js +5 -0
  83. data/examples/demo_app/config/webpack/test.js +5 -0
  84. data/examples/demo_app/config/webpacker.yml +96 -0
  85. data/examples/demo_app/db/seeds.rb +7 -0
  86. data/examples/demo_app/lib/assets/.keep +0 -0
  87. data/examples/demo_app/lib/tasks/.keep +0 -0
  88. data/examples/demo_app/log/.keep +0 -0
  89. data/examples/demo_app/package.json +15 -0
  90. data/examples/demo_app/postcss.config.js +12 -0
  91. data/examples/demo_app/public/404.html +67 -0
  92. data/examples/demo_app/public/422.html +67 -0
  93. data/examples/demo_app/public/500.html +66 -0
  94. data/examples/demo_app/public/apple-touch-icon-precomposed.png +0 -0
  95. data/examples/demo_app/public/apple-touch-icon.png +0 -0
  96. data/examples/demo_app/public/favicon.ico +0 -0
  97. data/examples/demo_app/public/robots.txt +1 -0
  98. data/examples/demo_app/storage/.keep +0 -0
  99. data/examples/demo_app/test/application_system_test_case.rb +5 -0
  100. data/examples/demo_app/test/channels/application_cable/connection_test.rb +11 -0
  101. data/examples/demo_app/test/controllers/.keep +0 -0
  102. data/examples/demo_app/test/controllers/home_controller_test.rb +7 -0
  103. data/examples/demo_app/test/fixtures/.keep +0 -0
  104. data/examples/demo_app/test/fixtures/files/.keep +0 -0
  105. data/examples/demo_app/test/helpers/.keep +0 -0
  106. data/examples/demo_app/test/integration/.keep +0 -0
  107. data/examples/demo_app/test/mailers/.keep +0 -0
  108. data/examples/demo_app/test/models/.keep +0 -0
  109. data/examples/demo_app/test/system/.keep +0 -0
  110. data/examples/demo_app/test/test_helper.rb +13 -0
  111. data/examples/demo_app/tmp/.keep +0 -0
  112. data/examples/demo_app/vendor/.keep +0 -0
  113. data/examples/demo_app/yarn.lock +7508 -0
  114. data/examples/normal_job.rb +39 -0
  115. data/jobi.gemspec +31 -0
  116. data/lib/jobi.rb +64 -0
  117. data/lib/jobi/clients/rabbitmq.rb +29 -0
  118. data/lib/jobi/config/rabbitmq.rb +58 -0
  119. data/lib/jobi/configuration.rb +66 -0
  120. data/lib/jobi/consumers/rabbitmq.rb +26 -0
  121. data/lib/jobi/job.rb +89 -0
  122. data/lib/jobi/message.rb +17 -0
  123. data/lib/jobi/runner.rb +25 -0
  124. data/lib/jobi/utils.rb +13 -0
  125. data/lib/jobi/version.rb +3 -0
  126. metadata +213 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 40d1fc4cc7f08510bb497261a241ad8d8978585926b398c74f7b94d7a574a9df
4
+ data.tar.gz: 79021f27feb63bc53f9255bde60aa0337d8813b559da8f6e842447dba92c35ae
5
+ SHA512:
6
+ metadata.gz: 7f2c2c2ff54b42eba6c571f2b37ee27d6aaa3c8840e71a3d7229218cd5bbe9a07e0f95765a1aa13267bc7fab8e5a48323f5e7f0ad25c0363361e434cd72d9972
7
+ data.tar.gz: a901943b861161481019a0e5b392c02ffb12f83adeaf47ab5d74544f7bbff0de5e04a0b0aa2a0ac9fb0b7223f4888018c1c2681b7d2d23169cd3c8248e9bda02
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1 @@
1
+ jobi
@@ -0,0 +1 @@
1
+ 2.7.0
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ cache: bundler
3
+ rvm:
4
+ - 2.7.0
5
+ before_install: gem install bundler -v 2.1.2
@@ -0,0 +1,14 @@
1
+ # Changelog
2
+
3
+ ## [0.1.1] - 2020-08-04
4
+ ### Updated
5
+ - Jobi gemspec file.
6
+ ## [0.1.0] - 2020-08-02
7
+ ### Added
8
+ - Initial Jobi structure.
9
+ - Support custom configurations include Rabbitmq client configurations.
10
+ - Support Rabbitmq sessions and consumers.
11
+ - Implement unified messsage for data transmission.
12
+ - Implement Job to handle async jobs.
13
+ - Implement Runner to handle the job execution.
14
+ - Allow Jobi to act as publisher or consumer or both.
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at rz.zidan@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [https://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: https://contributor-covenant.org
74
+ [version]: https://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in jobi.gemspec
4
+ gemspec
5
+
6
+ gem "rake", "~> 12.0"
7
+ gem "rspec", "~> 3.0"
8
+ gem "bunny", ">= 2.14.1"
9
+ gem 'logger'
10
+ gem 'bunny-mock'
@@ -0,0 +1,45 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ jobi (0.1.0)
5
+ bunny (>= 2.14.1)
6
+ logger
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ amq-protocol (2.3.1)
12
+ bunny (2.15.0)
13
+ amq-protocol (~> 2.3, >= 2.3.1)
14
+ bunny-mock (1.7.0)
15
+ bunny (>= 1.7)
16
+ diff-lcs (1.3)
17
+ logger (1.4.2)
18
+ rake (12.3.3)
19
+ rspec (3.9.0)
20
+ rspec-core (~> 3.9.0)
21
+ rspec-expectations (~> 3.9.0)
22
+ rspec-mocks (~> 3.9.0)
23
+ rspec-core (3.9.2)
24
+ rspec-support (~> 3.9.3)
25
+ rspec-expectations (3.9.2)
26
+ diff-lcs (>= 1.2.0, < 2.0)
27
+ rspec-support (~> 3.9.0)
28
+ rspec-mocks (3.9.1)
29
+ diff-lcs (>= 1.2.0, < 2.0)
30
+ rspec-support (~> 3.9.0)
31
+ rspec-support (3.9.3)
32
+
33
+ PLATFORMS
34
+ ruby
35
+
36
+ DEPENDENCIES
37
+ bunny (>= 2.14.1)
38
+ bunny-mock
39
+ jobi!
40
+ logger
41
+ rake (~> 12.0)
42
+ rspec (~> 3.0)
43
+
44
+ BUNDLED WITH
45
+ 2.1.2
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 Rudy Zidan
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,132 @@
1
+ # Jobi
2
+
3
+ A simple framework for Ruby, provides a full interaction between your app/micro-service and message brokers like: (Rabbitmq, Kafka, ..etc).
4
+ </br>
5
+ Currently it only support [Rabbitmq](https://www.rabbitmq.com/).
6
+
7
+ ## Requirements
8
+ - [Rabbitmq](https://www.rabbitmq.com/) server installed and ready.
9
+
10
+ ## Installation
11
+
12
+ Add this line to your application's Gemfile:
13
+
14
+ ```ruby
15
+ gem 'jobi'
16
+ ```
17
+
18
+ And then execute:
19
+
20
+ $ bundle install
21
+
22
+ Or install it yourself as:
23
+
24
+ $ gem install jobi
25
+
26
+ ## Setup
27
+ - Add the below code to your app:
28
+ ```ruby
29
+ Jobi.configure do |config|
30
+ config.rabbitmq
31
+ config.act_as_publisher = true
32
+ config.act_as_consumer = true
33
+ config.jobs = ['{Your Job classes goes here}']
34
+ config.log_file = 'log/jobi.log'
35
+ config.log_level = :debug
36
+ end
37
+ ```
38
+ - To change rabbitmq client configuration you can do the following:
39
+ ```ruby
40
+ Jobi.configure do |config|
41
+ # same as the above example
42
+ # and you can add the below one:
43
+ config.rabbitmq(
44
+ {
45
+ host: ENV['RABBITMQ_HOST'],
46
+ port: ENV['RABBITMQ_PORT'],
47
+ user: ENV['RABBITMQ_USER'],
48
+ pass: ENV['RABBITMQ_PWD'],
49
+ vhost: '/',
50
+ auth_mechanism: 'PLAIN',
51
+ heartbeat: 'server',
52
+ automatically_recover: true,
53
+ network_recovery_interval: 5.0,
54
+ ssl: false,
55
+ threaded: true,
56
+ continuation_timeout: 4000,
57
+ frame_max: 131_072
58
+ }
59
+ )
60
+ end
61
+ ```
62
+ - For rails you can do the following:
63
+ ```ruby
64
+ # config/initializers/jobi.rb
65
+ Jobi.configure do |config|
66
+ # You can add the above examples here safely.
67
+ end
68
+ ```
69
+ ## Usage
70
+
71
+ - Create an asynchronous job:
72
+ ```ruby
73
+ class ExampleJob < Jobi::Job
74
+ # Queue name that will be used for publishing and consuming messages.
75
+ # Force acknowledge of the message or not.
76
+ # Number of consumers that will consume from this queue.
77
+ options queue_name: :example,
78
+ ack: true,
79
+ consumers: 5
80
+
81
+ # Will be called after run.
82
+ after_run :print_sum
83
+
84
+ # Entry point of the job
85
+ def initialize(arg1:, arg2:)
86
+ @arg1 = @arg1
87
+ @arg2 = @arg2
88
+ end
89
+
90
+ def run
91
+ # Your custom logic goes here
92
+ @sum = @arg1 + @arg2
93
+ end
94
+
95
+ private
96
+
97
+ def print_sum
98
+ # Your custom logic that will run after
99
+ # the execution of your job.
100
+ puts @sum
101
+ end
102
+ end
103
+ ```
104
+
105
+ Then you can call it like this:
106
+ ```ruby
107
+ ExampleJob.run(arg1: 1, arg2: 2)
108
+ ```
109
+ ## Examples
110
+ Below some examples that will help you to start with Jobi.
111
+ - [Ruby](https://github.com/Rudy-Zidan/jobi/blob/master/examples/normal_job.rb)
112
+ - [Rails](https://github.com/Rudy-Zidan/jobi/tree/master/examples/demo_app)
113
+
114
+
115
+ ## Development
116
+
117
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
118
+
119
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
120
+
121
+ ## Contributing
122
+
123
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Rudy-Zidan/jobi. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/Rudy-Zidan/jobi/blob/master/CODE_OF_CONDUCT.md).
124
+
125
+
126
+ ## License
127
+
128
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
129
+
130
+ ## Code of Conduct
131
+
132
+ Everyone interacting in the Jobi project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/Rudy-Zidan/jobi/blob/master/CODE_OF_CONDUCT.md).
@@ -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 => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "jobi"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,31 @@
1
+ # Logfile created on 2020-08-02 14:14:00 +0300 by logger.rb/v1.4.2
2
+ I, [2020-08-02T14:15:03.498961 #20403] INFO -- : Completed in: 0.0006229877471923828
3
+ I, [2020-08-02T14:15:03.499179 #20403] INFO -- : Completed in: 0.0006537437438964844
4
+ I, [2020-08-02T14:15:03.499314 #20403] INFO -- : Completed in: 0.0006098747253417969
5
+ I, [2020-08-02T14:15:03.499436 #20403] INFO -- : Completed in: 0.0005278587341308594
6
+ I, [2020-08-02T14:15:03.499611 #20403] INFO -- : Completed in: 0.0005152225494384766
7
+ I, [2020-08-02T14:15:03.500180 #20403] INFO -- : Completed in: 0.0008637905120849609
8
+ I, [2020-08-02T14:15:03.500406 #20403] INFO -- : Completed in: 0.00044274330139160156
9
+ I, [2020-08-02T14:15:03.500572 #20403] INFO -- : Completed in: 0.00039005279541015625
10
+ I, [2020-08-02T14:15:03.500787 #20403] INFO -- : Completed in: 0.0004138946533203125
11
+ I, [2020-08-02T14:15:03.500969 #20403] INFO -- : Completed in: 0.00039124488830566406
12
+ I, [2020-08-02T14:15:15.597311 #20403] INFO -- : Completed in: 0.00615382194519043
13
+ I, [2020-08-02T14:15:15.597544 #20403] INFO -- : Completed in: 0.0005860328674316406
14
+ I, [2020-08-02T14:15:15.597729 #20403] INFO -- : Completed in: 0.0006017684936523438
15
+ I, [2020-08-02T14:15:15.597903 #20403] INFO -- : Completed in: 0.0005707740783691406
16
+ I, [2020-08-02T14:15:15.598084 #20403] INFO -- : Completed in: 0.0005507469177246094
17
+ I, [2020-08-02T14:15:15.598269 #20403] INFO -- : Completed in: 0.0005309581756591797
18
+ I, [2020-08-02T14:15:15.598435 #20403] INFO -- : Completed in: 0.00045490264892578125
19
+ I, [2020-08-02T14:15:15.598588 #20403] INFO -- : Completed in: 0.0004150867462158203
20
+ I, [2020-08-02T14:15:15.598801 #20403] INFO -- : Completed in: 0.0004291534423828125
21
+ I, [2020-08-02T14:15:15.599029 #20403] INFO -- : Completed in: 0.00044798851013183594
22
+ I, [2020-08-02T14:15:23.420378 #20403] INFO -- : Completed in: 0.006279945373535156
23
+ I, [2020-08-02T14:15:23.420583 #20403] INFO -- : Completed in: 0.0005891323089599609
24
+ I, [2020-08-02T14:15:23.420811 #20403] INFO -- : Completed in: 0.0005612373352050781
25
+ I, [2020-08-02T14:15:23.420987 #20403] INFO -- : Completed in: 0.0005502700805664062
26
+ I, [2020-08-02T14:15:23.421150 #20403] INFO -- : Completed in: 0.0004863739013671875
27
+ I, [2020-08-02T14:15:23.421325 #20403] INFO -- : Completed in: 0.0004470348358154297
28
+ I, [2020-08-02T14:15:23.421516 #20403] INFO -- : Completed in: 0.00040793418884277344
29
+ I, [2020-08-02T14:15:23.421733 #20403] INFO -- : Completed in: 0.00045680999755859375
30
+ I, [2020-08-02T14:15:23.421959 #20403] INFO -- : Completed in: 0.00048613548278808594
31
+ I, [2020-08-02T14:15:23.422115 #20403] INFO -- : Completed in: 0.00044798851013183594
@@ -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 @@
1
+ defaults
@@ -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
+ /public/assets
25
+ .byebug_history
26
+
27
+ # Ignore master key for decrypting credentials and more.
28
+ /config/master.key
29
+
30
+ /public/packs
31
+ /public/packs-test
32
+ /node_modules
33
+ /yarn-error.log
34
+ yarn-debug.log*
35
+ .yarn-integrity