transponder 0.8.2 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b6ecc211a87d26097124c4deb9fca3a54b9802d
4
- data.tar.gz: c1310ab65def550c21d6346ab4f1537f1c713495
3
+ metadata.gz: 563d819be36e9c1c35a7fae6f12ac0ce3c95e867
4
+ data.tar.gz: 3c7d6085ab5d2383c9b744666637f407d09d9cfa
5
5
  SHA512:
6
- metadata.gz: 7e1127e6d84815975c27ca5eb1d116862cc1febeba5d9d05e01d753b8e849c82e006f1f65311e99b3db4a2306b4a1d84edad7152da840518039a6265fd6f2ea0
7
- data.tar.gz: f89992d48a3389476f527e7a3672d991d85655729e04fd79383ae90d15e6227bdd9f604fc2aded16241ca59872b3967fadac90c6db58938dfc6e0f9fd3adf6d9
6
+ metadata.gz: 2848c923e5b7d4fcf94016def76a683df4c1b7416652c75e00a343e798fb9f941d79c8c18657824a0bc8055f0e1537befce67374072412230a6425b5a9c84ce8
7
+ data.tar.gz: 0be3c547595dbd498d9d0620b81650e889d90602a0ed81ac29bc1b903450bf35543ad5300b08dd5a0437091ffaed632d669403222e90df42dd10f95addd37d71
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2013 Artellectual
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ 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, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -5,6 +5,8 @@
5
5
 
6
6
  Transponder is a opinionated javascript library for assisting in working with front end heavy rails app.
7
7
 
8
+ Transponder uncompressed is about 8kb minified & compressed (gzip) its 2kb
9
+
8
10
  ## Installation
9
11
 
10
12
  Add this line to your application's Gemfile:
@@ -84,3 +86,6 @@ Services are very modular and they can be applied to multiple widgets in a page
84
86
  4. Push to the branch (`git push origin my-new-feature`)
85
87
  5. Create new Pull Request
86
88
 
