partystreusel 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZWFlNWI5OGMzNTUzMTAyNWIwMmI1MDk5NzZlZmE5YjllOGNkYTZlYw==
5
+ data.tar.gz: !binary |-
6
+ NWQwZTMyNjhiOTBkZWRhMzQzNDA2MzVmM2I4MTRlMDQ2MTI3MGFkYQ==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ MDQwNTZhMDc4MDRjNjRiNGViYzFiMDE4MjNmMGE0MWRkYTg1MmE2ZmRkMjA0
10
+ YTNiMTFkNzBiZTQyZTBjZWE4Y2U5MjUyZDg3MGQ1YmMwNzc4MjcwNTllMWE2
11
+ MjkwZjk5YjM3NjE3ZWZiZDI1NzkxZWY3MTY0OTIyNzE2ZDE5Mzc=
12
+ data.tar.gz: !binary |-
13
+ Y2NlNWUxYTdkYzk2NmI4YWZjZDQ2MGEyMTIzOTc1NjJhYmQ5ZGNlMWY0Nzlj
14
+ YTkzNmM5ZmRjZWQ5YzY4NDFmMDA0ODc5YmY1MzdhNTBiMWRhMzcwNmE2YTQw
15
+ MmM5NzlhMWI3NWJlOGE5ZmM1NTc0YmY0YjYxOTY3N2IzOTllZmQ=
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## v1.0.7
4
+ * Fixed issue which broke streusel when minified.
5
+
3
6
  ## v1.0.6
4
7
  * Make partystreusel loadable in middleman
5
8
 
data/Gemfile CHANGED
@@ -19,4 +19,5 @@ group :development, :test do
19
19
  gem 'jquery-rails'
20
20
  gem 'i18n-js'
21
21
  gem 'guard-jasmine'
22
+ gem 'guard-jslint-on-rails'
22
23
  end
data/Guardfile CHANGED
@@ -8,3 +8,13 @@ guard :jasmine, console: :always do
8
8
  watch(%r{app/assets/stylesheets/.+$})
9
9
  watch(%r{app/assets/javascripts/(.+?)\.(js\.coffee|js|coffee)(?:\.\w+)*$}) { |m| "spec/javascripts/#{ m[1] }_spec.#{ m[2] }" }
10
10
  end
11
+
12
+
13
+ # verify that application Javascript files are lintable
14
+ # see https://github.com/psionides/jslint_on_rails
15
+ guard 'jslint-on-rails' do
16
+ # watch for changes to application javascript files
17
+ watch(%r{^app/assets/javascripts/.*\.js$})
18
+ # watch for changes to the JSLint configuration
19
+ watch('config/jslint.yml')
20
+ end
@@ -1,9 +1,12 @@
1
1
  #= require partystreusel/namespace
2
2
  #= require partystreusel/ie_fixes
3
3
  class Partystreusel.Base
4
+ # you must override this class variable
5
+ # constructor.name does not work in minified js
6
+ @className = 'Base'
4
7
 
5
8
  @selector: ->
6
- "[data-streusel-#{@prototype.constructor.name.toLowerCase()}]"
9
+ "[data-streusel-#{@className.toLowerCase()}]"
7
10
 
8
11
  @init: (element = $('body')) ->
9
12
  element.find(@selector())
@@ -1,6 +1,7 @@
1
1
  #= require partystreusel/base
2
2
 
3
3
  class Readmore extends Partystreusel.Base
4
+ @className = 'Readmore'
4
5
 
5
6
  constructor: (el) ->
6
7
  super
@@ -1,3 +1,3 @@
1
1
  module Partystreusel
2
- VERSION = "1.0.6"
2
+ VERSION = "1.0.7"
3
3
  end
@@ -7,6 +7,8 @@ describe 'Base', ->
7
7
  @initSpy = initSpy
8
8
 
9
9
  class MyClass extends Streusel.Base
10
+ @className = 'MyClass'
11
+
10
12
  constructor: (el) ->
11
13
  initSpy()
12
14
  super(el)
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: partystreusel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
5
- prerelease:
4
+ version: 1.0.7
6
5
  platform: ruby
7
6
  authors:
8
7
  - Flavio Pellanda
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-06-30 00:00:00.000000000 Z
11
+ date: 2014-08-08 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: railties
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ! '>='
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ! '>='
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: i18n-js
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ! '>='
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ! '>='
44
39
  - !ruby/object:Gem::Version
@@ -86,27 +81,26 @@ files:
86
81
  - spec/javascripts/support/jasmine_helper.rb
87
82
  homepage: http://www.screenconcept.ch
88
83
  licenses: []
84
+ metadata: {}
89
85
  post_install_message:
90
86
  rdoc_options: []
91
87
  require_paths:
92
88
  - lib
93
89
  required_ruby_version: !ruby/object:Gem::Requirement
94
- none: false
95
90
  requirements:
96
91
  - - ! '>='
97
92
  - !ruby/object:Gem::Version
98
93
  version: '0'
99
94
  required_rubygems_version: !ruby/object:Gem::Requirement
100
- none: false
101
95
  requirements:
102
96
  - - ! '>='
103
97
  - !ruby/object:Gem::Version
104
98
  version: '0'
105
99
  requirements: []
106
100
  rubyforge_project: partystreusel
107
- rubygems_version: 1.8.23
101
+ rubygems_version: 2.3.0
108
102
  signing_key:
109
- specification_version: 3
103
+ specification_version: 4
110
104
  summary: A collection uf reusable javascript components by Screen Concept
111
105
  test_files:
112
106
  - spec/javascripts/helpers/.gitkeep