tao_on_rails 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +18 -11
- data/Rakefile +1 -1
- data/lib/assets/javascripts/tao/page.coffee +1 -1
- data/lib/generators/tao/assets/USAGE +18 -0
- data/lib/generators/tao/assets/assets_generator.rb +8 -0
- data/lib/generators/tao/channel/USAGE +9 -0
- data/lib/generators/tao/channel/channel_generator.rb +17 -0
- data/lib/generators/tao/channel/templates/channel.coffee.erb +20 -0
- data/lib/generators/tao/channel/templates/channel.rb.erb +13 -0
- data/lib/generators/tao/coffee/USAGE +15 -0
- data/lib/generators/tao/coffee/coffee_generator.rb +27 -0
- data/lib/generators/tao/coffee/templates/coffee.erb +14 -0
- data/lib/generators/tao/controller/USAGE +8 -0
- data/lib/generators/tao/controller/controller_generator.rb +20 -0
- data/lib/generators/tao/controller/templates/controller.rb.erb +57 -0
- data/lib/generators/tao/locale/USAGE +11 -0
- data/lib/generators/tao/locale/locale_generator.rb +34 -0
- data/lib/generators/tao/locale/templates/model.yml.erb +7 -0
- data/lib/generators/tao/sass/USAGE +15 -0
- data/lib/generators/tao/sass/sass_generator.rb +27 -0
- data/lib/generators/tao/sass/templates/sass.erb +3 -0
- data/lib/generators/tao/scaffold/USAGE +22 -0
- data/lib/generators/tao/scaffold/scaffold_generator.rb +16 -0
- data/lib/generators/tao/view/USAGE +9 -0
- data/lib/generators/tao/view/templates/create.js.coffee +5 -0
- data/lib/generators/tao/view/templates/destroy.js.coffee +2 -0
- data/lib/generators/tao/view/templates/edit.html.erb +1 -0
- data/lib/generators/tao/view/templates/index.html.erb +1 -0
- data/lib/generators/tao/view/templates/new.html.erb +1 -0
- data/lib/generators/tao/view/templates/show.html.erb +1 -0
- data/lib/generators/tao/view/templates/update.js.coffee +5 -0
- data/lib/generators/tao/view/view_generator.rb +38 -0
- data/lib/tao_on_rails/{rails/engine.rb → engine.rb} +2 -3
- data/lib/tao_on_rails/version.rb +3 -0
- data/lib/tao_on_rails.rb +2 -4
- data/lib/tasks/{tao_icons.rake → icons.rake} +1 -1
- data/lib/templates/app/app_template.rb +60 -0
- data/lib/templates/app/templates/app/assets/javascripts/application.coffee +12 -0
- data/lib/templates/app/templates/app/assets/javascripts/home/index_page.coffee +14 -0
- data/lib/templates/app/templates/app/assets/stylesheets/application.scss +10 -0
- data/lib/templates/app/templates/app/assets/stylesheets/home/index_page.scss +3 -0
- data/lib/templates/app/templates/app/controllers/home_controller.rb +2 -0
- data/lib/templates/app/templates/app/helpers/application_helper.rb +8 -0
- data/lib/templates/app/templates/app/views/home/index.html.erb +1 -0
- data/lib/templates/app/templates/app/views/layouts/application.html.erb +22 -0
- data/lib/templates/plugin/plugin_template.rb +67 -0
- data/lib/templates/plugin/templates/Rakefile +10 -0
- data/lib/templates/plugin/templates/index.html +29 -0
- data/lib/templates/plugin/templates/lib/assets/javascripts/plugin_name.coffee +14 -0
- data/lib/templates/plugin/templates/lib/assets/stylesheets/plugin_name.scss +4 -0
- data/lib/templates/plugin/templates/lib/plugin_name/engine.rb +7 -0
- data/lib/templates/plugin/templates/plugin_name.gemspec +23 -0
- data/lib/templates/plugin/templates/test/javascripts/plugin_name_test.coffee +21 -0
- data/lib/templates/plugin/templates/test/plugin_name_test.rb +13 -0
- data/lib/templates/plugin/templates/test/test_helper.rb +9 -0
- metadata +59 -62
- data/.DS_Store +0 -0
- data/.blade.yml +0 -38
- data/.gitignore +0 -10
- data/.travis.yml +0 -10
- data/CODE_OF_CONDUCT.md +0 -74
- data/Gemfile +0 -4
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/dist/tao.css +0 -475
- data/dist/tao.js +0 -31224
- data/lib/tao_on_rails/rails/railtie.rb +0 -9
- data/lib/tao_on_rails/rails/version.rb +0 -5
- data/lib/tao_on_rails/rails.rb +0 -3
- data/tao_on_rails.gemspec +0 -34
- data/vendor/assets/javascripts/.DS_Store +0 -0
- data/vendor/assets/javascripts/polyfills/.DS_Store +0 -0
@@ -0,0 +1,14 @@
|
|
1
|
+
class HomeIndexPage extends TaoPage
|
2
|
+
|
3
|
+
@tag: 'home-index-page'
|
4
|
+
|
5
|
+
_init: ->
|
6
|
+
# called when the page connected to dom for the first time
|
7
|
+
|
8
|
+
_connected: ->
|
9
|
+
# called every time the page connected to dom
|
10
|
+
|
11
|
+
_disconnected: ->
|
12
|
+
# called every time the page disconnected from dom
|
13
|
+
|
14
|
+
TaoPage.register HomeIndexPage
|
@@ -0,0 +1 @@
|
|
1
|
+
<h1>Tao on Rails</h1>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="renderer" content="webkit">
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
7
|
+
<title><%%= content_for(:title) || 'Using Tao on Rails' %></title>
|
8
|
+
<%%= csrf_meta_tags %>
|
9
|
+
|
10
|
+
<%%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
|
11
|
+
<%%= content_for(:stylesheet) %>
|
12
|
+
|
13
|
+
<%%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
|
14
|
+
<%%= content_for(:javascript) %>
|
15
|
+
</head>
|
16
|
+
|
17
|
+
<body>
|
18
|
+
<<%%= page_id %>-page>
|
19
|
+
<%%= yield %>
|
20
|
+
</<%%= page_id %>-page>
|
21
|
+
</body>
|
22
|
+
</html>
|
@@ -0,0 +1,67 @@
|
|
1
|
+
require 'fileutils'
|
2
|
+
require "shellwords"
|
3
|
+
|
4
|
+
def apply_template!
|
5
|
+
assert_rails_version
|
6
|
+
assert_options
|
7
|
+
add_template_dir_to_source_paths
|
8
|
+
|
9
|
+
plugin_name = name.underscore
|
10
|
+
|
11
|
+
remove_dir 'bin'
|
12
|
+
remove_dir 'lib/tasks'
|
13
|
+
template 'lib/plugin_name/engine.rb', "lib/#{plugin_name}/engine.rb"
|
14
|
+
|
15
|
+
template 'lib/assets/javascripts/plugin_name.coffee', "lib/assets/javascripts/#{plugin_name}.coffee"
|
16
|
+
template 'lib/assets/stylesheets/plugin_name.scss', "lib/assets/stylesheets/#{plugin_name}.scss"
|
17
|
+
|
18
|
+
template 'test/plugin_name_test.rb', "test/#{plugin_name}_test.rb", force: true
|
19
|
+
template 'test/test_helper.rb', force: true
|
20
|
+
template 'test/javascripts/plugin_name_test.coffee', "test/javascripts/#{plugin_name}_test.coffee"
|
21
|
+
|
22
|
+
template '.blade.yml'
|
23
|
+
template '.gitignore', force: true
|
24
|
+
template '.travis.yml'
|
25
|
+
template 'index.html'
|
26
|
+
template 'Rakefile', force: true
|
27
|
+
template 'plugin_name.gemspec', "#{plugin_name}.gemspec", force: true
|
28
|
+
|
29
|
+
inside do
|
30
|
+
FileUtils.mv 'MIT-LICENSE', 'LICENSE'
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
def assert_rails_version
|
35
|
+
requirement = Gem::Requirement.new('~> 5.0.0')
|
36
|
+
rails_version = Gem::Version.new(Rails::VERSION::STRING)
|
37
|
+
return if requirement.satisfied_by?(rails_version)
|
38
|
+
fail Rails::Generators::Error, 'Rails #{RAILS_REQUIREMENT} is required'
|
39
|
+
end
|
40
|
+
|
41
|
+
def assert_options
|
42
|
+
valid_options = {
|
43
|
+
:skip_gemfile => false,
|
44
|
+
:skip_bundle => false
|
45
|
+
}
|
46
|
+
valid_options.each do |key, expected|
|
47
|
+
next unless options.key?(key)
|
48
|
+
actual = options[key]
|
49
|
+
if actual != expected
|
50
|
+
fail Rails::Generators::Error, "Unsupported option: #{key}=#{actual}"
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def add_template_dir_to_source_paths
|
56
|
+
if __FILE__ =~ %r{\Ahttps?://}
|
57
|
+
tmp_dir = Dir.mktmpdir('_tao_template')
|
58
|
+
at_exit { remove_dir tmp_dir }
|
59
|
+
repo_url = 'https://github.com/mycolorway/tao_on_rails.git'
|
60
|
+
git :clone => "--quiet --depth 1 #{repo_url} #{tmp_dir}".shellescape
|
61
|
+
source_paths.unshift File.expand_path('lib/templates/app/templates', tmp_dir)
|
62
|
+
else
|
63
|
+
source_paths.unshift(File.expand_path('../templates', __FILE__))
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
apply_template!
|
@@ -0,0 +1,29 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title><%= name.camelize %></title>
|
5
|
+
<meta charset="utf-8">
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
7
|
+
|
8
|
+
<link media="all" rel="stylesheet" type="text/css" href="dist/tao.css">
|
9
|
+
<link media="all" rel="stylesheet" type="text/css" href="dist/<%= name.underscore %>.css">
|
10
|
+
<style>
|
11
|
+
.wrapper {
|
12
|
+
width: 800px;
|
13
|
+
height: 600px;
|
14
|
+
border: 1px solid #cccccc;
|
15
|
+
position: relative;
|
16
|
+
margin: 80px auto;
|
17
|
+
}
|
18
|
+
</style>
|
19
|
+
|
20
|
+
<script type="text/javascript" src="dist/tao.js"></script>
|
21
|
+
<script type="text/javascript" src="dist/<%= name.underscore %>.js"></script>
|
22
|
+
|
23
|
+
</head>
|
24
|
+
<body>
|
25
|
+
<div class="wrapper">
|
26
|
+
<<%= name.dasherize %>></<%= name.dasherize %>>
|
27
|
+
</div>
|
28
|
+
</body>
|
29
|
+
</html>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
class <%= name.camelize %> extends TaoComponent
|
2
|
+
|
3
|
+
@tag: '<%= name.dasherize %>'
|
4
|
+
|
5
|
+
_init: ->
|
6
|
+
# called when the page connected to dom for the first time
|
7
|
+
|
8
|
+
_connected: ->
|
9
|
+
# called every time the page connected to dom
|
10
|
+
|
11
|
+
_disconnected: ->
|
12
|
+
# called every time the page disconnected from dom
|
13
|
+
|
14
|
+
TaoComponent.register <%= name.camelize %>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
$:.push File.expand_path('../lib', __FILE__)
|
3
|
+
|
4
|
+
require '<%= name.underscore %>/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = '<%= name.underscore %>'
|
8
|
+
spec.version = TaoOnRails::VERSION
|
9
|
+
spec.authors = ['your name']
|
10
|
+
spec.email = ['your email']
|
11
|
+
|
12
|
+
spec.homepage = ''
|
13
|
+
spec.summary = ''
|
14
|
+
spec.description = ''
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
spec.files = Dir["{lib,vendor}/**/*", "LICENSE", "Rakefile", "README.md"]
|
18
|
+
|
19
|
+
spec.add_dependency "tao_on_rails", "~> 0.6.0"
|
20
|
+
|
21
|
+
spec.add_development_dependency "blade", "~> 0.7.0"
|
22
|
+
spec.add_development_dependency "blade-sauce_labs_plugin", "~> 0.6.2"
|
23
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
{module, test} = QUnit
|
2
|
+
|
3
|
+
module '<%= name.camelize %>',
|
4
|
+
|
5
|
+
beforeEach: (assert) ->
|
6
|
+
done = assert.async()
|
7
|
+
|
8
|
+
@<%= name.camelize(:lower) %> = $('''
|
9
|
+
<<%= name.dasherize %>/>
|
10
|
+
''').appendTo('body').get(0)
|
11
|
+
|
12
|
+
setTimeout -> done()
|
13
|
+
|
14
|
+
afterEach: ->
|
15
|
+
@<%= name.camelize(:lower) %>.jq.remove()
|
16
|
+
@<%= name.camelize(:lower) %> = null
|
17
|
+
|
18
|
+
, ->
|
19
|
+
|
20
|
+
test 'inherits from TaoComponent', (assert) ->
|
21
|
+
assert.ok @<%= name.camelize(:lower) %> instanceof TaoComponent
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class <%= name.camelize %>Test < ActiveSupport::TestCase
|
4
|
+
|
5
|
+
test 'version number' do
|
6
|
+
assert <%= name.camelize %>::VERSION.is_a? String
|
7
|
+
end
|
8
|
+
|
9
|
+
test '<%= name.camelize %>::Engine inherits from Rails::Engine' do
|
10
|
+
assert <%= name.camelize %>::Engine < Rails::Engine
|
11
|
+
end
|
12
|
+
|
13
|
+
end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rails/test_help"
|
6
|
+
|
7
|
+
# Filter out Minitest backtrace while allowing backtrace from other libraries
|
8
|
+
# to be shown.
|
9
|
+
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tao_on_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Siyuan Liu
|
8
8
|
- Terry Tai
|
9
9
|
autorequire:
|
10
|
-
bindir:
|
10
|
+
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-01-
|
12
|
+
date: 2017-01-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: turbolinks
|
@@ -60,55 +60,19 @@ dependencies:
|
|
60
60
|
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '5.0'
|
63
|
-
|
64
|
-
prerelease: false
|
65
|
-
version_requirements: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - "~>"
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '5.0'
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: bundler
|
72
|
-
requirement: !ruby/object:Gem::Requirement
|
73
|
-
requirements:
|
74
|
-
- - "~>"
|
63
|
+
- - ">="
|
75
64
|
- !ruby/object:Gem::Version
|
76
|
-
version:
|
77
|
-
type: :
|
78
|
-
prerelease: false
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- - "~>"
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: '1.13'
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: rake
|
86
|
-
requirement: !ruby/object:Gem::Requirement
|
87
|
-
requirements:
|
88
|
-
- - "~>"
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: '10.0'
|
91
|
-
type: :development
|
65
|
+
version: 5.0.1
|
66
|
+
type: :runtime
|
92
67
|
prerelease: false
|
93
68
|
version_requirements: !ruby/object:Gem::Requirement
|
94
|
-
requirements:
|
95
|
-
- - "~>"
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version: '10.0'
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
|
-
name: minitest
|
100
|
-
requirement: !ruby/object:Gem::Requirement
|
101
69
|
requirements:
|
102
70
|
- - "~>"
|
103
71
|
- !ruby/object:Gem::Version
|
104
72
|
version: '5.0'
|
105
|
-
|
106
|
-
prerelease: false
|
107
|
-
version_requirements: !ruby/object:Gem::Requirement
|
108
|
-
requirements:
|
109
|
-
- - "~>"
|
73
|
+
- - ">="
|
110
74
|
- !ruby/object:Gem::Version
|
111
|
-
version:
|
75
|
+
version: 5.0.1
|
112
76
|
- !ruby/object:Gem::Dependency
|
113
77
|
name: blade
|
114
78
|
requirement: !ruby/object:Gem::Requirement
|
@@ -147,19 +111,9 @@ executables: []
|
|
147
111
|
extensions: []
|
148
112
|
extra_rdoc_files: []
|
149
113
|
files:
|
150
|
-
- ".DS_Store"
|
151
|
-
- ".blade.yml"
|
152
|
-
- ".gitignore"
|
153
|
-
- ".travis.yml"
|
154
|
-
- CODE_OF_CONDUCT.md
|
155
|
-
- Gemfile
|
156
114
|
- LICENSE
|
157
115
|
- README.md
|
158
116
|
- Rakefile
|
159
|
-
- bin/console
|
160
|
-
- bin/setup
|
161
|
-
- dist/tao.css
|
162
|
-
- dist/tao.js
|
163
117
|
- lib/assets/javascripts/i18n.js
|
164
118
|
- lib/assets/javascripts/tao.coffee
|
165
119
|
- lib/assets/javascripts/tao/application.coffee
|
@@ -170,15 +124,58 @@ files:
|
|
170
124
|
- lib/assets/javascripts/tao/page.coffee
|
171
125
|
- lib/assets/stylesheets/tao.scss
|
172
126
|
- lib/assets/stylesheets/tao/icons.scss
|
127
|
+
- lib/generators/tao/assets/USAGE
|
128
|
+
- lib/generators/tao/assets/assets_generator.rb
|
129
|
+
- lib/generators/tao/channel/USAGE
|
130
|
+
- lib/generators/tao/channel/channel_generator.rb
|
131
|
+
- lib/generators/tao/channel/templates/channel.coffee.erb
|
132
|
+
- lib/generators/tao/channel/templates/channel.rb.erb
|
133
|
+
- lib/generators/tao/coffee/USAGE
|
134
|
+
- lib/generators/tao/coffee/coffee_generator.rb
|
135
|
+
- lib/generators/tao/coffee/templates/coffee.erb
|
136
|
+
- lib/generators/tao/controller/USAGE
|
137
|
+
- lib/generators/tao/controller/controller_generator.rb
|
138
|
+
- lib/generators/tao/controller/templates/controller.rb.erb
|
139
|
+
- lib/generators/tao/locale/USAGE
|
140
|
+
- lib/generators/tao/locale/locale_generator.rb
|
141
|
+
- lib/generators/tao/locale/templates/model.yml.erb
|
142
|
+
- lib/generators/tao/sass/USAGE
|
143
|
+
- lib/generators/tao/sass/sass_generator.rb
|
144
|
+
- lib/generators/tao/sass/templates/sass.erb
|
145
|
+
- lib/generators/tao/scaffold/USAGE
|
146
|
+
- lib/generators/tao/scaffold/scaffold_generator.rb
|
147
|
+
- lib/generators/tao/view/USAGE
|
148
|
+
- lib/generators/tao/view/templates/create.js.coffee
|
149
|
+
- lib/generators/tao/view/templates/destroy.js.coffee
|
150
|
+
- lib/generators/tao/view/templates/edit.html.erb
|
151
|
+
- lib/generators/tao/view/templates/index.html.erb
|
152
|
+
- lib/generators/tao/view/templates/new.html.erb
|
153
|
+
- lib/generators/tao/view/templates/show.html.erb
|
154
|
+
- lib/generators/tao/view/templates/update.js.coffee
|
155
|
+
- lib/generators/tao/view/view_generator.rb
|
173
156
|
- lib/tao_on_rails.rb
|
174
|
-
- lib/tao_on_rails/
|
175
|
-
- lib/tao_on_rails/
|
176
|
-
- lib/
|
177
|
-
- lib/
|
178
|
-
- lib/
|
179
|
-
-
|
180
|
-
-
|
181
|
-
-
|
157
|
+
- lib/tao_on_rails/engine.rb
|
158
|
+
- lib/tao_on_rails/version.rb
|
159
|
+
- lib/tasks/icons.rake
|
160
|
+
- lib/templates/app/app_template.rb
|
161
|
+
- lib/templates/app/templates/app/assets/javascripts/application.coffee
|
162
|
+
- lib/templates/app/templates/app/assets/javascripts/home/index_page.coffee
|
163
|
+
- lib/templates/app/templates/app/assets/stylesheets/application.scss
|
164
|
+
- lib/templates/app/templates/app/assets/stylesheets/home/index_page.scss
|
165
|
+
- lib/templates/app/templates/app/controllers/home_controller.rb
|
166
|
+
- lib/templates/app/templates/app/helpers/application_helper.rb
|
167
|
+
- lib/templates/app/templates/app/views/home/index.html.erb
|
168
|
+
- lib/templates/app/templates/app/views/layouts/application.html.erb
|
169
|
+
- lib/templates/plugin/plugin_template.rb
|
170
|
+
- lib/templates/plugin/templates/Rakefile
|
171
|
+
- lib/templates/plugin/templates/index.html
|
172
|
+
- lib/templates/plugin/templates/lib/assets/javascripts/plugin_name.coffee
|
173
|
+
- lib/templates/plugin/templates/lib/assets/stylesheets/plugin_name.scss
|
174
|
+
- lib/templates/plugin/templates/lib/plugin_name/engine.rb
|
175
|
+
- lib/templates/plugin/templates/plugin_name.gemspec
|
176
|
+
- lib/templates/plugin/templates/test/javascripts/plugin_name_test.coffee
|
177
|
+
- lib/templates/plugin/templates/test/plugin_name_test.rb
|
178
|
+
- lib/templates/plugin/templates/test/test_helper.rb
|
182
179
|
- vendor/assets/javascripts/polyfills/custom-elements.js
|
183
180
|
- vendor/assets/javascripts/polyfills/es6.js
|
184
181
|
- vendor/assets/javascripts/polyfills/native-shim.coffee
|
data/.DS_Store
DELETED
Binary file
|
data/.blade.yml
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
load_paths:
|
2
|
-
- lib/assets/javascripts
|
3
|
-
- lib/assets/stylesheets
|
4
|
-
- vendor/assets/javascripts
|
5
|
-
- vendor/assets/stylesheets
|
6
|
-
- test/javascripts/
|
7
|
-
- turbolinks-source: lib/assets/javascripts
|
8
|
-
- jquery-rails: vendor/assets/javascripts
|
9
|
-
- lodash-rails: vendor/assets/javascripts
|
10
|
-
|
11
|
-
logical_paths:
|
12
|
-
- tao.css
|
13
|
-
- tao.js
|
14
|
-
- tao_test.js
|
15
|
-
|
16
|
-
build:
|
17
|
-
logical_paths:
|
18
|
-
- tao.js
|
19
|
-
- tao.css
|
20
|
-
path: dist
|
21
|
-
|
22
|
-
plugins:
|
23
|
-
sauce_labs:
|
24
|
-
tunnel_timeout: 120
|
25
|
-
browsers:
|
26
|
-
Google Chrome:
|
27
|
-
os: Mac, Windows
|
28
|
-
version: -1
|
29
|
-
Firefox:
|
30
|
-
os: Mac, Windows
|
31
|
-
version: -1
|
32
|
-
Safari:
|
33
|
-
platform: Mac
|
34
|
-
version: -1
|
35
|
-
iPhone:
|
36
|
-
version: [9.3]
|
37
|
-
Motorola Droid 4 Emulator:
|
38
|
-
version: [5.1, 4.4]
|
data/.gitignore
DELETED
data/.travis.yml
DELETED
data/CODE_OF_CONDUCT.md
DELETED
@@ -1,74 +0,0 @@
|
|
1
|
-
# Contributor Covenant Code of Conduct
|
2
|
-
|
3
|
-
## Our Pledge
|
4
|
-
|
5
|
-
In the interest of fostering an open and welcoming environment, we as
|
6
|
-
contributors and maintainers pledge to making participation in our project and
|
7
|
-
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
-
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
-
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
-
orientation.
|
11
|
-
|
12
|
-
## Our Standards
|
13
|
-
|
14
|
-
Examples of behavior that contributes to creating a positive environment
|
15
|
-
include:
|
16
|
-
|
17
|
-
* Using welcoming and inclusive language
|
18
|
-
* Being respectful of differing viewpoints and experiences
|
19
|
-
* Gracefully accepting constructive criticism
|
20
|
-
* Focusing on what is best for the community
|
21
|
-
* Showing empathy towards other community members
|
22
|
-
|
23
|
-
Examples of unacceptable behavior by participants include:
|
24
|
-
|
25
|
-
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
-
advances
|
27
|
-
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
-
* Public or private harassment
|
29
|
-
* Publishing others' private information, such as a physical or electronic
|
30
|
-
address, without explicit permission
|
31
|
-
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
-
professional setting
|
33
|
-
|
34
|
-
## Our Responsibilities
|
35
|
-
|
36
|
-
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
-
behavior and are expected to take appropriate and fair corrective action in
|
38
|
-
response to any instances of unacceptable behavior.
|
39
|
-
|
40
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
-
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
-
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
-
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
-
threatening, offensive, or harmful.
|
45
|
-
|
46
|
-
## Scope
|
47
|
-
|
48
|
-
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
-
when an individual is representing the project or its community. Examples of
|
50
|
-
representing a project or community include using an official project e-mail
|
51
|
-
address, posting via an official social media account, or acting as an appointed
|
52
|
-
representative at an online or offline event. Representation of a project may be
|
53
|
-
further defined and clarified by project maintainers.
|
54
|
-
|
55
|
-
## Enforcement
|
56
|
-
|
57
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
-
reported by contacting the project team at poshboytl@gmail.com. All
|
59
|
-
complaints will be reviewed and investigated and will result in a response that
|
60
|
-
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
-
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
-
Further details of specific enforcement policies may be posted separately.
|
63
|
-
|
64
|
-
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
-
faith may face temporary or permanent repercussions as determined by other
|
66
|
-
members of the project's leadership.
|
67
|
-
|
68
|
-
## Attribution
|
69
|
-
|
70
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
-
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
-
|
73
|
-
[homepage]: http://contributor-covenant.org
|
74
|
-
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
DELETED
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "tao_on_rails"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start
|