station 0.0.95 → 0.0.96

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 520397b9e9df2b23552ddacfa1db890c4e64e2d529139da92b27fb69e831127e
4
- data.tar.gz: 359d5422ca1cf98cad2fdd7a6cf4ed20b545c9da4456db451d91445079cca258
3
+ metadata.gz: 0a6afa3f7d7c40dc3822c7a5fab7c29a04ebb8f681055a4718a453fd0eea5ee5
4
+ data.tar.gz: 7b46e9ddd4841aae9a87637a2686757d71fb0c07ed2d3c502803785ac4702d8a
5
5
  SHA512:
6
- metadata.gz: 72292c8918fa473782a711990aa5964f29824fe81a0372db5cf7fec53515f1edc153fcd40cf54e3e774eefca1a46ea283f633086f05ce71e96dc0ad5f408fb06
7
- data.tar.gz: '04206032797fa2819f545cf74a5f72b2761da4fd419cba0afa8c588745786332ed87ab76328d524ab75853d5af9bb1c35771805b53a0650d7fb4421c7a079bff'
6
+ metadata.gz: 5f20dba8010c8b024bcec15521b467a54635b4b3966182b29c995581db099fc70b448b439b8f1330df30886a16466e3711ff86e2db294f6b0b7257d7b7811f9e
7
+ data.tar.gz: c4b374a0246a0f932586e2d61ba1fc0c45c50427d04a76d7e9d4b10efc81454cdafb9f0eb90860f7b2e0fff196416d19bb7c72f66352102ef95c26f0d8e00202
@@ -3,6 +3,7 @@ require 'optparse'
3
3
 
4
4
  clear_cache = false
5
5
  rake_ci = false
6
+ run_migrations = false
6
7
  rake_smartling_download = false
7
8
  rake_smartling_upload = false
8
9
 
@@ -26,6 +27,9 @@ docs_path = OptionParser.new do |opts|
26
27
  opts.on("--clear-cache", "Clear Rails cache") do
27
28
  clear_cache = true
28
29
  end
30
+ opts.on("--run-migrations", "Runs db migrations") do
31
+ run_migrations = true
32
+ end
29
33
  opts.on("--rake-ci", "Runs ci tasks") do
30
34
  rake_ci = true
31
35
  end
@@ -87,23 +91,27 @@ require 'rake'
87
91
  require 'config/application'
88
92
  require 'rails/command'
89
93
 
94
+ Rails.application.load_tasks
95
+
90
96
  if clear_cache
91
97
  puts "Clearing Rails cache..."
92
98
  Rails::Command.invoke 'runner', ['Rails.cache.clear']
93
99
  end
94
100
 
101
+ if run_migrations
102
+ puts "Running migrations..."
103
+ Rails::Command.invoke 'runner', ["Rake::Task['db:migrate'].invoke"]
104
+ end
105
+
95
106
  if rake_ci
96
107
  puts 'Running Rake tasks...'
97
- Rails.application.load_tasks
98
108
  Rails::Command.invoke 'runner', ["Rake::Task['db:setup'].invoke"]
99
109
  Rails::Command.invoke 'runner', ["Rake::Task['ci:all'].invoke"]
100
110
  elsif rake_smartling_download
101
111
  puts 'Running Smartling download check...'
102
- Rails.application.load_tasks
103
112
  Rails::Command.invoke 'runner', ["Rake::Task['smartling:download'].invoke"]
104
113
  elsif rake_smartling_upload
105
114
  puts 'Running Smartling upload process...'
106
- Rails.application.load_tasks
107
115
 
108
116
  frequency, *paths = ARGV
109
117
  Rails::Command.invoke 'runner', ["Rake::Task['smartling:upload'].invoke(#{paths}, #{frequency})"]
@@ -77,6 +77,7 @@ export default {
77
77
  Array.from(document.getElementsByClassName('Vlt-modal_visible'), function(modal) {
78
78
  modal.classList.remove('Vlt-modal_visible');
79
79
  })
80
+ document.body.classList.remove('Vlt-body--modal-open');
80
81
  return false;
81
82
  },
82
83
  parameters: function() {
@@ -1,3 +1,3 @@
1
1
  module NexmoDeveloper
2
- VERSION = '0.0.95'.freeze
2
+ VERSION = '0.0.96'.freeze
3
3
  end
@@ -46,7 +46,7 @@
46
46
  "puppeteer": "^5.4.1",
47
47
  "rails-erb-loader": "^5.1.0",
48
48
  "resolve-url-loader": "^3.1.2",
49
- "sass-loader": "^10.0.5",
49
+ "sass-loader": "^10.1.0",
50
50
  "serialize-javascript": "^5.0.1",
51
51
  "sha1-file": "^1.0.0",
52
52
  "style-loader": "^2.0.0",
data/yarn.lock CHANGED
@@ -11555,10 +11555,10 @@ sass-graph@2.2.5:
11555
11555
  scss-tokenizer "^0.2.3"
11556
11556
  yargs "^13.3.2"
11557
11557
 
11558
- sass-loader@^10.0.5:
11559
- version "10.0.5"
11560
- resolved "https://registry.yarnpkg.com/sass-loader/-/sass-loader-10.0.5.tgz#f53505b5ddbedf43797470ceb34066ded82bb769"
11561
- integrity sha512-2LqoNPtKkZq/XbXNQ4C64GFEleSEHKv6NPSI+bMC/l+jpEXGJhiRYkAQToO24MR7NU4JRY2RpLpJ/gjo2Uf13w==
11558
+ sass-loader@^10.1.0:
11559
+ version "10.1.0"
11560
+ resolved "https://registry.yarnpkg.com/sass-loader/-/sass-loader-10.1.0.tgz#1727fcc0c32ab3eb197cda61d78adf4e9174a4b3"
11561
+ integrity sha512-ZCKAlczLBbFd3aGAhowpYEy69Te3Z68cg8bnHHl6WnSCvnKpbM6pQrz957HWMa8LKVuhnD9uMplmMAHwGQtHeg==
11562
11562
  dependencies:
11563
11563
  klona "^2.0.4"
11564
11564
  loader-utils "^2.0.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: station
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.95
4
+ version: 0.0.96
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vonage DevRel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-11 00:00:00.000000000 Z
11
+ date: 2020-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeadmin