xss 0.1.1-x64-mingw32 → 0.1.2-x64-mingw32
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/Gemfile +57 -4
- data/README.md +24 -2
- data/Rakefile +6 -27
- data/bin/setup +36 -8
- data/lib/xss.rb +8 -1
- data/xss.gemspec +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4259ba1adf55ee9c0f9d2ea6cf8094bd01f41dc7b153c0c1e63bcb63c5965e5
|
4
|
+
data.tar.gz: 668b1dd48342e57aefb1c8be459e957536757b841d0b07ae1bc903a7cfd85df5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6168626a7e139f9b8eeed1167b1c88672b4cf32925ce92cf086817abf6066ad93236c49d05dd4a8ae64de3b36b5a6808cd46fc5063839146b10a76e4644adb30
|
7
|
+
data.tar.gz: acc059efcc4286e0a0ecf12202bbf7e594264993d7c0b57e13252fadbcba5c0571dd2ccafdc394418a0b45989960b6c66323e109e30cc65d996f1650165395a6
|
data/Gemfile
CHANGED
@@ -1,4 +1,57 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
3
|
+
|
4
|
+
ruby '2.5.5'
|
5
|
+
|
6
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
7
|
+
gem 'rails', '~> 5.2.3'
|
8
|
+
# Use mysql as the database for Active Record
|
9
|
+
gem 'mysql2', '>= 0.4.4', '< 0.6.0'
|
10
|
+
# Use Puma as the app server
|
11
|
+
gem 'puma', '~> 3.11'
|
12
|
+
# Use SCSS for stylesheets
|
13
|
+
gem 'sass-rails', '~> 5.0'
|
14
|
+
# Use Uglifier as compressor for JavaScript assets
|
15
|
+
gem 'uglifier', '>= 1.3.0'
|
16
|
+
# See https://github.com/rails/execjs#readme for more supported runtimes
|
17
|
+
gem 'duktape'
|
18
|
+
# Use CoffeeScript for .coffee assets and views
|
19
|
+
gem 'coffee-rails', '~> 4.2'
|
20
|
+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
21
|
+
gem 'turbolinks', '~> 5'
|
22
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
23
|
+
gem 'jbuilder', '~> 2.5'
|
24
|
+
# Use Redis adapter to run Action Cable in production
|
25
|
+
# gem 'redis', '~> 4.0'
|
26
|
+
# Use ActiveModel has_secure_password
|
27
|
+
# gem 'bcrypt', '~> 3.1.7'
|
28
|
+
|
29
|
+
# Use ActiveStorage variant
|
30
|
+
# gem 'mini_magick', '~> 4.8'
|
31
|
+
|
32
|
+
# Use Capistrano for deployment
|
33
|
+
# gem 'capistrano-rails', group: :development
|
34
|
+
|
35
|
+
# Reduces boot times through caching; required in config/boot.rb
|
36
|
+
gem 'bootsnap', '>= 1.1.0', require: false
|
37
|
+
|
38
|
+
group :development, :test do
|
39
|
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
40
|
+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
41
|
+
end
|
42
|
+
|
43
|
+
group :development do
|
44
|
+
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
|
45
|
+
gem 'web-console', '>= 3.3.0'
|
46
|
+
end
|
47
|
+
|
48
|
+
group :test do
|
49
|
+
# Adds support for Capybara system testing and selenium driver
|
50
|
+
gem 'capybara', '>= 2.15'
|
51
|
+
gem 'selenium-webdriver'
|
52
|
+
# Easy installation and use of chromedriver to run system tests with Chrome
|
53
|
+
gem 'chromedriver-helper'
|
54
|
+
end
|
55
|
+
|
56
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
57
|
+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
data/README.md
CHANGED
@@ -1,2 +1,24 @@
|
|
1
|
-
#
|
2
|
-
|
1
|
+
# README
|
2
|
+
|
3
|
+
This README would normally document whatever steps are necessary to get the
|
4
|
+
application up and running.
|
5
|
+
|
6
|
+
Things you may want to cover:
|
7
|
+
|
8
|
+
* Ruby version
|
9
|
+
|
10
|
+
* System dependencies
|
11
|
+
|
12
|
+
* Configuration
|
13
|
+
|
14
|
+
* Database creation
|
15
|
+
|
16
|
+
* Database initialization
|
17
|
+
|
18
|
+
* How to run the test suite
|
19
|
+
|
20
|
+
* Services (job queues, cache servers, search engines, etc.)
|
21
|
+
|
22
|
+
* Deployment instructions
|
23
|
+
|
24
|
+
* ...
|
data/Rakefile
CHANGED
@@ -1,27 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
ext.lib_dir = "lib/specs"
|
8
|
-
end
|
9
|
-
|
10
|
-
|
11
|
-
Rake::TestTask.new(:test) do |t|
|
12
|
-
t.libs << "test"
|
13
|
-
t.libs << "lib"
|
14
|
-
t.libs << "bin"
|
15
|
-
t.test_files = FileList['bin/*.rb']
|
16
|
-
end
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
Rake::ExtensionTask.new("sgrb")
|
22
|
-
|
23
|
-
require 'rake/javaextensiontask'
|
24
|
-
|
25
|
-
Rake::JavaExtensionTask.new('sgrb')
|
26
|
-
# task :default => [:compile, :test]
|
27
|
-
task :default => :test
|
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
|
data/bin/setup
CHANGED
@@ -1,8 +1,36 @@
|
|
1
|
-
#!/usr/bin/env
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
#!/usr/bin/env ruby.exe
|
2
|
+
require 'fileutils'
|
3
|
+
include FileUtils
|
4
|
+
|
5
|
+
# path to your application root.
|
6
|
+
APP_ROOT = File.expand_path('..', __dir__)
|
7
|
+
|
8
|
+
def system!(*args)
|
9
|
+
system(*args) || abort("\n== Command #{args} failed ==")
|
10
|
+
end
|
11
|
+
|
12
|
+
chdir APP_ROOT do
|
13
|
+
# This script is a starting point to setup your application.
|
14
|
+
# Add necessary setup steps to this file.
|
15
|
+
|
16
|
+
puts '== Installing dependencies =='
|
17
|
+
system! 'gem install bundler --conservative'
|
18
|
+
system('bundle check') || system!('bundle install')
|
19
|
+
|
20
|
+
# Install JavaScript dependencies if using Yarn
|
21
|
+
# system('bin/yarn')
|
22
|
+
|
23
|
+
# puts "\n== Copying sample files =="
|
24
|
+
# unless File.exist?('config/database.yml')
|
25
|
+
# cp 'config/database.yml.sample', 'config/database.yml'
|
26
|
+
# end
|
27
|
+
|
28
|
+
puts "\n== Preparing database =="
|
29
|
+
system! 'bin/rails db:setup'
|
30
|
+
|
31
|
+
puts "\n== Removing old logs and tempfiles =="
|
32
|
+
system! 'bin/rails log:clear tmp:clear'
|
33
|
+
|
34
|
+
puts "\n== Restarting application server =="
|
35
|
+
system! 'bin/rails restart'
|
36
|
+
end
|
data/lib/xss.rb
CHANGED
data/xss.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- '0x000001'
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler
|