Module: Everywhere
- Defined in:
- lib/everywhere.rb,
lib/everywhere/s3.rb,
lib/everywhere/ui.rb,
lib/everywhere/cli.rb,
lib/everywhere/png.rb,
lib/everywhere/boot.rb,
lib/everywhere/icon.rb,
lib/everywhere/paths.rb,
lib/everywhere/config.rb,
lib/everywhere/engine.rb,
lib/everywhere/ignore.rb,
lib/everywhere/raster.rb,
lib/everywhere/blake2b.rb,
lib/everywhere/receipt.rb,
lib/everywhere/version.rb,
lib/everywhere/database.rb,
lib/everywhere/minisign.rb,
lib/everywhere/shellout.rb,
lib/everywhere/framework.rb,
lib/everywhere/log_filter.rb,
lib/everywhere/commands/dev.rb,
lib/everywhere/commands/icon.rb,
lib/everywhere/commands/build.rb,
lib/everywhere/commands/clean.rb,
lib/everywhere/commands/doctor.rb,
lib/everywhere/platform/client.rb,
lib/everywhere/update_manifest.rb,
lib/everywhere/commands/install.rb,
lib/everywhere/commands/publish.rb,
lib/everywhere/commands/release.rb,
lib/everywhere/platform/snapshot.rb,
lib/everywhere/commands/shell_dir.rb,
lib/everywhere/platform/credentials.rb,
lib/everywhere/commands/platform/build.rb,
lib/everywhere/commands/platform/login.rb,
lib/everywhere/commands/updates_keygen.rb,
lib/everywhere/commands/platform/logout.rb,
lib/everywhere/commands/platform/runner.rb,
lib/everywhere/commands/platform/auth_status.rb
Defined Under Namespace
Modules: Blake2b, CLI, Commands, Database, Icon, Minisign, PNG, Paths, Platform, Shellout, UI, UpdateManifest Classes: Boot, Config, Configuration, Engine, Error, Framework, Ignore, LogFilter, Raster, Receipt, S3
Constant Summary collapse
- VERSION =
"0.1.14"- BRIDGE_VERSION =
Version of the @rubyeverywhere/bridge JS this gem ships. bridge/ in the gem IS the npm package (served to Rails apps by Everywhere::Engine, vendored to public/ for Sinatra/Hanami), so its package.json is the single source of truth. The build receipt records it; it versions independently of the CLI.
File.read( File.("../../bridge/package.json", __dir__) )[/"version":\s*"([^"]+)"/, 1]
Class Method Summary collapse
- .boot!(root:) ⇒ Object
- .config ⇒ Object
- .configure {|config| ... } ⇒ Object
-
.reset_config! ⇒ Object
Test/reset seam.
Class Method Details
.boot!(root:) ⇒ Object
161 162 163 |
# File 'lib/everywhere/boot.rb', line 161 def self.boot!(root:) Boot.call(root: root) end |
.config ⇒ Object
40 41 42 |
# File 'lib/everywhere.rb', line 40 def config @config ||= Configuration.new end |
.configure {|config| ... } ⇒ Object
44 45 46 |
# File 'lib/everywhere.rb', line 44 def configure yield config end |
.reset_config! ⇒ Object
Test/reset seam.
49 50 51 |
# File 'lib/everywhere.rb', line 49 def reset_config! @config = Configuration.new end |