tao_on_rails 0.1.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: 2b59124fa26b5e654fb672ef1fc59beee2a8b1aa
4
+ data.tar.gz: d1ecab0813707fb29fce18a95fa4304395551dd4
5
+ SHA512:
6
+ metadata.gz: 7d052ab6fa7224f82e04bcad380a1e7298669c91a968f2598112bb04758cb9e4c359bc85f72cb8a89dba74219128bf611533233582cc9a12d75287c844296727
7
+ data.tar.gz: 71089fae4c210927397d969e9ccc88192d84b17b62610ac25727b8c2829cf1d392e493e093bc3e60369b26b2ef9911006c41dbe1961c3818debb3134fc62a999
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.gem
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.1
5
+ before_install: gem install bundler -v 1.13.1
@@ -0,0 +1,74 @@
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 ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in tao_on_rails.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Terry Tai
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
13
+ all 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
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,44 @@
1
+ # TaoOnRails
2
+
3
+ Tao On Rails is the missing way to structure your frontend on [Ruby on Rails](http://rubyonrails.org/).
4
+
5
+ Tao On Rails is designed and developed by [Siyuan Liu](https://github.com/farthinker).
6
+
7
+ It's originally built for [Zhiren project](https://zhirenhr.com/) and extracted to gem by [Terry Tai](https://twitter.com/poshboytl).
8
+
9
+
10
+ ## Installation
11
+
12
+ Add this line to your application's Gemfile:
13
+
14
+ ```ruby
15
+ gem 'tao_on_rails'
16
+ ```
17
+
18
+ And then execute:
19
+
20
+ $ bundle
21
+
22
+ Or install it yourself as:
23
+
24
+ $ gem install tao_on_rails
25
+
26
+ ## Usage
27
+
28
+ TODO: Write usage instructions here
29
+
30
+ ## Development
31
+
32
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
33
+
34
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
35
+
36
+ ## Contributing
37
+
38
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/tao_on_rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
39
+
40
+
41
+ ## License
42
+
43
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
44
+
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
data/bin/console ADDED
@@ -0,0 +1,14 @@
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
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,8 @@
1
+ require 'jquery-rails'
2
+
3
+ module TaoOnRails
4
+ module Rails
5
+ class Engine < ::Rails::Engine
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,9 @@
1
+ module TaoOnRails
2
+ module Rails
3
+ class TaoTask < ::Rails::Railtie
4
+ rake_tasks do
5
+ Dir[File.join(File.dirname(__FILE__),'tasks/*.rake')].each { |f| load f }
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,5 @@
1
+ module TaoOnRails
2
+ module Rails
3
+ VERSION = "0.1.1"
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ require 'tao_on_rails/rails/engine'
2
+ require 'tao_on_rails/rails/railtie'
3
+ require 'tao_on_rails/rails/version'
@@ -0,0 +1,7 @@
1
+ require "tao_on_rails/rails"
2
+
3
+ module TaoOnRails
4
+ def self.root
5
+ File.dirname __dir__
6
+ end
7
+ end
@@ -0,0 +1,55 @@
1
+ namespace :tao do
2
+ namespace :svg_icons do
3
+ desc 'generate svg icons.'
4
+ task :generate => :environment do
5
+ Dir.mkdir "#{Rails.root}/vendor/assets/javascripts/tao"
6
+
7
+ File.open "#{Rails.root}/vendor/assets/javascripts/tao/icons.coffee", 'w' do |f|
8
+ f.puts %{tao.iconsHtml = '''#{svg_html}'''}
9
+ end
10
+ end
11
+
12
+ private
13
+
14
+ def svg_html
15
+ %{<svg id="tao-icons" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="display:none">\n#{symbols}</svg>}
16
+ end
17
+
18
+ def svg_files
19
+ @svg_files ||= Dir.glob(File.expand_path("#{::Rails.root}/app/assets/icons/*.svg")).uniq
20
+ end
21
+
22
+ def symbols
23
+ svg_files.map {|file| " #{symbol(file)}\n"}.join
24
+ end
25
+
26
+ def symbol(path)
27
+ name = File.basename(path, ".*").underscore().dasherize()
28
+ content = File.read(path)
29
+ content.gsub(/<?.+\?>/,'')
30
+ .gsub(/<!.+?>/,'')
31
+ .gsub(/<title>.*<\/title>/, '')
32
+ .gsub(/<desc>.*<\/desc>/, '')
33
+ .gsub(/id=/,'class=')
34
+ .gsub(/<svg.+?>/, %Q{<svg id="icon-#{name}" #{dimensions(content)}>})
35
+ .gsub(/svg/,'symbol')
36
+ .gsub(/\n/, '') # Remove endlines
37
+ .gsub(/\s{2,}/, ' ') # Remove whitespace
38
+ .gsub(/>\s+</, '><') # Remove whitespace between tags
39
+ end
40
+
41
+ def dimensions(content)
42
+ dimension = content.scan(/<svg.+(viewBox=["'](.+?)["'])/).flatten
43
+ viewbox = dimension.first
44
+ #coords = dimension.last.split(' ')
45
+
46
+ #width = coords[2].to_i - coords[0].to_i
47
+ #height = coords[3].to_i - coords[1].to_i
48
+ #hack android svg
49
+ width = '100%'
50
+ height = '100%'
51
+ %Q{#{viewbox} width="#{width}" height="#{height}"}
52
+ end
53
+ end
54
+
55
+ end
@@ -0,0 +1,35 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'tao_on_rails/rails/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "tao_on_rails"
8
+ spec.version = TaoOnRails::Rails::VERSION
9
+ spec.authors = ["Siyuan Liu", "Terry Tai"]
10
+ spec.email = ["farthinker@mycolorway.com", "t@mycolorway.com"]
11
+
12
+ spec.summary = %q{The missing frontend solucation for Rails project}
13
+ spec.description = %q{The missing frontend solucation for Rails project}
14
+ spec.homepage = "https://github.com/mycolorway/tao_on_rails"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
+ f.match(%r{^(test|spec|features)/})
19
+ end
20
+ spec.bindir = "exe"
21
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
+ spec.require_paths = ["lib"]
23
+
24
+ spec.add_dependency "rails", "~> 5.0"
25
+ spec.add_dependency "jquery-rails", "~> 4.2"
26
+ spec.add_dependency "lodash-rails", "~> 4.16"
27
+ spec.add_dependency "normalize-rails", "~> 4.1"
28
+ spec.add_dependency "turbolinks", "~> 5.0"
29
+ spec.add_dependency "i18n-js", "~> 3.0.0.rc14"
30
+ spec.add_dependency "gon", "~> 6.0"
31
+
32
+ spec.add_development_dependency "bundler", "~> 1.13"
33
+ spec.add_development_dependency "rake", "~> 10.0"
34
+ spec.add_development_dependency "rspec", "~> 3.0"
35
+ end
@@ -0,0 +1,69 @@
1
+ #= require ./module
2
+
3
+ class TaoApplication extends TaoModule
4
+
5
+ _init: ->
6
+ @_initGon()
7
+ @_initI18n()
8
+ @_initUjs()
9
+ @_bind()
10
+
11
+ _initGon: ->
12
+ $.extend @, window.gon
13
+ window.gon = null
14
+
15
+ _initUjs: ->
16
+ $(document).on "ajax:before", 'a[data-remote]', ->
17
+ $link = $ @
18
+ return false if $link.hasClass('disabled')
19
+ $link.addClass 'disabled'
20
+ .on "ajax:complete", 'a[data-remote]', ->
21
+ $(@).removeClass 'disabled'
22
+
23
+ _initI18n: ->
24
+ I18n.locale = @locale
25
+
26
+ _initIcons: ($page) ->
27
+ $icons = $page.siblings('#tao-icons')
28
+ unless $icons.length > 0
29
+ $page[0].insertAdjacentHTML('beforebegin', tao.iconsHtml || '')
30
+
31
+ _initPage: ($page) ->
32
+ window.currentPage = @currentPage = $page[0]
33
+
34
+ _bind: ->
35
+ $(document).on 'turbolinks:before-visit', (e) =>
36
+ if @currentPage.trigger('before-leave') == false
37
+ e.preventDefault()
38
+ return
39
+
40
+ @trigger 'before-page-visit', [e.originalEvent?.data.url]
41
+
42
+ .on 'turbolinks:request-start', (e) =>
43
+ @trigger 'page-request-start', [e.originalEvent?.data.xhr]
44
+
45
+ .on 'turbolinks:visit', (e) =>
46
+ @trigger 'page-visit', [e.originalEvent?.data.url]
47
+
48
+ .on 'turbolinks:before-cache', (e) =>
49
+ @currentPage.trigger 'before-cache'
50
+ @trigger 'before-page-cache', [@currentPage]
51
+ window.currentPage = @currentPage = null
52
+
53
+ .on 'turbolinks:request-end', (e) =>
54
+ @trigger 'page-request-end', [e.originalEvent?.data.xhr]
55
+
56
+ .on 'turbolinks:before-render', (e) =>
57
+ @trigger 'before-page-render', [$ e.originalEvent?.data.newBody]
58
+
59
+ .on 'turbolinks:render', (e) =>
60
+ @trigger 'page-render', [$('body > .page')]
61
+
62
+ .on 'turbolinks:load', (e) =>
63
+ $page = $ 'body > .page'
64
+ return unless $page.length > 0
65
+ @_initIcons $page
66
+ @_initPage $page
67
+ @trigger 'page-load', [@currentPage]
68
+
69
+ window.TaoApplication = TaoApplication
@@ -0,0 +1,70 @@
1
+ #= require lodash
2
+
3
+ components = {}
4
+
5
+ TaoComponentBasedOn = (superClass = 'HTMLElement') ->
6
+ return components[superClass] if components[superClass]
7
+
8
+ class components[superClass] extends window[superClass]
9
+
10
+ @extend: (obj) ->
11
+ unless obj and typeof obj == 'object'
12
+ throw new Error('TaoComponent.extend: param should be an object')
13
+
14
+ for key, val of obj when key not in ['included', 'extended']
15
+ @[key] = val
16
+
17
+ obj.extended?.call(@)
18
+ @
19
+
20
+ @include: (obj) ->
21
+ unless obj and typeof obj == 'object'
22
+ throw new Error('TaoComponent.include: param should be an object')
23
+
24
+ for key, val of obj when key not in ['included', 'extended']
25
+ @::[key] = val
26
+
27
+ obj.included?.call(@)
28
+ @
29
+
30
+ @get: (propertyName, getMethod) ->
31
+ Object.defineProperty @prototype, propertyName,
32
+ get: getMethod
33
+ configurable: true
34
+
35
+ @set: (propertyName, setMethod) ->
36
+ Object.defineProperty @prototype, propertyName,
37
+ set: setMethod
38
+ configurable: true
39
+
40
+ @property: (name, observed) ->
41
+ attrName = _.kebabCase(name)
42
+ @get name, -> @getAttribute attrName
43
+ @set name, (val) ->
44
+ if val == true
45
+ @setAttribute attrName, ''
46
+ else if val == false
47
+ @setAttribute attrName, val
48
+ else
49
+ @removeAttribute attrName
50
+ @observedAttributes.push(attrName) if observed
51
+
52
+ @observedAttributes: []
53
+
54
+ connectedCallback: ->
55
+ @_init()
56
+
57
+ disconnectedCallback: ->
58
+ @_destroy()
59
+
60
+ attributeChangedCallback: (attrName, oldValue, newValue) ->
61
+ @["#{_.camelCase attrName}Changed"]?(newValue, oldValue)
62
+
63
+ _init: ->
64
+ # to be implemented
65
+
66
+ _destory: ->
67
+ # to be implemented
68
+
69
+ window.TaoComponentBasedOn = TaoComponentBasedOn
70
+ window.TaoComponent = TaoComponentBasedOn 'HTMLElement'
@@ -0,0 +1,10 @@
1
+
2
+ window.tao.helpers =
3
+
4
+ reflow: (el) ->
5
+ $(el)[0].offsetHeight
6
+
7
+ icon: (name, attributes={}) ->
8
+ $("<svg><use xlink:href=\"#icon-#{name}\"/></svg>")
9
+ .attr attributes
10
+ .addClass "icon icon-#{name}"
@@ -0,0 +1,3 @@
1
+ #= require qing-module
2
+
3
+ window.TaoModule = QingModule
@@ -0,0 +1,13 @@
1
+ #= require ./component
2
+
3
+ class TaoPage extends TaoComponent
4
+
5
+ @property 'layout'
6
+
7
+ _init: ->
8
+ # to be implemented
9
+
10
+ _destroy: ->
11
+ # to be implemented
12
+
13
+ window.TaoPage = TaoPage
@@ -0,0 +1,10 @@
1
+ #= require turbolinks
2
+ #= require jquery3
3
+ #= require jquery_ujs
4
+ #= require lodash
5
+ #= require i18n
6
+
7
+ #= require_self
8
+ #= require_tree ./tao
9
+
10
+ window.tao = {}
@@ -0,0 +1,27 @@
1
+ @import 'base';
2
+
3
+ @keyframes spin {
4
+ from { transform:rotate(0deg); }
5
+ to { transform:rotate(360deg); }
6
+ }
7
+
8
+ #tao-icons {
9
+ symbol {
10
+ .zhiren_icon,
11
+ .Main {
12
+ fill: inherit;
13
+ }
14
+ }
15
+ }
16
+
17
+ .icon {
18
+ display: inline-block;
19
+ width: 24px;
20
+ height: 24px;
21
+ vertical-align: middle;
22
+ fill: $color-light-text;
23
+
24
+ &.spin {
25
+ animation: spin 1s infinite linear;
26
+ }
27
+ }
@@ -0,0 +1,5 @@
1
+ /*
2
+ *= require normalize-rails
3
+ *= require_tree ./tao
4
+ *
5
+ */
metadata ADDED
@@ -0,0 +1,211 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tao_on_rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Siyuan Liu
8
+ - Terry Tai
9
+ autorequire:
10
+ bindir: exe
11
+ cert_chain: []
12
+ date: 2016-12-01 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '5.0'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '5.0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: jquery-rails
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '4.2'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '4.2'
42
+ - !ruby/object:Gem::Dependency
43
+ name: lodash-rails
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '4.16'
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '4.16'
56
+ - !ruby/object:Gem::Dependency
57
+ name: normalize-rails
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '4.1'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '4.1'
70
+ - !ruby/object:Gem::Dependency
71
+ name: turbolinks
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '5.0'
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '5.0'
84
+ - !ruby/object:Gem::Dependency
85
+ name: i18n-js
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: 3.0.0.rc14
91
+ type: :runtime
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: 3.0.0.rc14
98
+ - !ruby/object:Gem::Dependency
99
+ name: gon
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - "~>"
103
+ - !ruby/object:Gem::Version
104
+ version: '6.0'
105
+ type: :runtime
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: '6.0'
112
+ - !ruby/object:Gem::Dependency
113
+ name: bundler
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - "~>"
117
+ - !ruby/object:Gem::Version
118
+ version: '1.13'
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - "~>"
124
+ - !ruby/object:Gem::Version
125
+ version: '1.13'
126
+ - !ruby/object:Gem::Dependency
127
+ name: rake
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - "~>"
131
+ - !ruby/object:Gem::Version
132
+ version: '10.0'
133
+ type: :development
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - "~>"
138
+ - !ruby/object:Gem::Version
139
+ version: '10.0'
140
+ - !ruby/object:Gem::Dependency
141
+ name: rspec
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - "~>"
145
+ - !ruby/object:Gem::Version
146
+ version: '3.0'
147
+ type: :development
148
+ prerelease: false
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - "~>"
152
+ - !ruby/object:Gem::Version
153
+ version: '3.0'
154
+ description: The missing frontend solucation for Rails project
155
+ email:
156
+ - farthinker@mycolorway.com
157
+ - t@mycolorway.com
158
+ executables: []
159
+ extensions: []
160
+ extra_rdoc_files: []
161
+ files:
162
+ - ".gitignore"
163
+ - ".rspec"
164
+ - ".travis.yml"
165
+ - CODE_OF_CONDUCT.md
166
+ - Gemfile
167
+ - LICENSE.txt
168
+ - README.md
169
+ - Rakefile
170
+ - bin/console
171
+ - bin/setup
172
+ - lib/tao_on_rails.rb
173
+ - lib/tao_on_rails/rails.rb
174
+ - lib/tao_on_rails/rails/engine.rb
175
+ - lib/tao_on_rails/rails/railtie.rb
176
+ - lib/tao_on_rails/rails/version.rb
177
+ - lib/tasks/tao_icons.rake
178
+ - tao_on_rails.gemspec
179
+ - vendor/assets/javascripts/tao.coffee
180
+ - vendor/assets/javascripts/tao/application.coffee
181
+ - vendor/assets/javascripts/tao/component.coffee
182
+ - vendor/assets/javascripts/tao/helpers.coffee
183
+ - vendor/assets/javascripts/tao/module.coffee
184
+ - vendor/assets/javascripts/tao/page.coffee
185
+ - vendor/assets/stylesheets/tao.scss
186
+ - vendor/assets/stylesheets/tao/icons.scss
187
+ homepage: https://github.com/mycolorway/tao_on_rails
188
+ licenses:
189
+ - MIT
190
+ metadata: {}
191
+ post_install_message:
192
+ rdoc_options: []
193
+ require_paths:
194
+ - lib
195
+ required_ruby_version: !ruby/object:Gem::Requirement
196
+ requirements:
197
+ - - ">="
198
+ - !ruby/object:Gem::Version
199
+ version: '0'
200
+ required_rubygems_version: !ruby/object:Gem::Requirement
201
+ requirements:
202
+ - - ">="
203
+ - !ruby/object:Gem::Version
204
+ version: '0'
205
+ requirements: []
206
+ rubyforge_project:
207
+ rubygems_version: 2.5.1
208
+ signing_key:
209
+ specification_version: 4
210
+ summary: The missing frontend solucation for Rails project
211
+ test_files: []