Commit 9448385f authored by nazarf's avatar nazarf

set and check miner status

parent e6391590
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<codeStyleSettings language="ruby">
<option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
</codeStyleSettings>
</code_scheme>
</component>
\ No newline at end of file
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
</state>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AutoImportSettings">
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="9714672e-a423-436e-a8d6-e25573fece52" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/.idea/codeStyles/Project.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/codeStyles/codeStyleConfig.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/app/controllers/miners_controller.rb" afterDir="false" />
<change afterPath="$PROJECT_DIR$/app/models/miner.rb" afterDir="false" />
<change afterPath="$PROJECT_DIR$/app/views/miners/_form.html.haml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/app/views/miners/edit.html.haml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/app/views/miners/index.html.haml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/app/views/miners/new.html.haml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/app/views/miners/show.html.haml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/db/migrate/20230312235403_create_miners.rb" afterDir="false" />
<change afterPath="$PROJECT_DIR$/test/controllers/miners_controller_test.rb" afterDir="false" />
<change afterPath="$PROJECT_DIR$/test/fixtures/miners.yml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/test/models/miner_test.rb" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Gemfile" beforeDir="false" afterPath="$PROJECT_DIR$/Gemfile" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Gemfile.lock" beforeDir="false" afterPath="$PROJECT_DIR$/Gemfile.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/controllers/front_controller.rb" beforeDir="false" afterPath="$PROJECT_DIR$/app/controllers/front_controller.rb" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/views/layouts/admin.html.haml" beforeDir="false" afterPath="$PROJECT_DIR$/app/views/layouts/admin.html.haml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/base_site.iml" beforeDir="false" afterPath="$PROJECT_DIR$/base_site.iml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/database.yml" beforeDir="false" afterPath="$PROJECT_DIR$/config/database.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/routes.rb" beforeDir="false" afterPath="$PROJECT_DIR$/config/routes.rb" afterDir="false" />
<change beforePath="$PROJECT_DIR$/db/schema.rb" beforeDir="false" afterPath="$PROJECT_DIR$/db/schema.rb" afterDir="false" />
<change beforePath="$PROJECT_DIR$/db/seeds.rb" beforeDir="false" afterPath="$PROJECT_DIR$/db/seeds.rb" afterDir="false" />
</list>
<list id="e4be6035-6aaa-4f44-85ea-6a3713a8155a" name=".idea" comment="" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="LogFilters">
<option name="FILTER_ERRORS" value="false" />
<option name="FILTER_WARNINGS" value="false" />
<option name="FILTER_INFO" value="true" />
<option name="FILTER_DEBUG" value="true" />
<option name="CUSTOM_FILTER" />
</component>
<component name="MarkdownSettingsMigration">
<option name="stateVersion" value="1" />
</component>
<component name="ProjectId" id="2Mw4jm1FaJE7f48qqBHuNBWSOai" />
<component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent">{
&quot;keyToString&quot;: {
&quot;Ruby.ViewRefParam.DefaultExtension&quot;: &quot;html.erb&quot;,
&quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
&quot;SHARE_PROJECT_CONFIGURATION_FILES&quot;: &quot;true&quot;,
&quot;WebServerToolWindowFactoryState&quot;: &quot;false&quot;,
&quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
&quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
&quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
&quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
&quot;ruby.rails.projectView.checked&quot;: &quot;true&quot;,
&quot;ruby.structure.view.model.defaults.configured&quot;: &quot;true&quot;,
&quot;settings.editor.selected.configurable&quot;: &quot;preferences.pluginManager&quot;,
&quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
}
}</component>
<component name="RunAnythingCache">
<option name="myCommands">
<command value="rake db:rollback" />
<command value="rake db:seed" />
</option>
</component>
<component name="RunManager" selected="Rails.dev_start">
<configuration name="dev_start" type="RailsRunConfigurationType" factoryName="Rails">
<module name="base_site" />
<predefined_log_file enabled="true" id="RUBY_RAILS_SERVER" />
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="" />
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$PROJECT_DIR$" />
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
<EXTENSION ID="BundlerRunConfigurationExtension" BUNDLE_MODE="AUTO" bundleExecEnabled="true" />
<EXTENSION ID="RubyCoverageRunConfigurationExtension" runner="rcov" />
<EXTENSION ID="org.jetbrains.plugins.ruby.rails.run.RailsRunConfigurationExtension" SCRATCH_USE_RAILS_RUNNER="false" />
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="SCRIPT_ARGS" VALUE="" />
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="PORT" VALUE="3000" />
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="IP" VALUE="0.0.0.0" />
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="DUMMY_APP" VALUE="test/dummy" />
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="RAILS_SERVER_TYPE" VALUE="default" />
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="ENVIRONMENT_TYPE" VALUE="development" />
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="LAUNCH_JS" VALUE="false" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="db:create: base_site" type="RakeRunConfigurationType" factoryName="Rake" temporary="true">
<module name="base_site" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$PROJECT_DIR$" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
<envs>
<env name="RAILS_ENV" value="development" />
</envs>
<EXTENSION ID="BundlerRunConfigurationExtension" BUNDLE_MODE="AUTO" bundleExecEnabled="true" />
<EXTENSION ID="RubyCoverageRunConfigurationExtension" runner="rcov" />
<EXTENSION ID="org.jetbrains.plugins.ruby.rails.run.RailsRunConfigurationExtension" SCRATCH_USE_RAILS_RUNNER="false" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="db:create" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE="" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TESTOPTS" VALUE="" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="db:migrate: base_site" type="RakeRunConfigurationType" factoryName="Rake" temporary="true">
<module name="base_site" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$PROJECT_DIR$" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
<envs>
<env name="RAILS_ENV" value="development" />
</envs>
<EXTENSION ID="BundlerRunConfigurationExtension" BUNDLE_MODE="AUTO" bundleExecEnabled="true" />
<EXTENSION ID="RubyCoverageRunConfigurationExtension" runner="rcov" />
<EXTENSION ID="org.jetbrains.plugins.ruby.rails.run.RailsRunConfigurationExtension" SCRATCH_USE_RAILS_RUNNER="false" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="db:migrate" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE="" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TESTOPTS" VALUE="" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="db:rollback: base_site" type="RakeRunConfigurationType" factoryName="Rake" temporary="true">
<module name="base_site" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$PROJECT_DIR$" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
<envs>
<env name="RAILS_ENV" value="development" />
</envs>
<EXTENSION ID="BundlerRunConfigurationExtension" BUNDLE_MODE="AUTO" bundleExecEnabled="true" />
<EXTENSION ID="RubyCoverageRunConfigurationExtension" runner="rcov" />
<EXTENSION ID="org.jetbrains.plugins.ruby.rails.run.RailsRunConfigurationExtension" SCRATCH_USE_RAILS_RUNNER="false" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="db:rollback" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE="" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TESTOPTS" VALUE="" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="db:seed: base_site" type="RakeRunConfigurationType" factoryName="Rake" temporary="true">
<module name="base_site" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$PROJECT_DIR$" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
<EXTENSION ID="BundlerRunConfigurationExtension" BUNDLE_MODE="AUTO" bundleExecEnabled="true" />
<EXTENSION ID="RubyCoverageRunConfigurationExtension" runner="rcov" />
<EXTENSION ID="org.jetbrains.plugins.ruby.rails.run.RailsRunConfigurationExtension" SCRATCH_USE_RAILS_RUNNER="false" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="db:seed" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE="" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TESTOPTS" VALUE="" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
<predefined_log_file enabled="true" id="RUBY_TESTUNIT" />
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="" />
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
<EXTENSION ID="BundlerRunConfigurationExtension" BUNDLE_MODE="AUTO" bundleExecEnabled="true" />
<EXTENSION ID="org.jetbrains.plugins.ruby.rails.run.RailsRunConfigurationExtension" SCRATCH_USE_RAILS_RUNNER="false" />
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPTS_PATHS" VALUE="" />
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="CUSTOM_SET_OF_FILES" />
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<list>
<item itemvalue="Rails.dev_start" />
<item itemvalue="Rake.db:rollback: base_site" />
<item itemvalue="Rake.db:create: base_site" />
<item itemvalue="Rake.db:migrate: base_site" />
<item itemvalue="Rake.db:seed: base_site" />
</list>
<recent_temporary>
<list>
<item itemvalue="Rake.db:seed: base_site" />
<item itemvalue="Rake.db:migrate: base_site" />
<item itemvalue="Rake.db:rollback: base_site" />
<item itemvalue="Rake.db:create: base_site" />
</list>
</recent_temporary>
</component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="SpringUtil" SPRING_PRE_LOADER_OPTION="false" RAKE_SPRING_PRE_LOADER_OPTION="false" RAILS_SPRING_PRE_LOADER_OPTION="false" />
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="9714672e-a423-436e-a8d6-e25573fece52" name="Changes" comment="" />
<changelist id="e4be6035-6aaa-4f44-85ea-6a3713a8155a" name=".idea" comment="" />
<created>1678665447645</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1678665447645</updated>
<workItem from="1678665448925" duration="187000" />
<workItem from="1678665646686" duration="2018000" />
<workItem from="1678919799908" duration="1347000" />
</task>
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" />
</component>
<component name="com.intellij.coverage.CoverageDataManagerImpl">
<SUITE FILE_PATH="coverage/bsa_miner@db_seed__base_site.rcov" NAME="db:seed: base_site Coverage Results" MODIFIED="1678666605094" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="base_site" />
<SUITE FILE_PATH="coverage/bsa_miner@dev_start.rcov" NAME="dev_start Coverage Results" MODIFIED="1678921028158" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="base_site" />
<SUITE FILE_PATH="coverage/bsa_miner@db_rollback__base_site.rcov" NAME="db:rollback: base_site Coverage Results" MODIFIED="1678666388851" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="base_site" />
<SUITE FILE_PATH="coverage/bsa_miner@Unnamed.rcov" NAME="dev_start Coverage Results" MODIFIED="1678666751300" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="base_site" />
<SUITE FILE_PATH="coverage/bsa_miner@db_migrate__base_site.rcov" NAME="db:migrate: base_site Coverage Results" MODIFIED="1678666547095" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="base_site" />
<SUITE FILE_PATH="coverage/bsa_miner@db_create__base_site.rcov" NAME="db:create: base_site Coverage Results" MODIFIED="1678665112902" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="base_site" />
</component>
</project>
\ No newline at end of file
source 'https://rubygems.org' source 'https://rubygems.org'
gem 'rails', '4.2.8' gem 'rails', '4.2.8'
gem 'mysql2' gem 'mysql2', '~> 0.4.3'
gem 'uglifier', '>= 1.3.0' gem 'uglifier', '>= 1.3.0'
gem 'sass-rails', '~> 5.0' gem 'sass-rails', '~> 5.0'
gem 'coffee-rails', '~> 4.1.0' gem 'coffee-rails', '~> 4.1.0'
......
...@@ -35,53 +35,48 @@ GEM ...@@ -35,53 +35,48 @@ GEM
minitest (~> 5.1) minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4) thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1) tzinfo (~> 1.1)
acts_as_list (0.9.4) acts_as_list (1.1.0)
activerecord (>= 3.0) activerecord (>= 4.2)
airbrussh (1.1.2) airbrussh (1.4.1)
sshkit (>= 1.6.1, != 1.7.0) sshkit (>= 1.6.1, != 1.7.0)
arel (6.0.4) arel (6.0.4)
autoprefixer-rails (6.7.7.1) autoprefixer-rails (10.4.13.0)
execjs execjs (~> 2)
bcrypt (3.1.11-x64-mingw32) bcrypt (3.1.18)
bcrypt (3.1.11-x86-mingw32) binding_of_caller (1.0.0)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1) debug_inspector (>= 0.0.1)
bootstrap-sass (3.3.7) bootstrap-sass (3.3.7)
autoprefixer-rails (>= 5.2.1) autoprefixer-rails (>= 5.2.1)
sass (>= 3.3.4) sass (>= 3.3.4)
bootstrap-will_paginate (0.0.11) bootstrap-will_paginate (1.0.0)
will_paginate will_paginate
bootstrap3-datetimepicker-rails (4.15.35) bootstrap3-datetimepicker-rails (4.15.35)
momentjs-rails (>= 2.8.1) momentjs-rails (>= 2.8.1)
builder (3.2.3) builder (3.2.4)
capistrano (3.7.2) capistrano (3.7.2)
airbrussh (>= 1.0.0) airbrussh (>= 1.0.0)
capistrano-harrow capistrano-harrow
i18n i18n
rake (>= 10.0.0) rake (>= 10.0.0)
sshkit (>= 1.9.0) sshkit (>= 1.9.0)
capistrano-bundler (1.2.0) capistrano-bundler (2.1.0)
capistrano (~> 3.1) capistrano (~> 3.1)
sshkit (~> 1.2) capistrano-faster-assets (1.1.0)
capistrano-faster-assets (1.0.2)
capistrano (>= 3.1) capistrano (>= 3.1)
capistrano-harrow (0.5.3) capistrano-harrow (0.5.3)
capistrano-rails (1.2.3) capistrano-rails (1.6.2)
capistrano (~> 3.1) capistrano (~> 3.1)
capistrano-bundler (~> 1.1) capistrano-bundler (>= 1.1, < 3)
capistrano-rvm (0.1.2) capistrano-rvm (0.1.2)
capistrano (~> 3.0) capistrano (~> 3.0)
sshkit (~> 1.2) sshkit (~> 1.2)
carrierwave (1.0.0) carrierwave (1.3.3)
activemodel (>= 4.0.0) activemodel (>= 4.0.0)
activesupport (>= 4.0.0) activesupport (>= 4.0.0)
mime-types (>= 1.16) mime-types (>= 1.16)
ckeditor (4.2.4) ssrf_filter (~> 1.0, < 1.1.0)
cocaine ckeditor (5.1.1)
orm_adapter (~> 0.5.0) orm_adapter (~> 0.5.0)
climate_control (0.2.0)
cocaine (0.5.8)
climate_control (>= 0.0.3, < 1.0)
coffee-rails (4.1.1) coffee-rails (4.1.1)
coffee-script (>= 2.2.0) coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.1.x) railties (>= 4.0.0, < 5.1.x)
...@@ -90,39 +85,45 @@ GEM ...@@ -90,39 +85,45 @@ GEM
execjs execjs
coffee-script-source (1.12.2) coffee-script-source (1.12.2)
commonjs (0.2.7) commonjs (0.2.7)
concurrent-ruby (1.0.5) concurrent-ruby (1.2.2)
debug_inspector (0.0.2) crass (1.0.6)
devise (4.2.1) debug_inspector (1.1.0)
devise (4.9.0)
bcrypt (~> 3.0) bcrypt (~> 3.0)
orm_adapter (~> 0.1) orm_adapter (~> 0.1)
railties (>= 4.1.0, < 5.1) railties (>= 4.1.0)
responders responders
warden (~> 1.2.3) warden (~> 1.2.3)
devise-i18n (1.1.2) devise-i18n (1.11.0)
devise (>= 4.9.0)
digest (3.1.1)
erubis (2.7.0) erubis (2.7.0)
execjs (2.7.0) execjs (2.8.1)
font-awesome-rails (4.7.0.1) ffi (1.15.5)
railties (>= 3.2, < 5.1) font-awesome-rails (4.7.0.8)
globalid (0.3.7) railties (>= 3.2, < 8.0)
activesupport (>= 4.1.0) globalid (0.4.2)
haml (4.0.7) activesupport (>= 4.2.0)
haml (5.2.2)
temple (>= 0.8.0)
tilt tilt
haml-rails (0.9.0) haml-rails (1.0.0)
actionpack (>= 4.0.1) actionpack (>= 4.0.1)
activesupport (>= 4.0.1) activesupport (>= 4.0.1)
haml (>= 4.0.6, < 5.0) haml (>= 4.0.6, < 6.0)
html2haml (>= 1.0.1) html2haml (>= 1.0.1)
railties (>= 4.0.1) railties (>= 4.0.1)
html2haml (2.1.0) html2haml (2.3.0)
erubis (~> 2.7.0) erubis (~> 2.7.0)
haml (~> 4.0) haml (>= 4.0)
nokogiri (>= 1.6.0) nokogiri (>= 1.6.0)
ruby_parser (~> 3.5) ruby_parser (~> 3.5)
i18n (0.8.1) i18n (0.9.5)
jbuilder (2.6.3) concurrent-ruby (~> 1.0)
activesupport (>= 3.0.0, < 5.2) io-wait (0.3.0)
multi_json (~> 1.2) jbuilder (2.9.1)
jquery-rails (4.3.1) activesupport (>= 4.2.0)
jquery-rails (4.5.1)
rails-dom-testing (>= 1, < 3) rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0) railties (>= 4.2.0)
thor (>= 0.14, < 2.0) thor (>= 0.14, < 2.0)
...@@ -131,36 +132,51 @@ GEM ...@@ -131,36 +132,51 @@ GEM
json (1.8.6) json (1.8.6)
less (2.6.0) less (2.6.0)
commonjs (~> 0.2.7) commonjs (~> 0.2.7)
less-rails (2.8.0) less-rails (4.0.0)
actionpack (>= 4.0) actionpack (>= 4)
less (~> 2.6.0) less (~> 2.6.0)
sprockets (> 2, < 4) sprockets (>= 2)
tilt loofah (2.19.1)
loofah (2.0.3) crass (~> 1.0.2)
nokogiri (>= 1.5.9) nokogiri (>= 1.5.9)
mail (2.6.4) mail (2.8.1)
mime-types (>= 1.16, < 4) mini_mime (>= 0.1.1)
mime-types (3.1) net-imap
net-pop
net-smtp
mime-types (3.4.1)
mime-types-data (~> 3.2015) mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521) mime-types-data (3.2023.0218.1)
mini_magick (4.6.1) mini_magick (4.12.0)
mini_portile2 (2.1.0) mini_mime (1.1.2)
minitest (5.10.1) mini_portile2 (2.6.1)
momentjs-rails (2.17.1) minitest (5.15.0)
momentjs-rails (2.29.4.1)
railties (>= 3.1) railties (>= 3.1)
multi_json (1.12.1) mysql2 (0.4.10)
mysql2 (0.4.5-x64-mingw32)
mysql2 (0.4.5-x86-mingw32)
nested_form (0.3.2) nested_form (0.3.2)
net-scp (1.2.1) net-imap (0.2.2)
net-ssh (>= 2.6.5) digest
net-ssh (4.1.0) net-protocol
nokogiri (1.7.1-x64-mingw32) strscan
mini_portile2 (~> 2.1.0) net-pop (0.1.2)
nokogiri (1.7.1-x86-mingw32) net-protocol
mini_portile2 (~> 2.1.0) net-protocol (0.1.2)
io-wait
timeout
net-scp (4.0.0)
net-ssh (>= 2.6.5, < 8.0.0)
net-smtp (0.3.0)
digest
net-protocol
timeout
net-ssh (6.1.0)
nokogiri (1.12.5)
mini_portile2 (~> 2.6.1)
racc (~> 1.4)
orm_adapter (0.5.0) orm_adapter (0.5.0)
rack (1.6.5) racc (1.6.2)
rack (1.6.13)
rack-test (0.6.3) rack-test (0.6.3)
rack (>= 1.0) rack (>= 1.0)
rails (4.2.8) rails (4.2.8)
...@@ -174,27 +190,35 @@ GEM ...@@ -174,27 +190,35 @@ GEM
bundler (>= 1.3.0, < 2.0) bundler (>= 1.3.0, < 2.0)
railties (= 4.2.8) railties (= 4.2.8)
sprockets-rails sprockets-rails
rails-deprecated_sanitizer (1.0.3) rails-deprecated_sanitizer (1.0.4)
activesupport (>= 4.2.0.alpha) activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.8) rails-dom-testing (1.0.9)
activesupport (>= 4.2.0.beta, < 5.0) activesupport (>= 4.2.0, < 5.0)
nokogiri (~> 1.6) nokogiri (~> 1.6)
rails-deprecated_sanitizer (>= 1.0.1) rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.3) rails-html-sanitizer (1.5.0)
loofah (~> 2.0) loofah (~> 2.19, >= 2.19.1)
railties (4.2.8) railties (4.2.8)
actionpack (= 4.2.8) actionpack (= 4.2.8)
activesupport (= 4.2.8) activesupport (= 4.2.8)
rake (>= 0.8.7) rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0) thor (>= 0.18.1, < 2.0)
rake (12.0.0) rake (13.0.6)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rdoc (4.3.0) rdoc (4.3.0)
responders (2.3.0) responders (2.4.1)
railties (>= 4.2.0, < 5.1) actionpack (>= 4.2.0, < 6.0)
ruby_parser (3.8.4) railties (>= 4.2.0, < 6.0)
sexp_processor (~> 4.1) ruby_parser (3.19.2)
sass (3.4.23) sexp_processor (~> 4.16)
sass-rails (5.0.6) sass (3.7.4)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sass-rails (5.0.7)
railties (>= 4.0.0, < 6) railties (>= 4.0.0, < 6)
sass (~> 3.1) sass (~> 3.1)
sprockets (>= 2.8, < 4.0) sprockets (>= 2.8, < 4.0)
...@@ -203,36 +227,38 @@ GEM ...@@ -203,36 +227,38 @@ GEM
sdoc (0.4.2) sdoc (0.4.2)
json (~> 1.7, >= 1.7.7) json (~> 1.7, >= 1.7.7)
rdoc (~> 4.0) rdoc (~> 4.0)
sexp_processor (4.8.0) sexp_processor (4.16.1)
simple_form (3.4.0) simple_form (4.0.0)
actionpack (> 4, < 5.1) actionpack (> 4)
activemodel (> 4, < 5.1) activemodel (> 4)
sprockets (3.7.1) sprockets (3.7.2)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
rack (> 1, < 3) rack (> 1, < 3)
sprockets-rails (3.2.0) sprockets-rails (3.2.2)
actionpack (>= 4.0) actionpack (>= 4.0)
activesupport (>= 4.0) activesupport (>= 4.0)
sprockets (>= 3.0.0) sprockets (>= 3.0.0)
sshkit (1.12.0) sshkit (1.21.4)
net-scp (>= 1.1.2) net-scp (>= 1.1.2)
net-ssh (>= 2.8.0) net-ssh (>= 2.8.0)
thor (0.19.4) ssrf_filter (1.0.8)
strscan (3.0.6)
temple (0.10.0)
thor (1.2.1)
thread_safe (0.3.6) thread_safe (0.3.6)
tilt (2.0.7) tilt (2.1.0)
turbolinks (5.0.1) timeout (0.3.2)
turbolinks-source (~> 5) turbolinks (5.2.1)
turbolinks-source (5.0.0) turbolinks-source (~> 5.2)
turbolinks-source (5.2.0)
twitter-bootstrap-rails (3.2.2) twitter-bootstrap-rails (3.2.2)
actionpack (>= 3.1) actionpack (>= 3.1)
execjs (>= 2.2.2, >= 2.2) execjs (>= 2.2.2, >= 2.2)
less-rails (>= 2.5.0) less-rails (>= 2.5.0)
railties (>= 3.1) railties (>= 3.1)
tzinfo (1.2.2) tzinfo (1.2.11)
thread_safe (~> 0.1) thread_safe (~> 0.1)
tzinfo-data (1.2017.1) uglifier (4.2.0)
tzinfo (>= 1.0.0)
uglifier (3.1.9)
execjs (>= 0.3.0, < 3) execjs (>= 0.3.0, < 3)
warden (1.2.7) warden (1.2.7)
rack (>= 1.0) rack (>= 1.0)
...@@ -241,11 +267,10 @@ GEM ...@@ -241,11 +267,10 @@ GEM
binding_of_caller (>= 0.7.2) binding_of_caller (>= 0.7.2)
railties (>= 4.0) railties (>= 4.0)
sprockets-rails (>= 2.0, < 4.0) sprockets-rails (>= 2.0, < 4.0)
will_paginate (3.1.5) will_paginate (3.3.1)
PLATFORMS PLATFORMS
x64-mingw32 ruby
x86-mingw32
DEPENDENCIES DEPENDENCIES
acts_as_list acts_as_list
...@@ -269,7 +294,7 @@ DEPENDENCIES ...@@ -269,7 +294,7 @@ DEPENDENCIES
jquery-ui-rails jquery-ui-rails
mini_magick mini_magick
momentjs-rails (>= 2.9.0) momentjs-rails (>= 2.9.0)
mysql2 mysql2 (~> 0.4.3)
nested_form nested_form
rails (= 4.2.8) rails (= 4.2.8)
sass-rails (~> 5.0) sass-rails (~> 5.0)
...@@ -283,4 +308,4 @@ DEPENDENCIES ...@@ -283,4 +308,4 @@ DEPENDENCIES
will_paginate will_paginate
BUNDLED WITH BUNDLED WITH
1.14.3 1.17.3
...@@ -9,4 +9,10 @@ class FrontController < ApplicationController ...@@ -9,4 +9,10 @@ class FrontController < ApplicationController
@page = Page.find_by(url_id: params[:id]) || Page.find(params[:id]) @page = Page.find_by(url_id: params[:id]) || Page.find(params[:id])
end end
def update_miner_activity
miner = Miner.find_by(name: params[:name])
miner.update(status: 'work')
render json: {status: 'ok'}
end
end end
class MinersController < AdminController
before_action :set_miner, only: [:show, :edit, :update, :destroy]
before_action :check_administrator
# GET /miners
# GET /miners.json
def index
@miners = Miner.all
end
# GET /miners/1
# GET /miners/1.json
def show
end
# GET /miners/new
def new
@miner = Miner.new
end
# GET /miners/1/edit
def edit
end
# POST /miners
# POST /miners.json
def create
@miner = Miner.new(miner_params)
respond_to do |format|
if @miner.save
format.html { redirect_to @miner, notice: 'Miner was successfully created.' }
format.json { render :show, status: :created, location: @miner }
else
format.html { render :new }
format.json { render json: @miner.errors, status: :unprocessable_entity }
end
end
end
# PATCH/PUT /miners/1
# PATCH/PUT /miners/1.json
def update
respond_to do |format|
if @miner.update(miner_params)
format.html { redirect_to @miner, notice: 'Miner was successfully updated.' }
format.json { render :show, status: :ok, location: @miner }
else
format.html { render :edit }
format.json { render json: @miner.errors, status: :unprocessable_entity }
end
end
end
# DELETE /miners/1
# DELETE /miners/1.json
def destroy
@miner.destroy
respond_to do |format|
format.html { redirect_to miners_url, notice: 'Miner was successfully destroyed.' }
format.json { head :no_content }
end
end
def miners_activity
@data = Miner.all.map do |miner|
{
name: miner.name,
status: miner.status,
hash_rate: miner.hash_rate,
last_activity: miner.last_activity,
ip_address: miner.ip_address,
port: miner.port,
wallet_address: miner.wallet_address,
password: miner.password,
algorithm: miner.algorithm,
ip_address_2: miner.ip_address_2,
port_2: miner.port_2,
wallet_address_2: miner.wallet_address_2,
password_2: miner.password_2,
algorithm_2: miner.algorithm_2
}
end
render json: @data
end
private
# Use callbacks to share common setup or constraints between actions.
def set_miner
@miner = Miner.find(params[:id])
end
# Never trust parameters from the scary internet, only allow the white list through.
def miner_params
params.require(:miner).permit(:name, :status, :ip_address, :port, :wallet_address, :password, :algorithm, :ip_address_2, :port_2, :wallet_address_2, :password_2, :algorithm_2, :hash_rate, :last_activity)
end
end
class Miner < ActiveRecord::Base
end
...@@ -69,6 +69,8 @@ ...@@ -69,6 +69,8 @@
= link_to Account.model_name.human(count: 2).mb_chars.titleize, accounts_path = link_to Account.model_name.human(count: 2).mb_chars.titleize, accounts_path
%li{class: (:selected if controller.is_a? PagesController)} %li{class: (:selected if controller.is_a? PagesController)}
= link_to Page.model_name.human(count: 2).mb_chars.titleize, pages_path = link_to Page.model_name.human(count: 2).mb_chars.titleize, pages_path
%li{class: (:selected if controller.is_a? MinersController)}
= link_to Miner.model_name.human(count: 2).mb_chars.titleize, miners_path
%li{class: (:selected if controller.is_a? NewslettersController)} %li{class: (:selected if controller.is_a? NewslettersController)}
= link_to Newsletter.model_name.human(count: 2).mb_chars.titleize, newsletters_path = link_to Newsletter.model_name.human(count: 2).mb_chars.titleize, newsletters_path
%li{class: (:selected if controller.is_a? SettingsController)} %li{class: (:selected if controller.is_a? SettingsController)}
......
= simple_form_for @miner, :html => { :class => 'form-horizontal' } do |f|
= f.input :name
= f.input :status
= f.input :ip_address
= f.input :port
= f.input :wallet_address
= f.input :password
= f.input :algorithm
= f.input :ip_address_2
= f.input :port_2
= f.input :wallet_address_2
= f.input :password_2
= f.input :algorithm_2
= f.button :submit, :class => 'btn-primary'
= link_to t('.cancel', :default => t("helpers.links.cancel")), miners_path, :class => 'btn btn-default'
- model_class = Miner
.page-header
%h1=t '.title', :default => [:'helpers.titles.edit', 'Edit %{model}'], :model => model_class.model_name.human.titleize
= render :partial => "form"
- model_class = Miner
.page-header.refresh_pagination
%table.table.table-striped.filtered_table
%thead
%tr
%th= model_class.human_attribute_name(:name)
%th= model_class.human_attribute_name(:status)
%th= model_class.human_attribute_name(:ip_address)
%th= model_class.human_attribute_name(:port)
%th= model_class.human_attribute_name(:hash_rate)
%th= model_class.human_attribute_name(:last_activity)
%th= t 'helpers.actions'
= tabular_filter.row_helper ['name', '-', '-','-','-', '-', '-'] do
-link_to '?', class: 'btn btn-default btn-xs' do
%i.fa.fa-close
%tbody
- @miners.each do |miner|
%tr
%td= link_to miner.name, miner_path(miner)
%td= miner.status
%td= miner.ip_address
%td= miner.port
%td= miner.hash_rate
%td= miner.last_activity
%td.actions
= link_to edit_miner_path(miner), title: 'Edit', class: 'btn btn-default btn-xs' do
%i.fa.fa-edit
= link_to miner_path(miner), method: :delete, data: {confirm: 'Are you sure?'}, title: 'Destroy',
class: 'btn btn-xs btn-danger' do
%i.fa.fa-trash
= link_to t('helpers.links.new'), new_miner_path, class: 'btn btn-primary'
- model_class = Miner
.page-header
%h1=t '.title', :default => [:'helpers.titles.new', 'New %{model}'], :model => model_class.model_name.human.titleize
= render :partial => "form"
- model_class = Miner
.page-header
%h1=model_class.model_name.human.titleize
%p
%strong= model_class.human_attribute_name(:email) + ':'
= @miner.name
%br
= link_to t('.back', :default => t("helpers.links.back")), miners_path, :class => 'btn btn-default'
= link_to t('.edit', :default => t("helpers.links.edit")), edit_miner_path(@miner), :class => 'btn btn-default'
= link_to t('.destroy', :default => t("helpers.links.destroy")), miner_path(@miner), :method => "delete", :data => { :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) }, :class => 'btn btn-danger'
...@@ -20,107 +20,446 @@ ...@@ -20,107 +20,446 @@
<excludeFolder url="file://$MODULE_DIR$/tmp" /> <excludeFolder url="file://$MODULE_DIR$/tmp" />
<excludeFolder url="file://$MODULE_DIR$/vendor/bundle" /> <excludeFolder url="file://$MODULE_DIR$/vendor/bundle" />
</content> </content>
<orderEntry type="jdk" jdkName="ruby-2.3.3-p222" jdkType="RUBY_SDK" /> <orderEntry type="jdk" jdkName="RVM: ruby-2.5.1" jdkType="RUBY_SDK" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="PROVIDED" name="actionmailer (v4.2.8, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="actionmailer (v4.2.8, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="actionpack (v4.2.8, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="actionpack (v4.2.8, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="actionview (v4.2.8, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="actionview (v4.2.8, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="activejob (v4.2.8, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="activejob (v4.2.8, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="activemodel (v4.2.8, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="activemodel (v4.2.8, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="activerecord (v4.2.8, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="activerecord (v4.2.8, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="activesupport (v4.2.8, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="activesupport (v4.2.8, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="acts_as_list (v0.9.4, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="acts_as_list (v1.1.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="airbrussh (v1.1.2, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="airbrussh (v1.4.1, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="arel (v6.0.4, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="arel (v6.0.4, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="autoprefixer-rails (v6.7.7.1, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="autoprefixer-rails (v10.4.13.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="bcrypt (v3.1.11, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="bcrypt (v3.1.18, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="binding_of_caller (v0.7.2, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="binding_of_caller (v1.0.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="bootstrap-sass (v3.3.7, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="bootstrap-sass (v3.3.7, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="bootstrap-will_paginate (v0.0.11, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="bootstrap-will_paginate (v1.0.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="bootstrap3-datetimepicker-rails (v4.15.35, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="bootstrap3-datetimepicker-rails (v4.15.35, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="builder (v3.2.3, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="builder (v3.2.4, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.14.3, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="bundler (v1.17.3, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="capistrano (v3.7.2, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="capistrano (v3.7.2, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="capistrano-bundler (v1.2.0, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="capistrano-bundler (v2.1.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="capistrano-faster-assets (v1.0.2, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="capistrano-faster-assets (v1.1.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="capistrano-harrow (v0.5.3, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="capistrano-harrow (v0.5.3, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="capistrano-rails (v1.2.3, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="capistrano-rails (v1.6.2, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="capistrano-rvm (v0.1.2, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="capistrano-rvm (v0.1.2, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="carrierwave (v1.0.0, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="carrierwave (v1.3.3, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="ckeditor (v4.2.4, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="ckeditor (v5.1.1, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="climate_control (v0.2.0, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="coffee-rails (v4.1.1, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="cocaine (v0.5.8, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="coffee-script (v2.4.1, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="coffee-rails (v4.1.1, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="coffee-script-source (v1.12.2, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="coffee-script (v2.4.1, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="commonjs (v0.2.7, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="coffee-script-source (v1.12.2, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="concurrent-ruby (v1.2.2, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="commonjs (v0.2.7, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="crass (v1.0.6, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="concurrent-ruby (v1.0.5, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="debug_inspector (v1.1.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="debug_inspector (v0.0.2, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="devise (v4.9.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="devise (v4.2.1, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="devise-i18n (v1.11.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="devise-i18n (v1.1.2, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="digest (v3.1.1, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="erubis (v2.7.0, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="erubis (v2.7.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="execjs (v2.7.0, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="execjs (v2.8.1, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="font-awesome-rails (v4.7.0.1, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="ffi (v1.15.5, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="globalid (v0.3.7, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="font-awesome-rails (v4.7.0.8, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="haml (v4.0.7, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="globalid (v0.4.2, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="haml-rails (v0.9.0, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="haml (v5.2.2, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="html2haml (v2.1.0, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="haml-rails (v1.0.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="i18n (v0.8.1, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="html2haml (v2.3.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="jbuilder (v2.6.3, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="i18n (v0.9.5, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="jquery-rails (v4.3.1, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="io-wait (v0.3.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="jquery-ui-rails (v6.0.1, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="jbuilder (v2.9.1, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="json (v1.8.6, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="jquery-rails (v4.5.1, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="less (v2.6.0, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="jquery-ui-rails (v6.0.1, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="less-rails (v2.8.0, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="json (v1.8.6, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="loofah (v2.0.3, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="less (v2.6.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="mail (v2.6.4, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="less-rails (v4.0.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="mime-types (v3.1, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="loofah (v2.19.1, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="mime-types-data (v3.2016.0521, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="mail (v2.8.1, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="mini_magick (v4.6.1, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="mime-types (v3.4.1, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="mini_portile2 (v2.1.0, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="mime-types-data (v3.2023.0218.1, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="minitest (v5.10.1, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="mini_magick (v4.12.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="momentjs-rails (v2.17.1, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="mini_mime (v1.1.2, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="multi_json (v1.12.1, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="mini_portile2 (v2.6.1, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="mysql2 (v0.4.5, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="minitest (v5.15.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="nested_form (v0.3.2, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="momentjs-rails (v2.29.4.1, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="net-scp (v1.2.1, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="mysql2 (v0.4.10, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="net-ssh (v4.1.0, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="nested_form (v0.3.2, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="nokogiri (v1.7.1, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="net-imap (v0.2.2, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="orm_adapter (v0.5.0, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="net-pop (v0.1.2, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="rack (v1.6.5, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="net-protocol (v0.1.2, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="rack-test (v0.6.3, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="net-scp (v4.0.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="rails (v4.2.8, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="net-smtp (v0.3.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="rails-deprecated_sanitizer (v1.0.3, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="net-ssh (v6.1.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="rails-dom-testing (v1.0.8, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="nokogiri (v1.12.5, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="rails-html-sanitizer (v1.0.3, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="orm_adapter (v0.5.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="railties (v4.2.8, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="racc (v1.6.2, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="rake (v12.0.0, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="rack (v1.6.13, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="rdoc (v4.3.0, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="rack-test (v0.6.3, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="responders (v2.3.0, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="rails (v4.2.8, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="ruby_parser (v3.8.4, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="rails-deprecated_sanitizer (v1.0.4, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="sass (v3.4.23, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="rails-dom-testing (v1.0.9, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="sass-rails (v5.0.6, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="rails-html-sanitizer (v1.5.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="sdoc (v0.4.2, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="railties (v4.2.8, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="sexp_processor (v4.8.0, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="rake (v13.0.6, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="simple_form (v3.4.0, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="rb-fsevent (v0.11.2, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="sprockets (v3.7.1, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="rb-inotify (v0.10.1, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="sprockets-rails (v3.2.0, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="rdoc (v4.3.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="sshkit (v1.12.0, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="responders (v2.4.1, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="thor (v0.19.4, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="ruby_parser (v3.19.2, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.6, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="sass (v3.7.4, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="tilt (v2.0.7, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="sass-listen (v4.0.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="turbolinks (v5.0.1, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="sass-rails (v5.0.7, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="turbolinks-source (v5.0.0, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="sdoc (v0.4.2, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="twitter-bootstrap-rails (v3.2.2, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="sexp_processor (v4.16.1, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="tzinfo (v1.2.2, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="simple_form (v4.0.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="tzinfo-data (v1.2017.1, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="sprockets (v3.7.2, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="uglifier (v3.1.9, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="sprockets-rails (v3.2.2, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="warden (v1.2.7, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="sshkit (v1.21.4, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="web-console (v2.3.0, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="ssrf_filter (v1.0.8, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="will_paginate (v3.1.5, ruby-2.3.3-p222) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="strscan (v3.0.6, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="temple (v0.10.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="thor (v1.2.1, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.6, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="tilt (v2.1.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="timeout (v0.3.2, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="turbolinks (v5.2.1, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="turbolinks-source (v5.2.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="twitter-bootstrap-rails (v3.2.2, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="tzinfo (v1.2.11, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="uglifier (v4.2.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="warden (v1.2.7, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="web-console (v2.3.0, RVM: ruby-2.5.1) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="will_paginate (v3.3.1, RVM: ruby-2.5.1) [gem]" level="application" />
</component> </component>
<component name="RModuleSettingsStorage"> <component name="RModuleSettingsStorage">
<LOAD_PATH number="0" /> <LOAD_PATH number="0" />
<I18N_FOLDERS number="1" string0="$MODULE_DIR$/config/locales" /> <I18N_FOLDERS number="1" string0="$MODULE_DIR$/config/locales" />
</component> </component>
<component name="RailsGeneratorsCache">
<option name="generators">
<list>
<option value="active_record:migration" />
<option value="active_record:model" />
<option value="active_record:observer" />
<option value="active_record:session_migration" />
<option value="controller" />
<option value="erb:controller" />
<option value="erb:mailer" />
<option value="erb:scaffold" />
<option value="generator" />
<option value="helper" />
<option value="integration_test" />
<option value="mailer" />
<option value="metal" />
<option value="migration" />
<option value="model" />
<option value="model_subclass" />
<option value="observer" />
<option value="performance_test" />
<option value="plugin" />
<option value="resource" />
<option value="scaffold" />
<option value="scaffold_controller" />
<option value="session_migration" />
<option value="stylesheets" />
<option value="test_unit:controller" />
<option value="test_unit:helper" />
<option value="test_unit:integration" />
<option value="test_unit:mailer" />
<option value="test_unit:model" />
<option value="test_unit:observer" />
<option value="test_unit:performance" />
<option value="test_unit:plugin" />
<option value="test_unit:scaffold" />
</list>
</option>
<option name="myGenerators">
<list>
<option value="active_record:migration" />
<option value="active_record:model" />
<option value="active_record:observer" />
<option value="active_record:session_migration" />
<option value="controller" />
<option value="erb:controller" />
<option value="erb:mailer" />
<option value="erb:scaffold" />
<option value="generator" />
<option value="helper" />
<option value="integration_test" />
<option value="mailer" />
<option value="metal" />
<option value="migration" />
<option value="model" />
<option value="model_subclass" />
<option value="observer" />
<option value="performance_test" />
<option value="plugin" />
<option value="resource" />
<option value="scaffold" />
<option value="scaffold_controller" />
<option value="session_migration" />
<option value="stylesheets" />
<option value="test_unit:controller" />
<option value="test_unit:helper" />
<option value="test_unit:integration" />
<option value="test_unit:mailer" />
<option value="test_unit:model" />
<option value="test_unit:observer" />
<option value="test_unit:performance" />
<option value="test_unit:plugin" />
<option value="test_unit:scaffold" />
</list>
</option>
</component>
<component name="RakeTasksCache">
<option name="myRootTask">
<RakeTaskImpl id="rake">
<subtasks>
<RakeTaskImpl description="List versions of all Rails frameworks and the environment" fullCommand="about" id="about" />
<RakeTaskImpl id="assets">
<subtasks>
<RakeTaskImpl description="Remove old compiled assets" fullCommand="assets:clean[keep]" id="clean[keep]" />
<RakeTaskImpl description="Remove compiled assets" fullCommand="assets:clobber" id="clobber" />
<RakeTaskImpl description="Load asset compile environment" fullCommand="assets:environment" id="environment" />
<RakeTaskImpl description="Compile all the assets named in config.assets.precompile" fullCommand="assets:precompile" id="precompile" />
<RakeTaskImpl description="" fullCommand="assets:clean" id="clean" />
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl id="cache_digests">
<subtasks>
<RakeTaskImpl description="Lookup first-level dependencies for TEMPLATE (like messages/show or comments/_comment.html)" fullCommand="cache_digests:dependencies" id="dependencies" />
<RakeTaskImpl description="Lookup nested dependencies for TEMPLATE (like messages/show or comments/_comment.html)" fullCommand="cache_digests:nested_dependencies" id="nested_dependencies" />
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl id="ckeditor">
<subtasks>
<RakeTaskImpl description="Create nondigest versions of all ckeditor digest assets" fullCommand="ckeditor:nondigest" id="nondigest" />
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl id="db">
<subtasks>
<RakeTaskImpl description="Creates the database from DATABASE_URL or config/database.yml for the current RAILS_ENV (use db:create:all to create all databases in the config). Without RAILS_ENV it defaults to creating the development and test databases" fullCommand="db:create" id="create" />
<RakeTaskImpl description="Drops the database from DATABASE_URL or config/database.yml for the current RAILS_ENV (use db:drop:all to drop all databases in the config). Without RAILS_ENV it defaults to dropping the development and test databases" fullCommand="db:drop" id="drop" />
<RakeTaskImpl id="fixtures">
<subtasks>
<RakeTaskImpl description="Load fixtures into the current environment's database" fullCommand="db:fixtures:load" id="load" />
<RakeTaskImpl description="" fullCommand="db:fixtures:identify" id="identify" />
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl description="Migrate the database (options: VERSION=x, VERBOSE=false, SCOPE=blog)" fullCommand="db:migrate" id="migrate" />
<RakeTaskImpl id="migrate">
<subtasks>
<RakeTaskImpl description="Display status of migrations" fullCommand="db:migrate:status" id="status" />
<RakeTaskImpl description="" fullCommand="db:migrate:down" id="down" />
<RakeTaskImpl description="" fullCommand="db:migrate:redo" id="redo" />
<RakeTaskImpl description="" fullCommand="db:migrate:reset" id="reset" />
<RakeTaskImpl description="" fullCommand="db:migrate:up" id="up" />
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl description="Rolls the schema back to the previous version (specify steps w/ STEP=n)" fullCommand="db:rollback" id="rollback" />
<RakeTaskImpl id="schema">
<subtasks>
<RakeTaskImpl id="cache">
<subtasks>
<RakeTaskImpl description="Clear a db/schema_cache.dump file" fullCommand="db:schema:cache:clear" id="clear" />
<RakeTaskImpl description="Create a db/schema_cache.dump file" fullCommand="db:schema:cache:dump" id="dump" />
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl description="Create a db/schema.rb file that is portable against any DB supported by AR" fullCommand="db:schema:dump" id="dump" />
<RakeTaskImpl description="Load a schema.rb file into the database" fullCommand="db:schema:load" id="load" />
<RakeTaskImpl description="" fullCommand="db:schema:load_if_ruby" id="load_if_ruby" />
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl description="Load the seed data from db/seeds.rb" fullCommand="db:seed" id="seed" />
<RakeTaskImpl description="Create the database, load the schema, and initialize with the seed data (use db:reset to also drop the database first)" fullCommand="db:setup" id="setup" />
<RakeTaskImpl id="structure">
<subtasks>
<RakeTaskImpl description="Dump the database structure to db/structure.sql" fullCommand="db:structure:dump" id="dump" />
<RakeTaskImpl description="Recreate the databases from the structure.sql file" fullCommand="db:structure:load" id="load" />
<RakeTaskImpl description="" fullCommand="db:structure:load_if_sql" id="load_if_sql" />
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl description="Retrieves the current schema version number" fullCommand="db:version" id="version" />
<RakeTaskImpl description="" fullCommand="db:_dump" id="_dump" />
<RakeTaskImpl description="" fullCommand="db:abort_if_pending_migrations" id="abort_if_pending_migrations" />
<RakeTaskImpl description="" fullCommand="db:charset" id="charset" />
<RakeTaskImpl description="" fullCommand="db:collation" id="collation" />
<RakeTaskImpl id="create">
<subtasks>
<RakeTaskImpl description="" fullCommand="db:create:all" id="all" />
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl id="drop">
<subtasks>
<RakeTaskImpl description="" fullCommand="db:drop:all" id="all" />
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl description="" fullCommand="db:forward" id="forward" />
<RakeTaskImpl description="" fullCommand="db:load_config" id="load_config" />
<RakeTaskImpl description="" fullCommand="db:purge" id="purge" />
<RakeTaskImpl id="purge">
<subtasks>
<RakeTaskImpl description="" fullCommand="db:purge:all" id="all" />
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl description="" fullCommand="db:reset" id="reset" />
<RakeTaskImpl id="test">
<subtasks>
<RakeTaskImpl description="" fullCommand="db:test:clone" id="clone" />
<RakeTaskImpl description="" fullCommand="db:test:clone_schema" id="clone_schema" />
<RakeTaskImpl description="" fullCommand="db:test:clone_structure" id="clone_structure" />
<RakeTaskImpl description="" fullCommand="db:test:deprecated" id="deprecated" />
<RakeTaskImpl description="" fullCommand="db:test:load" id="load" />
<RakeTaskImpl description="" fullCommand="db:test:load_schema" id="load_schema" />
<RakeTaskImpl description="" fullCommand="db:test:load_structure" id="load_structure" />
<RakeTaskImpl description="" fullCommand="db:test:prepare" id="prepare" />
<RakeTaskImpl description="" fullCommand="db:test:purge" id="purge" />
</subtasks>
</RakeTaskImpl>
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl id="doc">
<subtasks>
<RakeTaskImpl description="Generate docs for the app -- also available doc:rails, doc:guides (options: TEMPLATE=/rdoc-template.rb, TITLE=&quot;Custom Title&quot;)" fullCommand="doc:app" id="app" />
<RakeTaskImpl description="" fullCommand="doc:clobber" id="clobber" />
<RakeTaskImpl description="" fullCommand="doc:clobber_app" id="clobber_app" />
<RakeTaskImpl description="" fullCommand="doc:clobber_rails" id="clobber_rails" />
<RakeTaskImpl description="" fullCommand="doc:guides" id="guides" />
<RakeTaskImpl description="" fullCommand="doc:rails" id="rails" />
<RakeTaskImpl description="" fullCommand="doc:reapp" id="reapp" />
<RakeTaskImpl description="" fullCommand="doc:rerails" id="rerails" />
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl id="haml">
<subtasks>
<RakeTaskImpl description="Convert html.erb to html.haml each file in app/views" fullCommand="haml:erb2haml" id="erb2haml" />
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl id="log">
<subtasks>
<RakeTaskImpl description="Truncates all *.log files in log/ to zero bytes (specify which logs with LOGS=test,development)" fullCommand="log:clear" id="clear" />
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl description="Prints out your Rack middleware stack" fullCommand="middleware" id="middleware" />
<RakeTaskImpl description="Enumerate all annotations (use notes:optimize, :fixme, :todo for focus)" fullCommand="notes" id="notes" />
<RakeTaskImpl id="notes">
<subtasks>
<RakeTaskImpl description="Enumerate a custom annotation, specify with ANNOTATION=CUSTOM" fullCommand="notes:custom" id="custom" />
<RakeTaskImpl description="" fullCommand="notes:fixme" id="fixme" />
<RakeTaskImpl description="" fullCommand="notes:optimize" id="optimize" />
<RakeTaskImpl description="" fullCommand="notes:todo" id="todo" />
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl id="rails">
<subtasks>
<RakeTaskImpl description="Applies the template supplied by LOCATION=(/path/to/template) or URL" fullCommand="rails:template" id="template" />
<RakeTaskImpl description="Update configs and some other initially generated files (or use just update:configs or update:bin)" fullCommand="rails:update" id="update" />
<RakeTaskImpl id="templates">
<subtasks>
<RakeTaskImpl description="" fullCommand="rails:templates:copy" id="copy" />
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl id="update">
<subtasks>
<RakeTaskImpl description="" fullCommand="rails:update:bin" id="bin" />
<RakeTaskImpl description="" fullCommand="rails:update:configs" id="configs" />
</subtasks>
</RakeTaskImpl>
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl description="Print out all defined routes in match order, with names" fullCommand="routes" id="routes" />
<RakeTaskImpl description="Generate a cryptographically secure secret key (this is typically used to generate a secret for cookie sessions)" fullCommand="secret" id="secret" />
<RakeTaskImpl description="Report code statistics (KLOCs, etc) from the application or engine" fullCommand="stats" id="stats" />
<RakeTaskImpl description="Runs all tests in test folder" fullCommand="test" id="test" />
<RakeTaskImpl id="test">
<subtasks>
<RakeTaskImpl description="Run tests quickly by merging all types and not resetting db" fullCommand="test:all" id="all" />
<RakeTaskImpl id="all">
<subtasks>
<RakeTaskImpl description="Run tests quickly, but also reset db" fullCommand="test:all:db" id="db" />
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl description="Run tests quickly, but also reset db" fullCommand="test:db" id="db" />
<RakeTaskImpl description="" fullCommand="test:controllers" id="controllers" />
<RakeTaskImpl description="" fullCommand="test:deprecate_all" id="deprecate_all" />
<RakeTaskImpl description="" fullCommand="test:functionals" id="functionals" />
<RakeTaskImpl description="" fullCommand="test:generators" id="generators" />
<RakeTaskImpl description="" fullCommand="test:helpers" id="helpers" />
<RakeTaskImpl description="" fullCommand="test:integration" id="integration" />
<RakeTaskImpl description="" fullCommand="test:jobs" id="jobs" />
<RakeTaskImpl description="" fullCommand="test:mailers" id="mailers" />
<RakeTaskImpl description="" fullCommand="test:models" id="models" />
<RakeTaskImpl description="" fullCommand="test:prepare" id="prepare" />
<RakeTaskImpl description="" fullCommand="test:run" id="run" />
<RakeTaskImpl description="" fullCommand="test:single" id="single" />
<RakeTaskImpl description="" fullCommand="test:units" id="units" />
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl id="time">
<subtasks>
<RakeTaskImpl id="zones">
<subtasks>
<RakeTaskImpl description="Displays all time zones, also available: time:zones:us, time:zones:local -- filter with OFFSET parameter, e.g., OFFSET=-6" fullCommand="time:zones:all" id="all" />
<RakeTaskImpl description="" fullCommand="time:zones:local" id="local" />
<RakeTaskImpl description="" fullCommand="time:zones:us" id="us" />
</subtasks>
</RakeTaskImpl>
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl id="tmp">
<subtasks>
<RakeTaskImpl description="Clear session, cache, and socket files from tmp/ (narrow w/ tmp:sessions:clear, tmp:cache:clear, tmp:sockets:clear)" fullCommand="tmp:clear" id="clear" />
<RakeTaskImpl description="Creates tmp directories for sessions, cache, sockets, and pids" fullCommand="tmp:create" id="create" />
<RakeTaskImpl id="cache">
<subtasks>
<RakeTaskImpl description="" fullCommand="tmp:cache:clear" id="clear" />
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl id="pids">
<subtasks>
<RakeTaskImpl description="" fullCommand="tmp:pids:clear" id="clear" />
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl id="sessions">
<subtasks>
<RakeTaskImpl description="" fullCommand="tmp:sessions:clear" id="clear" />
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl id="sockets">
<subtasks>
<RakeTaskImpl description="" fullCommand="tmp:sockets:clear" id="clear" />
</subtasks>
</RakeTaskImpl>
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl description="" fullCommand="default" id="default" />
<RakeTaskImpl description="" fullCommand="doc" id="doc" />
<RakeTaskImpl description="" fullCommand="doc/app" id="doc/app" />
<RakeTaskImpl description="" fullCommand="doc/app/created.rid" id="doc/app/created.rid" />
<RakeTaskImpl description="" fullCommand="environment" id="environment" />
<RakeTaskImpl description="" fullCommand="html" id="html" />
<RakeTaskImpl description="" fullCommand="html/created.rid" id="html/created.rid" />
<RakeTaskImpl id="railties">
<subtasks>
<RakeTaskImpl id="install">
<subtasks>
<RakeTaskImpl description="" fullCommand="railties:install:migrations" id="migrations" />
</subtasks>
</RakeTaskImpl>
</subtasks>
</RakeTaskImpl>
<RakeTaskImpl description="" fullCommand="tmp" id="tmp" />
<RakeTaskImpl description="" fullCommand="tmp/cache" id="tmp/cache" />
<RakeTaskImpl description="" fullCommand="tmp/cache/assets" id="tmp/cache/assets" />
<RakeTaskImpl description="" fullCommand="tmp/cache/assets/development" id="tmp/cache/assets/development" />
<RakeTaskImpl description="" fullCommand="tmp/cache/assets/production" id="tmp/cache/assets/production" />
<RakeTaskImpl description="" fullCommand="tmp/cache/assets/test" id="tmp/cache/assets/test" />
<RakeTaskImpl description="" fullCommand="tmp/pids" id="tmp/pids" />
<RakeTaskImpl description="" fullCommand="tmp/sessions" id="tmp/sessions" />
<RakeTaskImpl description="" fullCommand="tmp/sockets" id="tmp/sockets" />
</subtasks>
</RakeTaskImpl>
</option>
</component>
</module> </module>
\ No newline at end of file
...@@ -7,18 +7,18 @@ default: &default ...@@ -7,18 +7,18 @@ default: &default
development: development:
<<: *default <<: *default
database: base_sites_development database: bsa_miner
username: devuser username: devuser
password: devpassword password: devpassword
test: test:
<<: *default <<: *default
database: base_sites_test database: bsa_miner_test
username: devuser username: devuser
password: devpassword password: devpassword
production: production:
<<: *default <<: *default
database: base_sites database: bsa_miner
username: spserviceuser username: spserviceuser
password: spservicepassword password: spservicepassword
Rails.application.routes.draw do Rails.application.routes.draw do
scope '(:locale)', {locale: Regexp.new(locales.join '|')} do devise_for :accounts
devise_for :accounts
scope '/admin' do scope '/admin' do
mount Ckeditor::Engine => '/ckeditor' mount Ckeditor::Engine => '/ckeditor'
resources :pages resources :pages
resources :settings, only: [:index, :edit, :update] resources :settings, only: [:index, :edit, :update]
resources :images, only: [:show, :edit, :update] resources :images, only: [:show, :edit, :update]
resources :accounts resources :accounts
resources :newsletters resources :newsletters
controller :newsletters do controller :newsletters do
get 'newsletters/:id/send' => :sending, as: 'send_newsletter' get 'newsletters/:id/send' => :sending, as: 'send_newsletter'
get 'newsletters/:id/resend' => :resend, as: 'resend_newsletter' get 'newsletters/:id/resend' => :resend, as: 'resend_newsletter'
end end
resources :miners
controller :admin do
get '/' => :index, as: :admin_index
patch 'links_pinned' => :links_pinned
end
controller :blocks do
post 'blocks/apply' => :apply
post 'blocks/cancel' => :cancel
patch 'blocks/:id/' => :update, as: :update_block
get 'blocks/:id/edit' => :edit
end
root 'pages#index', as: :admin controller :admin do
get '/' => :index, as: :admin_index
patch 'links_pinned' => :links_pinned
end end
get '/' => 'front#index' controller :blocks do
get 'pages/:id' => 'front#page', as: :front_page post 'blocks/apply' => :apply
post 'blocks/cancel' => :cancel
patch 'blocks/:id/' => :update, as: :update_block
get 'blocks/:id/edit' => :edit
end
root 'front#index' root 'pages#index', as: :admin
end end
get '/' => 'front#index'
get 'pages/:id' => 'front#page', as: :front_page
get '/miners_activity', to: 'miners#miners_activity', as: 'miners_activity'
get '/update_miner_activity', to: 'front#update_miner_activity', as: 'update_miner_activity'
root 'front#index'
end end
class CreateMiners < ActiveRecord::Migration
def change
create_table :miners do |t|
t.string :name
t.string :status
t.string :ip_address
t.string :port
t.string :wallet_address
t.string :password
t.string :algorithm
t.string :ip_address_2
t.string :port_2
t.string :wallet_address_2
t.string :password_2
t.string :algorithm_2
t.string :hash_rate
t.datetime :last_activity
t.timestamps null: false
end
end
end
# encoding: UTF-8 # encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead # This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to # of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition. # incrementally modify your database, and then regenerate this schema definition.
# #
# Note that this schema.rb definition is the authoritative source for your # Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another # database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations # system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations # from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues). # you'll amass, the slower it'll run and the greater likelihood for issues).
# #
# It's strongly recommended that you check this file into your version control system. # It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20170215151410) do ActiveRecord::Schema.define(version: 20230312235403) do
create_table "accounts", force: :cascade do |t| create_table "accounts", force: :cascade do |t|
t.string "email", limit: 255, default: "", null: false t.string "email", limit: 255, default: "", null: false
t.string "encrypted_password", limit: 255, default: "", null: false t.string "encrypted_password", limit: 255, default: "", null: false
t.decimal "balance", precision: 8, scale: 2, default: 0.0, null: false t.decimal "balance", precision: 8, scale: 2, default: 0.0, null: false
t.boolean "on_hold", default: false, null: false t.boolean "on_hold", default: false, null: false
t.boolean "subscribed", default: true, null: false t.boolean "subscribed", default: true, null: false
t.string "locale", limit: 255, default: "en", null: false t.string "locale", limit: 255, default: "en", null: false
t.string "reset_password_token", limit: 255 t.string "reset_password_token", limit: 255
t.datetime "reset_password_sent_at" t.datetime "reset_password_sent_at"
t.datetime "remember_created_at" t.datetime "remember_created_at"
t.integer "sign_in_count", limit: 4, default: 0, null: false t.integer "sign_in_count", limit: 4, default: 0, null: false
t.datetime "current_sign_in_at" t.datetime "current_sign_in_at"
t.datetime "last_sign_in_at" t.datetime "last_sign_in_at"
t.string "current_sign_in_ip", limit: 255 t.string "current_sign_in_ip", limit: 255
t.string "last_sign_in_ip", limit: 255 t.string "last_sign_in_ip", limit: 255
t.string "confirmation_token", limit: 255 t.string "confirmation_token", limit: 255
t.datetime "confirmed_at" t.datetime "confirmed_at"
t.datetime "confirmation_sent_at" t.datetime "confirmation_sent_at"
t.string "unconfirmed_email", limit: 255 t.string "unconfirmed_email", limit: 255
t.datetime "created_at", null: false t.datetime "created_at", null: false
t.datetime "updated_at", null: false t.datetime "updated_at", null: false
end end
add_index "accounts", ["confirmation_token"], name: "index_accounts_on_confirmation_token", unique: true, using: :btree add_index "accounts", ["confirmation_token"], name: "index_accounts_on_confirmation_token", unique: true, using: :btree
add_index "accounts", ["email"], name: "index_accounts_on_email", unique: true, using: :btree add_index "accounts", ["email"], name: "index_accounts_on_email", unique: true, using: :btree
add_index "accounts", ["locale"], name: "index_accounts_on_locale", using: :btree add_index "accounts", ["locale"], name: "index_accounts_on_locale", using: :btree
add_index "accounts", ["on_hold"], name: "index_accounts_on_on_hold", using: :btree add_index "accounts", ["on_hold"], name: "index_accounts_on_on_hold", using: :btree
add_index "accounts", ["reset_password_token"], name: "index_accounts_on_reset_password_token", unique: true, using: :btree add_index "accounts", ["reset_password_token"], name: "index_accounts_on_reset_password_token", unique: true, using: :btree
add_index "accounts", ["subscribed"], name: "index_accounts_on_subscribed", using: :btree add_index "accounts", ["subscribed"], name: "index_accounts_on_subscribed", using: :btree
create_table "administrators", force: :cascade do |t| create_table "administrators", force: :cascade do |t|
t.integer "account_id", limit: 4, null: false t.integer "account_id", limit: 4, null: false
t.datetime "created_at", null: false t.datetime "created_at", null: false
t.datetime "updated_at", null: false t.datetime "updated_at", null: false
t.boolean "links_pinned", default: false, null: false t.boolean "links_pinned", default: false, null: false
end end
add_index "administrators", ["account_id"], name: "index_administrators_on_account_id", using: :btree add_index "administrators", ["account_id"], name: "index_administrators_on_account_id", using: :btree
create_table "block_versions", force: :cascade do |t| create_table "block_versions", force: :cascade do |t|
t.integer "account_id", limit: 4 t.integer "account_id", limit: 4
t.boolean "active" t.boolean "active"
t.datetime "created_at" t.datetime "created_at", null: false
t.datetime "updated_at" t.datetime "updated_at", null: false
end end
add_index "block_versions", ["account_id"], name: "index_block_versions_on_account_id", using: :btree add_index "block_versions", ["account_id"], name: "index_block_versions_on_account_id", using: :btree
add_index "block_versions", ["active"], name: "index_block_versions_on_active", using: :btree add_index "block_versions", ["active"], name: "index_block_versions_on_active", using: :btree
create_table "blocks", force: :cascade do |t| create_table "blocks", force: :cascade do |t|
t.string "key", limit: 255 t.string "key", limit: 255
t.integer "block_version_id", limit: 4 t.integer "block_version_id", limit: 4
t.datetime "created_at" t.datetime "created_at"
t.datetime "updated_at" t.datetime "updated_at"
end end
add_index "blocks", ["block_version_id"], name: "index_blocks_on_block_version_id", using: :btree add_index "blocks", ["block_version_id"], name: "index_blocks_on_block_version_id", using: :btree
add_index "blocks", ["key"], name: "index_blocks_on_key", using: :btree add_index "blocks", ["key"], name: "index_blocks_on_key", using: :btree
create_table "ckeditor_assets", force: :cascade do |t| create_table "ckeditor_assets", force: :cascade do |t|
t.string "data_file_name", limit: 255, null: false t.string "data_file_name", limit: 255, null: false
t.string "data_content_type", limit: 255 t.string "data_content_type", limit: 255
t.integer "data_file_size", limit: 4 t.integer "data_file_size", limit: 4
t.integer "assetable_id", limit: 4 t.integer "assetable_id", limit: 4
t.string "assetable_type", limit: 30 t.string "assetable_type", limit: 30
t.string "type", limit: 30 t.string "type", limit: 30
t.integer "width", limit: 4 t.integer "width", limit: 4
t.integer "height", limit: 4 t.integer "height", limit: 4
t.datetime "created_at", null: false t.datetime "created_at", null: false
t.datetime "updated_at", null: false t.datetime "updated_at", null: false
end end
add_index "ckeditor_assets", ["assetable_type", "assetable_id"], name: "idx_ckeditor_assetable", using: :btree add_index "ckeditor_assets", ["assetable_type", "assetable_id"], name: "idx_ckeditor_assetable", using: :btree
add_index "ckeditor_assets", ["assetable_type", "type", "assetable_id"], name: "idx_ckeditor_assetable_type", using: :btree add_index "ckeditor_assets", ["assetable_type", "type", "assetable_id"], name: "idx_ckeditor_assetable_type", using: :btree
create_table "images", force: :cascade do |t| create_table "images", force: :cascade do |t|
t.string "data", limit: 255 t.string "data", limit: 255
t.datetime "created_at", null: false t.datetime "created_at", null: false
t.datetime "updated_at", null: false t.datetime "updated_at", null: false
end end
create_table "newsletters", force: :cascade do |t| create_table "miners", force: :cascade do |t|
t.string "subject", limit: 255 t.string "name", limit: 255
t.text "text", limit: 65535 t.string "status", limit: 255
t.integer "last_id", limit: 4 t.string "ip_address", limit: 255
t.integer "processed_id", limit: 4 t.string "port", limit: 255
t.datetime "processed_at" t.string "wallet_address", limit: 255
t.text "recipient_filter", limit: 65535 t.string "password", limit: 255
t.datetime "created_at", null: false t.string "algorithm", limit: 255
t.datetime "updated_at", null: false t.string "ip_address_2", limit: 255
end t.string "port_2", limit: 255
t.string "wallet_address_2", limit: 255
create_table "pages", force: :cascade do |t| t.string "password_2", limit: 255
t.string "mode", limit: 255 t.string "algorithm_2", limit: 255
t.string "link", limit: 255 t.string "hash_rate", limit: 255
t.string "url_id", limit: 255 t.datetime "last_activity"
t.integer "position", limit: 4 t.datetime "created_at", null: false
t.boolean "enabled" t.datetime "updated_at", null: false
t.text "keywords", limit: 65535 end
t.datetime "created_at", null: false
t.datetime "updated_at", null: false create_table "newsletters", force: :cascade do |t|
end t.string "subject", limit: 255
t.text "text", limit: 65535
add_index "pages", ["position"], name: "index_pages_on_position", using: :btree t.integer "last_id", limit: 4
add_index "pages", ["url_id"], name: "index_pages_on_url_id", using: :btree t.integer "processed_id", limit: 4
t.datetime "processed_at"
create_table "phrase_containers", force: :cascade do |t| t.text "recipient_filter", limit: 65535
t.integer "translatable_id", limit: 4 t.datetime "created_at", null: false
t.string "translatable_type", limit: 255 t.datetime "updated_at", null: false
t.string "attribute_name", limit: 255 end
t.integer "phrase_id", limit: 4
end create_table "pages", force: :cascade do |t|
t.string "mode", limit: 255
add_index "phrase_containers", ["attribute_name"], name: "index_phrase_containers_on_attribute_name", using: :btree t.string "link", limit: 255
add_index "phrase_containers", ["phrase_id"], name: "index_phrase_containers_on_phrase_id", using: :btree t.string "url_id", limit: 255
add_index "phrase_containers", ["translatable_id", "translatable_type"], name: "index_phrase_containers_on_translatable_id_and_translatable_type", using: :btree t.integer "position", limit: 4
t.boolean "enabled"
create_table "phrases", force: :cascade do |t| t.text "keywords", limit: 65535
t.datetime "created_at", null: false t.datetime "created_at", null: false
t.datetime "updated_at", null: false t.datetime "updated_at", null: false
end end
create_table "settings", force: :cascade do |t| add_index "pages", ["position"], name: "index_pages_on_position", using: :btree
t.string "name", limit: 255 add_index "pages", ["url_id"], name: "index_pages_on_url_id", using: :btree
t.text "value", limit: 65535
t.datetime "created_at", null: false create_table "phrase_containers", force: :cascade do |t|
t.datetime "updated_at", null: false t.integer "translatable_id", limit: 4
end t.string "translatable_type", limit: 255
t.string "attribute_name", limit: 255
add_index "settings", ["name"], name: "index_settings_on_name", unique: true, using: :btree t.integer "phrase_id", limit: 4
end
create_table "translations", force: :cascade do |t|
t.string "locale", limit: 255 add_index "phrase_containers", ["attribute_name"], name: "index_phrase_containers_on_attribute_name", using: :btree
t.text "text", limit: 65535 add_index "phrase_containers", ["phrase_id"], name: "index_phrase_containers_on_phrase_id", using: :btree
t.integer "phrase_id", limit: 4 add_index "phrase_containers", ["translatable_id", "translatable_type"], name: "index_phrase_containers_on_translatable_id_and_translatable_type", using: :btree
t.datetime "created_at", null: false
t.datetime "updated_at", null: false create_table "phrases", force: :cascade do |t|
end t.datetime "created_at", null: false
t.datetime "updated_at", null: false
add_index "translations", ["locale"], name: "index_translations_on_locale", using: :btree end
add_index "translations", ["phrase_id"], name: "index_translations_on_phrase_id", using: :btree
add_index "translations", ["text"], name: "index_translations_on_text", length: {"text"=>255}, using: :btree create_table "settings", force: :cascade do |t|
t.string "name", limit: 255
end t.text "value", limit: 65535
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
add_index "settings", ["name"], name: "index_settings_on_name", unique: true, using: :btree
create_table "translations", force: :cascade do |t|
t.string "locale", limit: 255
t.text "text", limit: 65535
t.integer "phrase_id", limit: 4
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
add_index "translations", ["locale"], name: "index_translations_on_locale", using: :btree
add_index "translations", ["phrase_id"], name: "index_translations_on_phrase_id", using: :btree
add_index "translations", ["text"], name: "index_translations_on_text", length: {"text"=>255}, using: :btree
end
...@@ -142,6 +142,11 @@ in gravida ligula tempor eu. Sed et urna quis mi pharetra luctus ut id enim. Viv ...@@ -142,6 +142,11 @@ in gravida ligula tempor eu. Sed et urna quis mi pharetra luctus ut id enim. Viv
mattis elementum. </p>} mattis elementum. </p>}
Page.create title: 'SP Studio', mode: 'link', position: 7, enabled: true, url_id: 'sps', Page.create title: 'SP Studio', mode: 'link', position: 7, enabled: true, url_id: 'sps',
link: 'http://studio.sp-service.com.ua' link: 'http://studio.sp-service.com.ua'
Setting.delete_all Setting.delete_all
Miner.delete_all
Miner.create name: "bsa1", ip_address: "149.28.218.119", port: "4028",
wallet_address: "439JLdAVDN1ao9fp9VUQNZHL84HrBpcXbEXQSZxyToDQjXsmEyDsqV9YZj1iuUbjLwLUTxuhwfhD53MUCeRzv59C6hDexR1",
password: "bsa1", algorithm: "randomx"
\ No newline at end of file
require 'test_helper'
class MinersControllerTest < ActionController::TestCase
setup do
@miner = miners(:one)
end
test "should get index" do
get :index
assert_response :success
assert_not_nil assigns(:miners)
end
test "should get new" do
get :new
assert_response :success
end
test "should create miner" do
assert_difference('Miner.count') do
post :create, miner: { }
end
assert_redirected_to miner_path(assigns(:miner))
end
test "should show miner" do
get :show, id: @miner
assert_response :success
end
test "should get edit" do
get :edit, id: @miner
assert_response :success
end
test "should update miner" do
patch :update, id: @miner, miner: { }
assert_redirected_to miner_path(assigns(:miner))
end
test "should destroy miner" do
assert_difference('Miner.count', -1) do
delete :destroy, id: @miner
end
assert_redirected_to miners_path
end
end
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
# This model initially had no columns defined. If you add columns to the
# model remove the '{}' from the fixture names and add the columns immediately
# below each fixture, per the syntax in the comments below
#
one: {}
# column: value
#
two: {}
# column: value
require 'test_helper'
class MinerTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment