native 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 29eb809760acf3c42c2744f3a9deda517221e6c8
4
+ data.tar.gz: 0b841b1fc2421b31a7f3519b135635083a8f8c83
5
+ SHA512:
6
+ metadata.gz: 4bae11e9ec10129f51f05498c78e4f1b08655f5c03470a8a68aa0eda5da653c95ef1532a14eba89c2d189bd2f588c25cded8b3b7023ad102b1808ea58628defc
7
+ data.tar.gz: d0e933414208f11f2ad92315b539e4e28ecd5f0d0ccabc153e380758627e10ebf64ff72ea5899371a49cd88502d6bd6f80fe363e333de09dff0e547110536f4f
@@ -0,0 +1,16 @@
1
+ ### Expected behavior
2
+ Tell us what should happen
3
+
4
+ ### Actual behavior
5
+ Tell us what happens instead
6
+
7
+ ### Steps to reproduce
8
+
9
+ (Guidelines for creating a bug report are [available
10
+ here](https://github.com/jonhue/native/wiki/Bug-reports))
11
+
12
+ ### System configuration
13
+
14
+ **Ruby version**:
15
+
16
+ **Rails version**:
@@ -0,0 +1,21 @@
1
+ ### Summary
2
+
3
+ Provide a general description of the code changes in your pull
4
+ request... were there any bugs you had fixed? If so, mention them. If
5
+ these bugs have open GitHub issues, be sure to tag them here as well,
6
+ to keep the conversation linked together.
7
+
8
+ ### Other Information
9
+
10
+ If there's anything else that's important and relevant to your pull
11
+ request, mention that information here. This could include
12
+ benchmarks, or other information.
13
+
14
+ If you are updating any of the CHANGELOG files or are asked to update the
15
+ CHANGELOG files by reviewers, please add the CHANGELOG entry at the top of the file.
16
+
17
+ Finally, if your pull request affects documentation or any non-code
18
+ changes, guidelines for those changes are [available
19
+ here](https://github.com/jonhue/native/CONTRIBUTING.md)
20
+
21
+ Thanks for contributing to Native!
data/.gitignore ADDED
@@ -0,0 +1,13 @@
1
+ *.gem
2
+ *.rbc
3
+ .DS_Store
4
+ .bundle
5
+ .rvmrc
6
+ .ruby-version
7
+ .yardoc
8
+ .rake_tasks~
9
+ coverage/*
10
+ doc/*
11
+ log/*
12
+ pkg/*
13
+ .idea/*
data/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ ### unreleased
2
+
3
+ * nothing yet
4
+
5
+ ### 0.0.1 (Pre-release) - 2017-04-01
6
+
7
+ Initial release
data/CONTRIBUTING.md ADDED
File without changes
data/Gemfile ADDED
@@ -0,0 +1,12 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec
4
+
5
+
6
+ # Travis CI
7
+ gem 'rspec-rails', '~> 3.5', '>= 3.5.2'
8
+
9
+ # Development
10
+ group :development do
11
+ gem 'rubocop', '~> 0.47.1', require: false
12
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,152 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ native (0.0.1)
5
+ rails (>= 4.1.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (5.0.2)
11
+ actionpack (= 5.0.2)
12
+ nio4r (>= 1.2, < 3.0)
13
+ websocket-driver (~> 0.6.1)
14
+ actionmailer (5.0.2)
15
+ actionpack (= 5.0.2)
16
+ actionview (= 5.0.2)
17
+ activejob (= 5.0.2)
18
+ mail (~> 2.5, >= 2.5.4)
19
+ rails-dom-testing (~> 2.0)
20
+ actionpack (5.0.2)
21
+ actionview (= 5.0.2)
22
+ activesupport (= 5.0.2)
23
+ rack (~> 2.0)
24
+ rack-test (~> 0.6.3)
25
+ rails-dom-testing (~> 2.0)
26
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
+ actionview (5.0.2)
28
+ activesupport (= 5.0.2)
29
+ builder (~> 3.1)
30
+ erubis (~> 2.7.0)
31
+ rails-dom-testing (~> 2.0)
32
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
+ activejob (5.0.2)
34
+ activesupport (= 5.0.2)
35
+ globalid (>= 0.3.6)
36
+ activemodel (5.0.2)
37
+ activesupport (= 5.0.2)
38
+ activerecord (5.0.2)
39
+ activemodel (= 5.0.2)
40
+ activesupport (= 5.0.2)
41
+ arel (~> 7.0)
42
+ activesupport (5.0.2)
43
+ concurrent-ruby (~> 1.0, >= 1.0.2)
44
+ i18n (~> 0.7)
45
+ minitest (~> 5.1)
46
+ tzinfo (~> 1.1)
47
+ arel (7.1.4)
48
+ ast (2.3.0)
49
+ builder (3.2.3)
50
+ concurrent-ruby (1.0.5)
51
+ diff-lcs (1.3)
52
+ erubis (2.7.0)
53
+ globalid (0.3.7)
54
+ activesupport (>= 4.1.0)
55
+ i18n (0.8.1)
56
+ loofah (2.0.3)
57
+ nokogiri (>= 1.5.9)
58
+ mail (2.6.4)
59
+ mime-types (>= 1.16, < 4)
60
+ method_source (0.8.2)
61
+ mime-types (3.1)
62
+ mime-types-data (~> 3.2015)
63
+ mime-types-data (3.2016.0521)
64
+ mini_portile2 (2.1.0)
65
+ minitest (5.10.1)
66
+ nio4r (2.0.0)
67
+ nokogiri (1.7.0.1)
68
+ mini_portile2 (~> 2.1.0)
69
+ nokogiri (1.7.0.1-x86-mingw32)
70
+ mini_portile2 (~> 2.1.0)
71
+ parser (2.4.0.0)
72
+ ast (~> 2.2)
73
+ powerpack (0.1.1)
74
+ rack (2.0.1)
75
+ rack-test (0.6.3)
76
+ rack (>= 1.0)
77
+ rails (5.0.2)
78
+ actioncable (= 5.0.2)
79
+ actionmailer (= 5.0.2)
80
+ actionpack (= 5.0.2)
81
+ actionview (= 5.0.2)
82
+ activejob (= 5.0.2)
83
+ activemodel (= 5.0.2)
84
+ activerecord (= 5.0.2)
85
+ activesupport (= 5.0.2)
86
+ bundler (>= 1.3.0, < 2.0)
87
+ railties (= 5.0.2)
88
+ sprockets-rails (>= 2.0.0)
89
+ rails-dom-testing (2.0.2)
90
+ activesupport (>= 4.2.0, < 6.0)
91
+ nokogiri (~> 1.6)
92
+ rails-html-sanitizer (1.0.3)
93
+ loofah (~> 2.0)
94
+ railties (5.0.2)
95
+ actionpack (= 5.0.2)
96
+ activesupport (= 5.0.2)
97
+ method_source
98
+ rake (>= 0.8.7)
99
+ thor (>= 0.18.1, < 2.0)
100
+ rainbow (2.2.1)
101
+ rake (12.0.0)
102
+ rspec-core (3.5.4)
103
+ rspec-support (~> 3.5.0)
104
+ rspec-expectations (3.5.0)
105
+ diff-lcs (>= 1.2.0, < 2.0)
106
+ rspec-support (~> 3.5.0)
107
+ rspec-mocks (3.5.0)
108
+ diff-lcs (>= 1.2.0, < 2.0)
109
+ rspec-support (~> 3.5.0)
110
+ rspec-rails (3.5.2)
111
+ actionpack (>= 3.0)
112
+ activesupport (>= 3.0)
113
+ railties (>= 3.0)
114
+ rspec-core (~> 3.5.0)
115
+ rspec-expectations (~> 3.5.0)
116
+ rspec-mocks (~> 3.5.0)
117
+ rspec-support (~> 3.5.0)
118
+ rspec-support (3.5.0)
119
+ rubocop (0.47.1)
120
+ parser (>= 2.3.3.1, < 3.0)
121
+ powerpack (~> 0.1)
122
+ rainbow (>= 1.99.1, < 3.0)
123
+ ruby-progressbar (~> 1.7)
124
+ unicode-display_width (~> 1.0, >= 1.0.1)
125
+ ruby-progressbar (1.8.1)
126
+ sprockets (3.7.1)
127
+ concurrent-ruby (~> 1.0)
128
+ rack (> 1, < 3)
129
+ sprockets-rails (3.2.0)
130
+ actionpack (>= 4.0)
131
+ activesupport (>= 4.0)
132
+ sprockets (>= 3.0.0)
133
+ thor (0.19.4)
134
+ thread_safe (0.3.6)
135
+ tzinfo (1.2.2)
136
+ thread_safe (~> 0.1)
137
+ unicode-display_width (1.1.3)
138
+ websocket-driver (0.6.5)
139
+ websocket-extensions (>= 0.1.0)
140
+ websocket-extensions (0.1.2)
141
+
142
+ PLATFORMS
143
+ ruby
144
+ x86-mingw32
145
+
146
+ DEPENDENCIES
147
+ native!
148
+ rspec-rails (~> 3.5, >= 3.5.2)
149
+ rubocop (~> 0.47.1)
150
+
151
+ BUNDLED WITH
152
+ 1.13.7
data/INSTALL.md ADDED
@@ -0,0 +1 @@
1
+ **Thank you for installing Native!**
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 Jonas Hübotter
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,2 @@
1
+ # native
2
+ Building cross-platform apps with Rails
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,13 @@
1
+ module Native
2
+
3
+ VERSION = "0.0.1"
4
+
5
+ class Version
6
+
7
+ def self.current
8
+ return "native " + VERSION
9
+ end
10
+
11
+ end
12
+
13
+ end
data/lib/native.rb ADDED
@@ -0,0 +1,11 @@
1
+ begin
2
+ require 'rails'
3
+ rescue Exception => e
4
+ warn "Ensure you are in a Ruby on Rails environment"
5
+ end
6
+
7
+ module Native
8
+
9
+ require 'native/version'
10
+
11
+ end
data/native.gemspec ADDED
@@ -0,0 +1,26 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require File.expand_path(File.join('..', 'lib', 'native', 'version'), __FILE__)
3
+
4
+ Gem::Specification.new do |gem|
5
+ gem.name = "native"
6
+ gem.version = Native::VERSION
7
+ gem.platform = Gem::Platform::RUBY
8
+ gem.summary = "Building cross-platform apps with Rails"
9
+ gem.description = "[BETA] Build native apps for all major platforms from your Rails app with ease."
10
+ gem.authors = ["Jonas Hübotter"]
11
+ gem.email = "jonas@slooob.com"
12
+ gem.homepage = "https://github.com/jonhue/native"
13
+ gem.license = "MIT"
14
+
15
+ gem.files = `git ls-files`.split("\n")
16
+ gem.require_paths = ["lib"]
17
+ # gem.bindir = "bin"
18
+ # gem.executables = ["native"]
19
+
20
+ gem.post_install_message = IO.read('INSTALL.md')
21
+
22
+ gem.required_ruby_version = '>= 2.0'
23
+
24
+
25
+ gem.add_dependency 'rails', '>= 4.1.0'
26
+ end
metadata ADDED
@@ -0,0 +1,72 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: native
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Jonas Hübotter
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-04-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 4.1.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 4.1.0
27
+ description: "[BETA] Build native apps for all major platforms from your Rails app
28
+ with ease."
29
+ email: jonas@slooob.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - ".github/issue_template.md"
35
+ - ".github/pull_request_template.md"
36
+ - ".gitignore"
37
+ - CHANGELOG.md
38
+ - CONTRIBUTING.md
39
+ - Gemfile
40
+ - Gemfile.lock
41
+ - INSTALL.md
42
+ - LICENSE
43
+ - README.md
44
+ - Rakefile
45
+ - lib/native.rb
46
+ - lib/native/version.rb
47
+ - native.gemspec
48
+ homepage: https://github.com/jonhue/native
49
+ licenses:
50
+ - MIT
51
+ metadata: {}
52
+ post_install_message: "**Thank you for installing Native!**\n"
53
+ rdoc_options: []
54
+ require_paths:
55
+ - lib
56
+ required_ruby_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '2.0'
61
+ required_rubygems_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ requirements: []
67
+ rubyforge_project:
68
+ rubygems_version: 2.5.2
69
+ signing_key:
70
+ specification_version: 4
71
+ summary: Building cross-platform apps with Rails
72
+ test_files: []