putsreq 0.0.3 → 0.0.4
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 +5 -5
- data/.babelrc +26 -0
- data/.codeclimate.yml +29 -5
- data/.env.docker +6 -0
- data/.eslintignore +4 -0
- data/.eslintrc +22 -0
- data/.gitignore +8 -0
- data/.postcssrc.yml +3 -0
- data/.prettierrc +4 -0
- data/.reek +12 -0
- data/.rubocop.yml +47 -25
- data/.ruby-version +1 -1
- data/.simplecov +6 -0
- data/.travis.yml +38 -4
- data/Dockerfile +44 -0
- data/Gemfile +40 -61
- data/Gemfile.lock +294 -186
- data/Procfile +1 -1
- data/README.md +51 -46
- data/Rakefile +1 -1
- data/{public → app/assets}/images/logo.png +0 -0
- data/app/assets/javascripts/application.js +1 -1
- data/app/assets/javascripts/buckets.js.coffee +1 -21
- data/app/assets/stylesheets/{application.css → application.scss} +2 -1
- data/app/assets/stylesheets/buckets.css.scss +0 -2
- data/app/controllers/application_controller.rb +11 -9
- data/app/controllers/buckets_controller.rb +24 -18
- data/app/controllers/home_controller.rb +5 -5
- data/app/controllers/requests_controller.rb +13 -2
- data/app/helpers/application_helper.rb +6 -2
- data/app/interactors/create_or_retrieve_bucket.rb +17 -0
- data/app/interactors/create_request.rb +25 -7
- data/app/interactors/eval_response_builder.rb +9 -9
- data/app/interactors/filter_headers.rb +3 -3
- data/app/interactors/forward_request.rb +4 -4
- data/app/interactors/record_request.rb +1 -1
- data/app/interactors/track.rb +44 -0
- data/app/javascript/actionTypes.js +7 -0
- data/app/javascript/actions/index.js +64 -0
- data/app/javascript/components/Bucket.jsx +91 -0
- data/app/javascript/components/Pagination.jsx +67 -0
- data/app/javascript/components/RequestCount.jsx +21 -0
- data/app/javascript/components/request/Header.jsx +31 -0
- data/app/javascript/components/request/Response.jsx +28 -0
- data/app/javascript/components/request/index.jsx +47 -0
- data/app/javascript/packs/application.js +25 -0
- data/app/javascript/packs/hello_react.jsx +26 -0
- data/app/javascript/reducers/index.js +23 -0
- data/app/javascript/request_poller.js +19 -0
- data/app/javascript/store.js +9 -0
- data/app/models/bucket.rb +16 -10
- data/app/models/request.rb +2 -3
- data/app/models/user.rb +2 -2
- data/app/serializers/bucket_serializer.rb +11 -0
- data/app/serializers/request_serializer.rb +69 -0
- data/app/views/buckets/_buttons.html.erb +3 -3
- data/app/views/buckets/_form.html.erb +6 -6
- data/app/views/buckets/_readonly_buttons.html.erb +1 -1
- data/app/views/buckets/show.html.erb +12 -25
- data/app/views/home/index.html.erb +22 -16
- data/app/views/layouts/application.html.erb +21 -22
- data/app/views/layouts/devise.html.erb +16 -18
- data/app/views/shared/_flash.html.erb +3 -1
- data/bin/byebug +21 -0
- data/bin/cc-tddium-post-worker +21 -0
- data/bin/codeclimate-test-reporter +21 -0
- data/bin/coderay +21 -0
- data/bin/dotenv +21 -0
- data/bin/htmldiff +21 -0
- data/bin/httparty +21 -0
- data/bin/httpclient +21 -0
- data/bin/ldiff +21 -0
- data/bin/mongo_console +21 -0
- data/bin/nokogiri +21 -0
- data/bin/pry +21 -0
- data/bin/putsreq +18 -71
- data/bin/rackup +21 -0
- data/bin/rails +1 -1
- data/bin/ri +21 -0
- data/bin/rollbar-rails-runner +21 -0
- data/bin/rspec +10 -5
- data/bin/safe_yaml +21 -0
- data/bin/sass +21 -0
- data/bin/sass-convert +21 -0
- data/bin/scss +21 -0
- data/bin/sdoc +21 -0
- data/bin/sdoc-merge +21 -0
- data/bin/setup +38 -0
- data/bin/sprockets +21 -0
- data/bin/thor +21 -0
- data/bin/tilt +21 -0
- data/bin/unicorn +21 -0
- data/bin/unicorn_rails +21 -0
- data/bin/update +29 -0
- data/bin/webpack +15 -0
- data/bin/webpack-dev-server +15 -0
- data/bin/yarn +11 -0
- data/config/application.rb +6 -4
- data/config/boot.rb +1 -1
- data/config/environment.rb +1 -1
- data/config/environments/development.rb +7 -3
- data/config/environments/production.rb +5 -2
- data/config/environments/test.rb +3 -1
- data/config/initializers/devise.rb +2 -2
- data/config/initializers/rack_attack.rb +24 -0
- data/config/initializers/rollbar.rb +58 -0
- data/config/initializers/setup_email.rb +7 -7
- data/config/mongoid.yml +2 -2
- data/config/newrelic.yml +45 -0
- data/config/puma.rb +15 -0
- data/config/routes.rb +2 -0
- data/config/webpack/development.js +5 -0
- data/config/webpack/environment.js +3 -0
- data/config/webpack/production.js +5 -0
- data/config/webpack/test.js +5 -0
- data/config/webpacker.yml +70 -0
- data/docker-compose.yml +25 -0
- data/lib/putsreq/cli_helper.rb +114 -0
- data/lib/putsreq/version.rb +1 -1
- data/package.json +30 -0
- data/putsreq.gemspec +6 -7
- data/spec/controllers/buckets_controller_spec.rb +54 -46
- data/spec/interactors/create_or_retrieve_bucket_spec.rb +25 -0
- data/spec/interactors/create_request_spec.rb +11 -8
- data/spec/interactors/create_response_spec.rb +1 -1
- data/spec/interactors/eval_response_builder_spec.rb +14 -17
- data/spec/interactors/forward_request_spec.rb +4 -4
- data/spec/lib/putsreq/cli_helper_spec.rb +114 -0
- data/spec/models/bucket_spec.rb +3 -3
- data/spec/spec_helper.rb +25 -25
- data/yarn.lock +7043 -0
- metadata +85 -20
- data/.hound.yml +0 -14
- data/app/interactors/notify_count.rb +0 -15
- data/app/models/.keep +0 -0
- data/config/initializers/redis.rb +0 -17
- data/config/unicorn.rb +0 -16
- data/lib/assets/.keep +0 -0
- data/public/images/.keep +0 -0
- data/vendor/assets/javascripts/.keep +0 -0
- data/vendor/assets/stylesheets/.keep +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
<%= link_to 'Fork', bucket_fork_path(
|
|
1
|
+
<%= link_to 'Fork', bucket_fork_path(bucket.token), class: 'btn btn-primary tm10', method: :post %>
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
<%= javascript_pack_tag 'application' %>
|
|
2
|
+
|
|
3
|
+
<% content_for :title, bucket.name %>
|
|
2
4
|
|
|
3
5
|
<ul class="nav">
|
|
4
6
|
<li class="logo"><a href="/"><%= image_tag 'logo.png' %></a></li>
|
|
5
|
-
<li><a href="<%= "/#{
|
|
6
|
-
<li><a href="<%= "/#{
|
|
7
|
-
<li><a href="<%= "/#{
|
|
7
|
+
<li><a href="<%= "/#{bucket.token}/inspect" %>">Inspect</a></li>
|
|
8
|
+
<li><a href="<%= "/#{bucket.token}/last" %>" title="JSON-formatted">Last Request</a></li>
|
|
9
|
+
<li><a href="<%= "/#{bucket.token}/last_response" %>" title="JSON-formatted">Last Response</a></li>
|
|
8
10
|
<% if user_signed_in? %>
|
|
9
11
|
<li><%= link_to 'Sign out', destroy_user_session_path, method: :delete %></li>
|
|
10
12
|
<% else %>
|
|
@@ -16,7 +18,7 @@
|
|
|
16
18
|
<section class="putsreq-url-box">
|
|
17
19
|
<h3>Your PutsReq URL</h3>
|
|
18
20
|
<div class="input-group putsreq-url">
|
|
19
|
-
<input id="putsreq-url-input" data-bucket-token="<%=
|
|
21
|
+
<input id="putsreq-url-input" data-bucket-token="<%= bucket.token %>" type="text" value="<%= token_url(bucket.token) %>" readonly="readonly"></input>
|
|
20
22
|
<span id="copy-button" class="input-group-addon hastip clipboard" data-clipboard-target="#putsreq-url-input">
|
|
21
23
|
<span class="glyphicon glyphicon-link hastip"></span>
|
|
22
24
|
</span>
|
|
@@ -27,7 +29,7 @@
|
|
|
27
29
|
|
|
28
30
|
<section>
|
|
29
31
|
<h4>Sample Request using cURL</h4>
|
|
30
|
-
<code>curl -i -X POST -d 'name=Pablo' <%= token_url(
|
|
32
|
+
<code>curl -i -X POST -d 'name=Pablo' <%= token_url(bucket.token) %></code>
|
|
31
33
|
</section>
|
|
32
34
|
|
|
33
35
|
<hr/>
|
|
@@ -36,24 +38,9 @@
|
|
|
36
38
|
|
|
37
39
|
<p id="new-requests-info"><!-- placeholder: New requests found. Load newer requests? --></p>
|
|
38
40
|
|
|
39
|
-
<div
|
|
40
|
-
<div class="col-md-6">
|
|
41
|
-
<% if @bucket.first_request_at %>
|
|
42
|
-
<p>
|
|
43
|
-
<em>First request at: <%= @bucket.first_request_at %></br>
|
|
44
|
-
Last request at: <%= @bucket.last_request_at %></br>
|
|
45
|
-
<% if @bucket.last_request_at - @bucket.first_request_at > 0 %>
|
|
46
|
-
From first to last: <%= distance_of_time_in_words @bucket.first_request_at, @bucket.last_request_at, include_seconds: true %></br>
|
|
47
|
-
<% end %>
|
|
48
|
-
Request ID: <%= link_to @requests.first.id, request_path(id: @requests.first.id, format: :json) %>
|
|
49
|
-
</em>
|
|
50
|
-
</p>
|
|
51
|
-
<% end %>
|
|
52
|
-
</div>
|
|
53
|
-
<div class="col-md-6"></div>
|
|
41
|
+
<div id="react-root">
|
|
54
42
|
</div>
|
|
55
|
-
<p><%= paginate @requests %></p>
|
|
56
|
-
<%= render(partial: 'requests', collection: @requests, as: :recorded_request) || show_no_requests_found(@bucket) %>
|
|
57
|
-
<p><%= paginate @requests %></p>
|
|
58
43
|
|
|
59
|
-
<script
|
|
44
|
+
<script type="application/json" id="bucket-json">
|
|
45
|
+
<%== BucketSerializer.new(bucket).to_json %>
|
|
46
|
+
</script>
|
|
@@ -16,23 +16,29 @@
|
|
|
16
16
|
<% end %>
|
|
17
17
|
</header>
|
|
18
18
|
<section class="start">
|
|
19
|
-
|
|
20
|
-
<div class="
|
|
21
|
-
<h4
|
|
22
|
-
<
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</ul>
|
|
19
|
+
<div class="row">
|
|
20
|
+
<div class="<%= @buckets.any? ? 'col-md-7' : 'col-md-12' %>">
|
|
21
|
+
<h4>Record requests</h4>
|
|
22
|
+
<p>Change your target URL to a PutsReq URL to start recording your requests.</p>
|
|
23
|
+
<h4 class="tm20">Fake responses</h4>
|
|
24
|
+
<p>PutsReq is the easiest way to fake HTTP responses. You can define the response status, headers and body you want using <a href="https://github.com/phstc/putsreq#response-builder">JavaScript</a>.
|
|
25
|
+
<h4 class="tm20">Forward requests</h4>
|
|
26
|
+
<p>You can easily <a href="https://github.com/phstc/putsreq#forwardto">forward requests to another URL</a>, including <a href="https://github.com/phstc/putsreq#cli">localhost</a>.
|
|
28
27
|
</div>
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
28
|
+
<% if @buckets.any? %>
|
|
29
|
+
<div class="col-md-5">
|
|
30
|
+
<div class="history">
|
|
31
|
+
<h4 class="bm0 tm0">History</h4>
|
|
32
|
+
<small>View and manage your buckets:</small>
|
|
33
|
+
<ul class="tm5">
|
|
34
|
+
<% @buckets.each do |bucket| %>
|
|
35
|
+
<li><%= link_to "#{bucket.name} (#{bucket.requests_count})", bucket_path(bucket.token) %></li>
|
|
36
|
+
<% end %>
|
|
37
|
+
</ul>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
<% end %>
|
|
41
|
+
</div>
|
|
36
42
|
</section>
|
|
37
43
|
</div>
|
|
38
44
|
</div>
|
|
@@ -1,28 +1,27 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html>
|
|
3
|
-
<head>
|
|
4
|
-
|
|
5
|
-
</head>
|
|
6
|
-
<body data-route="<%= dispatcher_route %>">
|
|
3
|
+
<head>
|
|
4
|
+
<%= render 'layouts/header' %>
|
|
5
|
+
</head>
|
|
6
|
+
<body data-route="<%= dispatcher_route %>">
|
|
7
|
+
<!-- https://github.com/blog/273-github-ribbons -->
|
|
8
|
+
<a href="https://github.com/phstc/putsreq"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"></a>
|
|
7
9
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
<
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
<div style="float:right">
|
|
23
|
-
Developed by <a href="http://pablocantero.com" target="_blank">Pablo Cantero</a> | Design by <a href="http://rodger.com.br" target="_blank">Glauber Rodger</a>.
|
|
10
|
+
<div class="container">
|
|
11
|
+
<%= render 'shared/flash' %>
|
|
12
|
+
<%= yield %>
|
|
13
|
+
<hr />
|
|
14
|
+
<div class="row">
|
|
15
|
+
<div class="col-md-6">
|
|
16
|
+
<strong>Requests Recorded: <%= requests_recorded %></strong>
|
|
17
|
+
<br/>
|
|
18
|
+
<br/>
|
|
19
|
+
<p>Are you looking for email testing tools? Have a look at <a href="http://putsbox.com" target="_blank">PutsBox</a>.</p>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="col-md-6 text-right">
|
|
22
|
+
Developed by <a href="http://pablocantero.com" target="_blank">Pablo Cantero</a> | Design by <a href="http://rodger.com.br" target="_blank">Glauber Rodger</a>.
|
|
23
|
+
</div>
|
|
24
24
|
</div>
|
|
25
25
|
</div>
|
|
26
|
-
</
|
|
27
|
-
</body>
|
|
26
|
+
</body>
|
|
28
27
|
</html>
|
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html>
|
|
3
|
-
<head>
|
|
4
|
-
|
|
5
|
-
</head>
|
|
6
|
-
<body data-route="<%= dispatcher_route %>">
|
|
3
|
+
<head>
|
|
4
|
+
<%= render 'layouts/header' %>
|
|
5
|
+
</head>
|
|
6
|
+
<body data-route="<%= dispatcher_route %>">
|
|
7
|
+
<!-- https://github.com/blog/273-github-ribbons -->
|
|
8
|
+
<a href="https://github.com/phstc/putsreq"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"></a>
|
|
7
9
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
<strong>Requests Recorded: <%= REDIS.get 'requests_recorded' %></strong>
|
|
19
|
-
</div>
|
|
20
|
-
|
|
21
|
-
</body>
|
|
10
|
+
<div class="container">
|
|
11
|
+
<%= render 'shared/flash' %>
|
|
12
|
+
<ul class="nav">
|
|
13
|
+
<li class="logo"><a href="/"><%= image_tag 'logo.png' %></a></li>
|
|
14
|
+
</ul>
|
|
15
|
+
<%= yield %>
|
|
16
|
+
<hr />
|
|
17
|
+
<strong>Requests Recorded: <%= requests_recorded %></strong>
|
|
18
|
+
</div>
|
|
19
|
+
</body>
|
|
22
20
|
</html>
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
<% if alert %>
|
|
2
2
|
<div id="main-alert" class="alert alert-danger">
|
|
3
|
+
<button type="button" class="close" data-dismiss="alert">x</button>
|
|
3
4
|
<h4><%= alert %></h4>
|
|
4
5
|
</div>
|
|
5
6
|
<% end %>
|
|
6
7
|
<% if notice %>
|
|
7
8
|
<div id="main-alert" class="alert alert-success">
|
|
9
|
+
<button type="button" class="close" data-dismiss="alert">x</button>
|
|
8
10
|
<h4><%= notice %></h4>
|
|
9
11
|
</div>
|
|
10
|
-
<% end %>
|
|
12
|
+
<% end %>
|
data/bin/byebug
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
#
|
|
5
|
+
# This file was generated by Bundler.
|
|
6
|
+
#
|
|
7
|
+
# The application 'byebug' is installed as part of a gem, and
|
|
8
|
+
# this file is here to facilitate running it.
|
|
9
|
+
#
|
|
10
|
+
|
|
11
|
+
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
|
12
|
+
load(bundle_binstub) if File.file?(bundle_binstub)
|
|
13
|
+
|
|
14
|
+
require "pathname"
|
|
15
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
16
|
+
Pathname.new(__FILE__).realpath)
|
|
17
|
+
|
|
18
|
+
require "rubygems"
|
|
19
|
+
require "bundler/setup"
|
|
20
|
+
|
|
21
|
+
load Gem.bin_path("byebug", "byebug")
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
#
|
|
5
|
+
# This file was generated by Bundler.
|
|
6
|
+
#
|
|
7
|
+
# The application 'cc-tddium-post-worker' is installed as part of a gem, and
|
|
8
|
+
# this file is here to facilitate running it.
|
|
9
|
+
#
|
|
10
|
+
|
|
11
|
+
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
|
12
|
+
load(bundle_binstub) if File.file?(bundle_binstub)
|
|
13
|
+
|
|
14
|
+
require "pathname"
|
|
15
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
16
|
+
Pathname.new(__FILE__).realpath)
|
|
17
|
+
|
|
18
|
+
require "rubygems"
|
|
19
|
+
require "bundler/setup"
|
|
20
|
+
|
|
21
|
+
load Gem.bin_path("codeclimate-test-reporter", "cc-tddium-post-worker")
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
#
|
|
5
|
+
# This file was generated by Bundler.
|
|
6
|
+
#
|
|
7
|
+
# The application 'codeclimate-test-reporter' is installed as part of a gem, and
|
|
8
|
+
# this file is here to facilitate running it.
|
|
9
|
+
#
|
|
10
|
+
|
|
11
|
+
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
|
12
|
+
load(bundle_binstub) if File.file?(bundle_binstub)
|
|
13
|
+
|
|
14
|
+
require "pathname"
|
|
15
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
16
|
+
Pathname.new(__FILE__).realpath)
|
|
17
|
+
|
|
18
|
+
require "rubygems"
|
|
19
|
+
require "bundler/setup"
|
|
20
|
+
|
|
21
|
+
load Gem.bin_path("codeclimate-test-reporter", "codeclimate-test-reporter")
|
data/bin/coderay
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
#
|
|
5
|
+
# This file was generated by Bundler.
|
|
6
|
+
#
|
|
7
|
+
# The application 'coderay' is installed as part of a gem, and
|
|
8
|
+
# this file is here to facilitate running it.
|
|
9
|
+
#
|
|
10
|
+
|
|
11
|
+
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
|
12
|
+
load(bundle_binstub) if File.file?(bundle_binstub)
|
|
13
|
+
|
|
14
|
+
require "pathname"
|
|
15
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
16
|
+
Pathname.new(__FILE__).realpath)
|
|
17
|
+
|
|
18
|
+
require "rubygems"
|
|
19
|
+
require "bundler/setup"
|
|
20
|
+
|
|
21
|
+
load Gem.bin_path("coderay", "coderay")
|
data/bin/dotenv
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
#
|
|
5
|
+
# This file was generated by Bundler.
|
|
6
|
+
#
|
|
7
|
+
# The application 'dotenv' is installed as part of a gem, and
|
|
8
|
+
# this file is here to facilitate running it.
|
|
9
|
+
#
|
|
10
|
+
|
|
11
|
+
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
|
12
|
+
load(bundle_binstub) if File.file?(bundle_binstub)
|
|
13
|
+
|
|
14
|
+
require "pathname"
|
|
15
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
16
|
+
Pathname.new(__FILE__).realpath)
|
|
17
|
+
|
|
18
|
+
require "rubygems"
|
|
19
|
+
require "bundler/setup"
|
|
20
|
+
|
|
21
|
+
load Gem.bin_path("dotenv", "dotenv")
|
data/bin/htmldiff
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
#
|
|
5
|
+
# This file was generated by Bundler.
|
|
6
|
+
#
|
|
7
|
+
# The application 'htmldiff' is installed as part of a gem, and
|
|
8
|
+
# this file is here to facilitate running it.
|
|
9
|
+
#
|
|
10
|
+
|
|
11
|
+
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
|
12
|
+
load(bundle_binstub) if File.file?(bundle_binstub)
|
|
13
|
+
|
|
14
|
+
require "pathname"
|
|
15
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
16
|
+
Pathname.new(__FILE__).realpath)
|
|
17
|
+
|
|
18
|
+
require "rubygems"
|
|
19
|
+
require "bundler/setup"
|
|
20
|
+
|
|
21
|
+
load Gem.bin_path("diff-lcs", "htmldiff")
|
data/bin/httparty
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
#
|
|
5
|
+
# This file was generated by Bundler.
|
|
6
|
+
#
|
|
7
|
+
# The application 'httparty' is installed as part of a gem, and
|
|
8
|
+
# this file is here to facilitate running it.
|
|
9
|
+
#
|
|
10
|
+
|
|
11
|
+
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
|
12
|
+
load(bundle_binstub) if File.file?(bundle_binstub)
|
|
13
|
+
|
|
14
|
+
require "pathname"
|
|
15
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
16
|
+
Pathname.new(__FILE__).realpath)
|
|
17
|
+
|
|
18
|
+
require "rubygems"
|
|
19
|
+
require "bundler/setup"
|
|
20
|
+
|
|
21
|
+
load Gem.bin_path("httparty", "httparty")
|
data/bin/httpclient
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
#
|
|
5
|
+
# This file was generated by Bundler.
|
|
6
|
+
#
|
|
7
|
+
# The application 'httpclient' is installed as part of a gem, and
|
|
8
|
+
# this file is here to facilitate running it.
|
|
9
|
+
#
|
|
10
|
+
|
|
11
|
+
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
|
12
|
+
load(bundle_binstub) if File.file?(bundle_binstub)
|
|
13
|
+
|
|
14
|
+
require "pathname"
|
|
15
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
16
|
+
Pathname.new(__FILE__).realpath)
|
|
17
|
+
|
|
18
|
+
require "rubygems"
|
|
19
|
+
require "bundler/setup"
|
|
20
|
+
|
|
21
|
+
load Gem.bin_path("httpclient", "httpclient")
|
data/bin/ldiff
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
#
|
|
5
|
+
# This file was generated by Bundler.
|
|
6
|
+
#
|
|
7
|
+
# The application 'ldiff' is installed as part of a gem, and
|
|
8
|
+
# this file is here to facilitate running it.
|
|
9
|
+
#
|
|
10
|
+
|
|
11
|
+
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
|
12
|
+
load(bundle_binstub) if File.file?(bundle_binstub)
|
|
13
|
+
|
|
14
|
+
require "pathname"
|
|
15
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
16
|
+
Pathname.new(__FILE__).realpath)
|
|
17
|
+
|
|
18
|
+
require "rubygems"
|
|
19
|
+
require "bundler/setup"
|
|
20
|
+
|
|
21
|
+
load Gem.bin_path("diff-lcs", "ldiff")
|
data/bin/mongo_console
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
#
|
|
5
|
+
# This file was generated by Bundler.
|
|
6
|
+
#
|
|
7
|
+
# The application 'mongo_console' is installed as part of a gem, and
|
|
8
|
+
# this file is here to facilitate running it.
|
|
9
|
+
#
|
|
10
|
+
|
|
11
|
+
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
|
12
|
+
load(bundle_binstub) if File.file?(bundle_binstub)
|
|
13
|
+
|
|
14
|
+
require "pathname"
|
|
15
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
16
|
+
Pathname.new(__FILE__).realpath)
|
|
17
|
+
|
|
18
|
+
require "rubygems"
|
|
19
|
+
require "bundler/setup"
|
|
20
|
+
|
|
21
|
+
load Gem.bin_path("mongo", "mongo_console")
|
data/bin/nokogiri
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
#
|
|
5
|
+
# This file was generated by Bundler.
|
|
6
|
+
#
|
|
7
|
+
# The application 'nokogiri' is installed as part of a gem, and
|
|
8
|
+
# this file is here to facilitate running it.
|
|
9
|
+
#
|
|
10
|
+
|
|
11
|
+
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
|
12
|
+
load(bundle_binstub) if File.file?(bundle_binstub)
|
|
13
|
+
|
|
14
|
+
require "pathname"
|
|
15
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
16
|
+
Pathname.new(__FILE__).realpath)
|
|
17
|
+
|
|
18
|
+
require "rubygems"
|
|
19
|
+
require "bundler/setup"
|
|
20
|
+
|
|
21
|
+
load Gem.bin_path("nokogiri", "nokogiri")
|