sidestep 2.0.0 → 2.0.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/README.md +2 -0
- data/lib/motion/project/sidestep.rb +4 -0
- data/lib/sidestep.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 704301fdf1e79f9fd36a869b51f4fe03faa29e0d
|
4
|
+
data.tar.gz: 65ec313641ece71919fab193ab466c70d0251f4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c21247a08e7ba8d3e9e79d31392a55927891acd6b4feb30d8a7d93cd8bbc8639a96f63a128011e521150b877b72c4ef2823760aabb532181f7a09ec03e4e91b0
|
7
|
+
data.tar.gz: 59dbbd16591415476d55e7c478627f564eb01c9aad1a870a6491feb34feea2638d97d3f5da5e47b78c6465d3a57c5349a37ebc56eb1c51b1efeccccb1f834f70
|
data/README.md
CHANGED
@@ -26,6 +26,8 @@ You can also provide params to your controller (not available for android atm) :
|
|
26
26
|
|
27
27
|
rake sidestep[MyController] id=5
|
28
28
|
|
29
|
+
*NOTE* : If you use zsh you need to escape the brackets => rake sidestep\[MyController\]
|
30
|
+
|
29
31
|
## Custom behavior
|
30
32
|
|
31
33
|
If you need to add custom initialization (Google analytics SDK...) in the delegate before showing the controller, you can create your own `app_delegate.erb` (note: it's ERB not RB) at the root of the app. See this repository for example.
|
@@ -67,6 +67,10 @@ task :sidestep, [:controller] do |t, args|
|
|
67
67
|
ARGV.shift
|
68
68
|
keys = ARGV.map { |option| option.split("=") }.to_h
|
69
69
|
|
70
|
+
if keys.fetch('debug', nil)
|
71
|
+
ENV['debug'] = keys.delete('debug')
|
72
|
+
end
|
73
|
+
|
70
74
|
Motion::Project::Sidestep.new(controller, keys).replace
|
71
75
|
|
72
76
|
if App.config.template == :ios
|
data/lib/sidestep.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidestep
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joffrey Jaffeux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -54,7 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
54
54
|
version: '0'
|
55
55
|
requirements: []
|
56
56
|
rubyforge_project:
|
57
|
-
rubygems_version: 2.
|
57
|
+
rubygems_version: 2.4.5
|
58
58
|
signing_key:
|
59
59
|
specification_version: 4
|
60
60
|
summary: Simple gem to load one specific controller on demand
|