xss 0.1.1-x64-mingw32 → 0.1.2-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (8) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +57 -4
  3. data/README.md +24 -2
  4. data/Rakefile +6 -27
  5. data/bin/setup +36 -8
  6. data/lib/xss.rb +8 -1
  7. data/xss.gemspec +2 -2
  8. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ef87847d4354719e84ef830e6e64f83a35e268e10c5152948dbb48e1599004a
4
- data.tar.gz: 73f148b377df7d5c6da3a4131ddf759ed7cf79522d211f14e0f6c35ff1955547
3
+ metadata.gz: c4259ba1adf55ee9c0f9d2ea6cf8094bd01f41dc7b153c0c1e63bcb63c5965e5
4
+ data.tar.gz: 668b1dd48342e57aefb1c8be459e957536757b841d0b07ae1bc903a7cfd85df5
5
5
  SHA512:
6
- metadata.gz: 8059ffab65b1001f5170e54a9c55136c014891180a06bfd96126be07517a8dcfe0085007b7a147358aae9393ba7fbed83e66eeb2d96eb9e64e7bbf52f305e558
7
- data.tar.gz: 3a527e8016f04c6fc04367c8d454dbfe2e8083b60eaf9533a0954b35d260c34a9693eda4324b4367d6226b01091ec2b33a53bd6fb5f0eac3ee12f0c07787d141
6
+ metadata.gz: 6168626a7e139f9b8eeed1167b1c88672b4cf32925ce92cf086817abf6066ad93236c49d05dd4a8ae64de3b36b5a6808cd46fc5063839146b10a76e4644adb30
7
+ data.tar.gz: acc059efcc4286e0a0ecf12202bbf7e594264993d7c0b57e13252fadbcba5c0571dd2ccafdc394418a0b45989960b6c66323e109e30cc65d996f1650165395a6
data/Gemfile CHANGED
@@ -1,4 +1,57 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies xss.gemspec
4
- gemspec
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
- # sgrb
2
- Ruby repository for terminal interface interaction and anywhere access.
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
- require "bundler/gem_tasks"
2
- require "rake/testtask"
3
- require "rake/clean"
4
- require "rake/extensiontask"
5
-
6
- Rake::ExtensionTask.new "specs" do |ext|
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 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
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
@@ -7,4 +7,11 @@ class Xss
7
7
  def self.hi
8
8
  puts "Hello world!"
9
9
  end
10
- end
10
+ end
11
+
12
+ class Version
13
+ def self.version
14
+ puts "0.1.1"
15
+ end
16
+ end
17
+
data/xss.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'xss'
3
- s.version = '0.1.1'
4
- s.date = '2019-05-31'
3
+ s.version = '0.1.2'
4
+ s.date = '2019-06-03'
5
5
  s.summary = "xSGRB!"
6
6
  s.description = "A gem to control the world!"
7
7
  s.authors = ["0x000001"]
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.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-05-31 00:00:00.000000000 Z
11
+ date: 2019-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler