without-rails 1.2.0 → 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 548e210d7d606296b9208b792bae9ce3614c8b0b
4
- data.tar.gz: 32c94376ce3ad66a491d0605f8c2fcafaa069b99
3
+ metadata.gz: 58fbae34e1610b713e5311b29cb495f04e9d43d3
4
+ data.tar.gz: 7d036d29029167bd2fd8526c98c6ebb88babb986
5
5
  SHA512:
6
- metadata.gz: 828a49e20c7afc8d4e53860b68254a3f456f2f79bd49daa81274bdfaa51ab55f44fa97f4a049608e61adab15b36fec8348becdd869d95b3d7c2fa8a5ac6dd532
7
- data.tar.gz: 14ce67f2979e5c55dd2596defd1f72333e79edc9501b64b4a1e389b06b92ea5037bb2013a20c6251f5a9577a9baa303dabae18e1fd96ac25c15873b2eb1b96f0
6
+ metadata.gz: 93f14933f50efa66779a8a42002640668041f45346b2b0c47e5a98a62f3b9f1037288086ec6feb3f0ba5e644580257f6e0641502e9663f690c2994a5ad4eb17c
7
+ data.tar.gz: 56ad07b62f9ee151d4251e91475323a2871ca74b711370a984f5fd978f129c0e95f553e27a3a525606bd416f600d26627c454dc540bbb8b492d3de88e69738ee
@@ -1,5 +1,5 @@
1
- module Without
2
- module Rails
3
- VERSION = "1.2.0"
4
- end
5
- end
1
+ module Without
2
+ module Rails
3
+ VERSION = "1.2.1"
4
+ end
5
+ end
@@ -1,5 +1,5 @@
1
1
  //
2
- // without.js v1.2.0: Yet another CoffeScript template (without `with`, coffescript and templates)
2
+ // without.js v1.2.1: Yet another CoffeScript template (without `with`, coffescript and templates)
3
3
  // https://github.com/ukoloff/without
4
4
  //
5
5
  !function(){
@@ -35,7 +35,8 @@ function coffeeScript(a)
35
35
  {
36
36
  if(1 != a.length || 'function' != typeof a[0])
37
37
  throw SyntaxError('Usage: coffeescript -> code')
38
- html += '<script><!--\n(' + a[0].toString() + ')()\n//-->\n</script>';
38
+ html += '<script><!--\n(' + a[0].toString() + ')()\n//-->\n</'
39
+ html += 'script>'
39
40
  }
40
41
  function makeComment()
41
42
  {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: without-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stas Ukolov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-31 00:00:00.000000000 Z
11
+ date: 2017-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -59,16 +59,10 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - ".gitignore"
63
- - Gemfile
64
- - LICENSE.txt
65
- - README.md
66
- - Rakefile
67
62
  - lib/without/rails.rb
68
63
  - lib/without/rails/version.rb
69
64
  - vendor/assets/javascripts/without.js
70
- - without-rails.gemspec
71
- homepage: https://github.com/ukoloff/without-rails
65
+ homepage: https://github.com/ukoloff/without/tree/master/rails
72
66
  licenses:
73
67
  - MIT
74
68
  metadata: {}
data/.gitignore DELETED
@@ -1,17 +0,0 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in without-rails.gemspec
4
- gemspec
data/LICENSE.txt DELETED
@@ -1,22 +0,0 @@
1
- Copyright (c) 2014 Stas Ukolov
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md DELETED
@@ -1,50 +0,0 @@
1
- # Without::Rails
2
-
3
- [![Gem Version](https://badge.fury.io/rb/without-rails.svg)](http://badge.fury.io/rb/without-rails)
4
-
5
- without-rails wraps [withOut](https://github.com/ukoloff/without)
6
- template engine for simple use with rails asset pipeline.
7
- The gem includes the development (non-minified) source
8
- for ease of exploration.
9
- The asset pipeline will minify in production.
10
-
11
- ## Installation
12
-
13
- Add this line to your application's Gemfile:
14
-
15
- gem 'without-rails'
16
-
17
- And then execute:
18
-
19
- $ bundle
20
-
21
- Or install it yourself as:
22
-
23
- $ gem install without-rails
24
-
25
- ## Usage
26
-
27
- Add the following directive to your Javascript manifest file
28
- (application.js):
29
-
30
-
31
- ```js
32
- //= require without
33
- ```
34
-
35
- or to some .coffee file:
36
-
37
-
38
- ```coffee
39
- #= require without
40
- ```
41
-
42
- Later, inside any .coffee you can:
43
-
44
- ```coffee
45
- t = withOut ->
46
- h1 'Hello, ', @, '!'
47
-
48
- $('#test').html t 'world' # <h1>Hello, world!</h1>
49
-
50
- ```
data/Rakefile DELETED
@@ -1 +0,0 @@
1
- require "bundler/gem_tasks"
@@ -1,23 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'without/rails/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = "without-rails"
8
- spec.version = Without::Rails::VERSION
9
- spec.authors = ["Stas Ukolov"]
10
- spec.email = ["ukoloff@gmail.com"]
11
- spec.description = "Use withOut with Rails"
12
- spec.summary = "This gem provides withOut template engine for Rails application"
13
- spec.homepage = "https://github.com/ukoloff/without-rails"
14
- spec.license = "MIT"
15
-
16
- spec.files = `git ls-files`.split($/)
17
- spec.require_paths = ["lib"]
18
-
19
- spec.add_dependency "railties"
20
-
21
- spec.add_development_dependency "bundler", "~> 1.3"
22
- spec.add_development_dependency "rake"
23
- end