Module: Everywhere
- Defined in:
- lib/everywhere.rb,
lib/everywhere/ui.rb,
lib/everywhere/cli.rb,
lib/everywhere/png.rb,
lib/everywhere/boot.rb,
lib/everywhere/paths.rb,
lib/everywhere/config.rb,
lib/everywhere/ignore.rb,
lib/everywhere/receipt.rb,
lib/everywhere/version.rb,
lib/everywhere/database.rb,
lib/everywhere/shellout.rb,
lib/everywhere/framework.rb,
lib/everywhere/commands/dev.rb,
lib/everywhere/commands/build.rb,
lib/everywhere/commands/doctor.rb,
lib/everywhere/platform/client.rb,
lib/everywhere/commands/install.rb,
lib/everywhere/commands/release.rb,
lib/everywhere/platform/snapshot.rb,
lib/everywhere/platform/credentials.rb,
lib/everywhere/commands/platform/build.rb,
lib/everywhere/commands/platform/login.rb,
lib/everywhere/commands/platform/logout.rb,
lib/everywhere/commands/platform/runner.rb,
lib/everywhere/commands/platform/auth_status.rb
Defined Under Namespace
Modules: CLI, Commands, Database, PNG, Paths, Platform, Shellout, UI Classes: Boot, Config, Configuration, Error, Framework, Ignore, Receipt
Constant Summary collapse
- VERSION =
"0.1.1"- BRIDGE_VERSION =
Version of the vendored @rubyeverywhere/bridge JS this gem ships. Tracks bridge/package.json — bump it whenever lib/everywhere/javascript/bridge.js is refreshed.
every installstamps it into the vendored file so the build receipt can record which bridge shipped; it versions independently of the CLI. "0.1.0"
Class Method Summary collapse
- .boot!(root:) ⇒ Object
- .config ⇒ Object
- .configure {|config| ... } ⇒ Object
-
.reset_config! ⇒ Object
Test/reset seam.
Class Method Details
.boot!(root:) ⇒ Object
135 136 137 |
# File 'lib/everywhere/boot.rb', line 135 def self.boot!(root:) Boot.call(root: root) end |
.config ⇒ Object
37 38 39 |
# File 'lib/everywhere.rb', line 37 def config @config ||= Configuration.new end |
.configure {|config| ... } ⇒ Object
41 42 43 |
# File 'lib/everywhere.rb', line 41 def configure yield config end |
.reset_config! ⇒ Object
Test/reset seam.
46 47 48 |
# File 'lib/everywhere.rb', line 46 def reset_config! @config = Configuration.new end |