lunar_shell 0.3.0 → 0.4.1
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 +4 -4
- data/app/controllers/lunar_shell/satellites_controller.rb +5 -5
- data/config/routes.rb +4 -1
- data/lib/generators/lunar_shell/satellite/USAGE +14 -0
- data/lib/generators/lunar_shell/satellite/satellite_generator.rb +72 -0
- data/lib/generators/lunar_shell/satellite/templates/controller.rb +8 -0
- data/lib/generators/lunar_shell/satellite/templates/test.rb +8 -0
- data/lib/generators/lunar_shell/satellite/templates/view.rb +2 -0
- data/lib/lunar_shell/engine.rb +18 -0
- data/lib/lunar_shell/middleware/interpreter.rb +1 -1
- data/lib/lunar_shell/version.rb +1 -1
- data/test/dummy/log/development.log +11 -0
- data/test/dummy/log/test.log +2473 -0
- data/test/integration/command_not_found_test.rb +11 -0
- metadata +9 -4
- data/test/dummy/tmp/pids/server.pid +0 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
require 'test_helper'
|
|
2
|
+
|
|
3
|
+
class CommandNotFoundTest < SatelliteIntegrationTest
|
|
4
|
+
test "nothing sent" do
|
|
5
|
+
page.has_no_content? 'Command not found'
|
|
6
|
+
|
|
7
|
+
command = 'asdklfj'
|
|
8
|
+
run_command command
|
|
9
|
+
page.has_content? "Command not found: #{command}."
|
|
10
|
+
end
|
|
11
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lunar_shell
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dave Nguyen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-06-
|
|
11
|
+
date: 2016-06-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bcrypt
|
|
@@ -192,6 +192,11 @@ files:
|
|
|
192
192
|
- config/initializers/lunar_shell.rb
|
|
193
193
|
- config/routes.rb
|
|
194
194
|
- db/migrate/20160616015436_create_lunar_shell_users.rb
|
|
195
|
+
- lib/generators/lunar_shell/satellite/USAGE
|
|
196
|
+
- lib/generators/lunar_shell/satellite/satellite_generator.rb
|
|
197
|
+
- lib/generators/lunar_shell/satellite/templates/controller.rb
|
|
198
|
+
- lib/generators/lunar_shell/satellite/templates/test.rb
|
|
199
|
+
- lib/generators/lunar_shell/satellite/templates/view.rb
|
|
195
200
|
- lib/lunar_shell.rb
|
|
196
201
|
- lib/lunar_shell/core_ext/action_dispatch.rb
|
|
197
202
|
- lib/lunar_shell/engine.rb
|
|
@@ -1599,9 +1604,9 @@ files:
|
|
|
1599
1604
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/zi/ziWz79J3n-bsN4wo5Jd08zGLe4vjIQtHjBTq1XKeD_g.cache
|
|
1600
1605
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/zi/ziZybG4-6OxiJNnrAL6QSFVlHfTjmPVnTJRHzrx-g6E.cache
|
|
1601
1606
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/zz/zzT3PhZUV0CQP9N9n9ZxFcJjuJLC6_OQcYgJtVqBo9k.cache
|
|
1602
|
-
- test/dummy/tmp/pids/server.pid
|
|
1603
1607
|
- test/fixtures/lunar_shell/users.yml
|
|
1604
1608
|
- test/integration/clear_test.rb
|
|
1609
|
+
- test/integration/command_not_found_test.rb
|
|
1605
1610
|
- test/integration/exit_test.rb
|
|
1606
1611
|
- test/integration/history_test.rb
|
|
1607
1612
|
- test/integration/no_command_test.rb
|
|
@@ -3036,9 +3041,9 @@ test_files:
|
|
|
3036
3041
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/ZX/ZXiPvuge0OKQ-xXUB7ZN0MeGiDVlMa9shv75SaOFtzU.cache
|
|
3037
3042
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/ZX/ZxOY9-P3YofQ1ObzWeC3LIXH_2BPnT0owu-kR1hy4_w.cache
|
|
3038
3043
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/zz/zzT3PhZUV0CQP9N9n9ZxFcJjuJLC6_OQcYgJtVqBo9k.cache
|
|
3039
|
-
- test/dummy/tmp/pids/server.pid
|
|
3040
3044
|
- test/fixtures/lunar_shell/users.yml
|
|
3041
3045
|
- test/integration/clear_test.rb
|
|
3046
|
+
- test/integration/command_not_found_test.rb
|
|
3042
3047
|
- test/integration/exit_test.rb
|
|
3043
3048
|
- test/integration/history_test.rb
|
|
3044
3049
|
- test/integration/no_command_test.rb
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
37669
|