89
+ ## Credits
90
+ Gem developed by [Zack Siri](http://github.com/zacksiri) of [Artellectual](http://www.artellectual.com)
91
+
@@ -19,11 +19,11 @@ module Transponder
19
19
  end
20
20
 
21
21
  def add_shared
22
- template "#{options[:type]}_shared.coffee", "app/assets/javascripts/#{file_name}/#{file_name}.coffee" if options[:shared]
22
+ template "#{options[:type]}_shared.coffee", "app/assets/javascripts/#{file_name}/loader.coffee"
23
23
  end
24
24
 
25
25
  def add_module_file
26
- template "#{options[:type]}.coffee", "app/assets/javascripts/#{file_name}.coffee" unless options[:shared]
26
+ template "application.coffee", "app/assets/javascripts/#{file_name}.coffee" unless options[:shared]
27
27
  end
28
28
  end
29
29
  end
@@ -0,0 +1,8 @@
1
+ # this is where you require all the files
2
+ #= require jquery
3
+ #= require jquery_ujs
4
+ #= require turbolinks
5
+ #= require transponder
6
+
7
+ # this part boots up the transponder module
8
+ #= require <%= file_name %>/loader
@@ -1,6 +1,6 @@
1
- #= require initializers/setup
1
+ #= require ./initializers/setup
2
2
  #= require_tree ./services
3
3
  #= require_tree ./helpers
4
4
  #= require_tree ./presenters
5
- #= require initializers/boot
6
- #= require initializers/manifest
5
+ #= require ./initializers/boot
6
+ #= require ./initializers/manifest
@@ -1,4 +1,4 @@
1
- #= require initializers/setup
1
+ #= require ./initializers/setup
2
2
  #= require_tree ./templates
3
3
  #= require_tree ./models
4
4
  #= require_tree ./collections
@@ -6,5 +6,5 @@
6
6
  #= require_tree ./services
7
7
  #= require_tree ./helpers
8
8
  #= require_tree ./presenters
9
- #= require initializers/boot
10
- #= require initializers/manifest
9
+ #= require ./initializers/boot
10
+ #= require ./initializers/manifest
@@ -1,5 +1,5 @@
1
- #= require initializers/setup
1
+ #= require ./initializers/setup
2
2
  #= require_tree ./services
3
3
  #= require_tree ./helpers
4
- #= require initializers/boot
5
- #= require initializers/manifest
4
+ #= require ./initializers/boot
5
+ #= require ./initializers/manifest
data/lib/transponder.rb CHANGED
@@ -1,6 +1,16 @@
1
+ require 'rails'
2
+ require 'active_support'
3
+ require 'active_support/dependencies'
4
+ require 'active_support/concern'
5
+ require 'active_support/log_subscriber'
6
+
7
+ require 'action_view/asset_paths'
8
+ require 'action_view/helpers'
9
+ require 'action_view/context'
10
+ require 'action_view/base'
11
+
1
12
  require 'transponder/version'
2
13
  require 'transponder/transmission'
3
- require 'rails'
4
14
 
5
15
  module Transponder
6
16
  module ViewHelpers
@@ -16,7 +26,6 @@ module Transponder
16
26
  end
17
27
 
18
28
  class Engine < ::Rails::Engine
19
-
29
+ ActionView::Base.send :include, Transponder::ViewHelpers
20
30
  end
21
31
  end
22
- ActionView::Base.send :include, Transponder::ViewHelpers
@@ -1,3 +1,3 @@
1
1
  module Transponder
2
- VERSION = "0.8.2"
2
+ VERSION = "0.9.0"
3
3
  end
@@ -2,5 +2,5 @@
2
2
  # the following line to use "https"
3
3
  source 'http://rubygems.org'
4
4
 
5
- gem "middleman", "~>3.0.14"
5
+ gem 'middleman', '~> 3.2.0'
6
6
  gem "haml", "4.0.2"
@@ -1,105 +1,84 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- activesupport (3.2.13)
5
- i18n (= 0.6.1)
4
+ activesupport (3.2.15)
5
+ i18n (~> 0.6, >= 0.6.4)
6
6
  multi_json (~> 1.0)
7
- chunky_png (1.2.8)
7
+ chunky_png (1.2.9)
8
8
  coffee-script (2.2.0)
9
9
  coffee-script-source
10
10
  execjs
11
- coffee-script-source (1.3.3)
11
+ coffee-script-source (1.6.3)
12
12
  compass (0.12.2)
13
13
  chunky_png (~> 1.2)
14
14
  fssm (>= 0.2.7)
15
15
  sass (~> 3.1)
16
16
  execjs (1.4.0)
17
17
  multi_json (~> 1.0)
18
+ ffi (1.9.3)
18
19
  fssm (0.2.10)
19
20
  haml (4.0.2)
20
21
  tilt
21
- hike (1.2.2)
22
- http_router (0.10.2)
23
- rack (>= 1.0.0)
24
- url_mount (~> 0.2.1)
25
- i18n (0.6.1)
26
- listen (0.7.3)
27
- maruku (0.6.1)
28
- syntax (>= 1.0.0)
29
- middleman (3.0.14)
30
- middleman-core (= 3.0.14)
31
- middleman-more (= 3.0.14)
32
- middleman-sprockets (~> 3.1.0)
33
- middleman-core (3.0.14)
34
- activesupport (~> 3.2.6)
35
- bundler (~> 1.1)
36
- listen (~> 0.7.3)
37
- rack (~> 1.4.1)
38
- rack-test (~> 0.6.1)
39
- rb-fsevent (~> 0.9.3)
40
- thor (~> 0.15.4)
41
- tilt (~> 1.3.6)
42
- middleman-more (3.0.14)
22
+ hike (1.2.3)
23
+ i18n (0.6.5)
24
+ kramdown (1.2.0)
25
+ listen (1.3.1)
26
+ rb-fsevent (>= 0.9.3)
27
+ rb-inotify (>= 0.9)
28
+ rb-kqueue (>= 0.2)
29
+ middleman (3.2.0)
43
30
  coffee-script (~> 2.2.0)
44
- coffee-script-source (~> 1.3.3)
45
31
  compass (>= 0.12.2)
46
32
  execjs (~> 1.4.0)
47
33
  haml (>= 3.1.6)
48
- i18n (~> 0.6.0, < 0.6.2)
49
- maruku (~> 0.6.0)
50
- middleman-core (= 3.0.14)
51
- padrino-helpers (= 0.10.7)
34
+ kramdown (~> 1.2)
35
+ middleman-core (= 3.2.0)
36
+ middleman-sprockets (>= 3.1.2)
52
37
  sass (>= 3.1.20)
53
- uglifier (~> 1.2.6)
54
- middleman-sprockets (3.1.1)
55
- middleman-core (>= 3.0.14)
56
- padrino-helpers (= 0.10.7)
38
+ uglifier (~> 2.1.0)
39
+ middleman-core (3.2.0)
40
+ activesupport (~> 3.2.6)
41
+ bundler (~> 1.1)
42
+ i18n (~> 0.6.1)
43
+ listen (~> 1.1)
44
+ rack (>= 1.4.5)
45
+ rack-test (~> 0.6.1)
46
+ thor (>= 0.15.2, < 2.0)
47
+ tilt (~> 1.3.6)
48
+ middleman-sprockets (3.2.0)
49
+ middleman-core (~> 3.2)
57
50
  sprockets (~> 2.1)
58
51
  sprockets-helpers (~> 1.0.0)
59
52
  sprockets-sass (~> 1.0.0)
60
- multi_json (1.7.5)
61
- padrino-core (0.10.7)
62
- activesupport (~> 3.2.0)
63
- http_router (~> 0.10.2)
64
- sinatra (~> 1.3.1)
65
- thor (~> 0.15.2)
66
- tilt (~> 1.3.0)
67
- padrino-helpers (0.10.7)
68
- i18n (~> 0.6)
69
- padrino-core (= 0.10.7)
70
- rack (1.4.5)
71
- rack-protection (1.5.0)
72
- rack
53
+ multi_json (1.8.2)
54
+ rack (1.5.2)
73
55
  rack-test (0.6.2)
74
56
  rack (>= 1.0)
75
57
  rb-fsevent (0.9.3)
76
- sass (3.2.9)
77
- sinatra (1.3.6)
78
- rack (~> 1.4)
79
- rack-protection (~> 1.3)
80
- tilt (~> 1.3, >= 1.3.3)
81
- sprockets (2.10.0)
58
+ rb-inotify (0.9.2)
59
+ ffi (>= 0.5.0)
60
+ rb-kqueue (0.2.0)
61
+ ffi (>= 0.5.0)
62
+ sass (3.2.12)
63
+ sprockets (2.10.1)
82
64
  hike (~> 1.2)
83
65
  multi_json (~> 1.0)
84
66
  rack (~> 1.0)
85
67
  tilt (~> 1.1, != 1.3.0)
86
68
  sprockets-helpers (1.0.1)
87
69
  sprockets (~> 2.0)
88
- sprockets-sass (1.0.1)
70
+ sprockets-sass (1.0.2)
89
71
  sprockets (~> 2.0)
90
72
  tilt (~> 1.1)
91
- syntax (1.0.0)
92
- thor (0.15.4)
73
+ thor (0.18.1)
93
74
  tilt (1.3.7)
94
- uglifier (1.2.7)
75
+ uglifier (2.1.2)
95
76
  execjs (>= 0.3.0)
96
- multi_json (~> 1.3)
97
- url_mount (0.2.1)
98
- rack
77
+ multi_json (~> 1.0, >= 1.0.2)
99
78
 
100
79
  PLATFORMS
101
80
  ruby
102
81
 
103
82
  DEPENDENCIES
104
83
  haml (= 4.0.2)
105
- middleman (~> 3.0.14)
84
+ middleman (~> 3.2.0)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transponder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zack Siri
@@ -42,14 +42,13 @@ files:
42
42
  - lib/generators/transponder.rb
43
43
  - lib/generators/transponder/install/USAGE
44
44
  - lib/generators/transponder/install/install_generator.rb
45
- - lib/generators/transponder/install/templates/basic.coffee
45
+ - lib/generators/transponder/install/templates/application.coffee
46
46
  - lib/generators/transponder/install/templates/basic/helpers/.keep
47
47
  - lib/generators/transponder/install/templates/basic/initializers/boot.coffee
48
48
  - lib/generators/transponder/install/templates/basic/presenters/.keep
49
49
  - lib/generators/transponder/install/templates/basic/services/.keep
50
50
  - lib/generators/transponder/install/templates/basic_setup.coffee
51
51
  - lib/generators/transponder/install/templates/basic_shared.coffee
52
- - lib/generators/transponder/install/templates/full.coffee
53
52
  - lib/generators/transponder/install/templates/full/collections/.keep
54
53
  - lib/generators/transponder/install/templates/full/helpers/.keep
55
54
  - lib/generators/transponder/install/templates/full/initializers/boot.coffee
@@ -72,7 +71,7 @@ files:
72
71
  - lib/transponder/transmission.rb
73
72
  - lib/transponder/version.rb
74
73
  - README.md
75
- - LICENSE.txt
74
+ - LICENSE
76
75
  - test/javascripts/runner/config.rb
77
76
  - test/javascripts/runner/Gemfile
78
77
  - test/javascripts/runner/Gemfile.lock
data/LICENSE.txt DELETED
@@ -1,22 +0,0 @@
1
- Copyright (c) 2013 Zack Siri
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.
@@ -1,13 +0,0 @@
1
- # this is where you require all the files
2
- #= require jquery
3
- #= require jquery_ujs
4
- #= require turbolinks
5
- #= require transponder
6
-
7
- # this part boots up the transponder app
8
- #= require <%= file_name %>/initializers/setup
9
- #= require_tree ./<%= file_name %>/services
10
- #= require_tree ./<%= file_name %>/helpers
11
- #= require_tree ./<%= file_name %>/presenters
12
- #= require <%= file_name %>/initializers/boot
13
- #= require <%= file_name %>/initializers/manifest
@@ -1,17 +0,0 @@
1
- # this is where you require all the files
2
- #= require jquery
3
- #= require jquery_ujs
4
- #= require turbolinks
5
- #= require transponder
6
-
7
- # this part boots up the transponder app
8
- #= require <%= file_name %>/initializers/setup
9
- #= require_tree ./<%= file_name %>/templates
10
- #= require_tree ./<%= file_name %>/models
11
- #= require_tree ./<%= file_name %>/collections
12
- #= require_tree ./<%= file_name %>/views
13
- #= require_tree ./<%= file_name %>/services
14
- #= require_tree ./<%= file_name %>/helpers
15
- #= require_tree ./<%= file_name %>/presenters
16
- #= require <%= file_name %>/initializers/boot
17
- #= require <%= file_name %>/initializers/manifest