under-os 0.0.0
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 +7 -0
- data/lib/under-os.rb +15 -0
- data/lib/under_os/application.rb +16 -0
- data/lib/under_os/config.rb +6 -0
- data/lib/under_os/delegate.rb +9 -0
- data/lib/under_os/window.rb +5 -0
- data/lib/under_os.rb +5 -0
- metadata +50 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ef5b142a4e4cb3a0ae9e4fcf41e2348c691bf93f
|
4
|
+
data.tar.gz: e274b74979f02280d836f2c53a7f28c919b4d0a2
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: baacb919ea538b281819beb91f438d77c77abda5bd7e21080ca100d6a0318efef6de4887e12833a78cd2743d0f90ae06f1ffe36d58dfb0f3cd75ce24169f47bc
|
7
|
+
data.tar.gz: 072c365f9b4f0dec820e9491de382d5f03f76388bc2c35d9160a3f467a81dc84836b722f698827949ffe0aaa35ab2ddf75b190d278c1af841e2664be24e2a72b
|
data/lib/under-os.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# just a gem hook
|
2
|
+
|
3
|
+
Motion::Project::App.instance_eval do
|
4
|
+
alias :setup_before_under_os :setup
|
5
|
+
|
6
|
+
def setup(*args, &block)
|
7
|
+
config.setup_blocks << proc do |app|
|
8
|
+
Dir.glob(File.dirname(__FILE__) + '/**/*.rb').reverse.each do |file|
|
9
|
+
app.files.insert(0, file) if file != __FILE__
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
setup_before_under_os *args, &block
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
class UnderOs::Application
|
2
|
+
attr_reader :window
|
3
|
+
|
4
|
+
def self.new(*args)
|
5
|
+
@inst ||= super(*args)
|
6
|
+
end
|
7
|
+
|
8
|
+
def self.start(&block)
|
9
|
+
@inst.instance_eval &block
|
10
|
+
end
|
11
|
+
|
12
|
+
def initialize(ios_app, options)
|
13
|
+
@_ = ios_app
|
14
|
+
@window = UnderOs::Window.new
|
15
|
+
end
|
16
|
+
end
|
data/lib/under_os.rb
ADDED
metadata
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: under-os
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Nikolay Nemshilov
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-10-10 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: A web-like thin wrapper over iOS
|
14
|
+
email:
|
15
|
+
- nemshilov@gmail.com
|
16
|
+
executables: []
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- lib/under-os.rb
|
21
|
+
- lib/under_os/application.rb
|
22
|
+
- lib/under_os/config.rb
|
23
|
+
- lib/under_os/delegate.rb
|
24
|
+
- lib/under_os/window.rb
|
25
|
+
- lib/under_os.rb
|
26
|
+
homepage:
|
27
|
+
licenses:
|
28
|
+
- MIT
|
29
|
+
metadata: {}
|
30
|
+
post_install_message:
|
31
|
+
rdoc_options: []
|
32
|
+
require_paths:
|
33
|
+
- lib
|
34
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
35
|
+
requirements:
|
36
|
+
- - ">="
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '0'
|
39
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
requirements: []
|
45
|
+
rubyforge_project:
|
46
|
+
rubygems_version: 2.0.3
|
47
|
+
signing_key:
|
48
|
+
specification_version: 4
|
49
|
+
summary: A web-like thin wrapper over iOS
|
50
|
+
test_files: []
|