SrBuj 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OGQ3MTcxNTFmMmE0NWFkZGRlMWJhODk2NWRmZDViZjk3M2MxZGE0ZA==
4
+ MDg3NWQxYWZjNWM3MTgyMWFhNjY1ZWZmNGRiYzFkOTZjNGE5ZGI1Yg==
5
5
  data.tar.gz: !binary |-
6
- YmRjY2FmMWZhZWIyZDI3NTAxZmQyNDgwNTNjOGVlZjAxNWNhNjY5Zg==
6
+ MjBiY2Y3ZDY3MTNhMmUzYzkxYjczZjVkMzg0MmM3ZWZiODU2ZGU4Nw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NDQyNmNkMDRjZmY1NDgxOGNjMmMzOTMwNjljMTg4ZTVhMTMxYzUwN2Y5NTZl
10
- ZjgxZTlmYTRjOTBmMDQyMDIxYWEwNWU5OGUzYmViYWJlOTdiZWVjMzU4Y2Fl
11
- MDNkMWJhODIzY2NlODY1NjdmMTcyYjQ5MWM0OTViMGIyZmFjOWE=
9
+ MzQ3N2Q1MDg4YTY1YTNlNzkxOWU5YmFkNjI4YTI2YTYwOGUyZTQyY2UyMTVk
10
+ NGQ0NmJhYzUyYzBmZmY4MGNkMmIwMDgwNGI5MDc3YjUzZDdjYjM5OTI4YjM2
11
+ OGE2ODQ3NjdhMjMwZTc1YmRmZTFhNDFhYmRjYWE3YzE1YjIxMzE=
12
12
  data.tar.gz: !binary |-
13
- Yzc5NGNkNTU3NWUwYzM2M2U0MjlmMzZlNTQ3YjZiZDQ1MjhkOGI0OTUzZDYw
14
- ZjgzYTk5OTg4Y2QyZjc1ZDJmOWQyYTAzNDYzNmVjYTIyNWM3YWY0M2ExMTk0
15
- MmY2ZDUwZjg0ZjFlNjA2MTU4MWI4ZjVmYjAyOWMxZjRhN2RkMjM=
13
+ MjZmMWMyZjFjZGMxMmM2ZTA2Zjk0ZTE3MzVkOTM4YTg3OGZiN2M0OTgxODBk
14
+ YmFlYzRmMTM1ZDAxMGI0YmUyNjQzMmJmMDEyY2M2YWRkZWIzY2EyZDVmMTZm
15
+ MjYyN2I0ZDMzYWU2NjFhMGJmMDc0NGE0ZDZlNmMwNjdlYTczNDY=
@@ -5,10 +5,12 @@ module SrBuj
5
5
  class Install < Rails::Generators::Base
6
6
  desc "This generator installs SrBuj #{SrBuj::VERSION} in your manifests (js/css)"
7
7
 
8
+ AFTER_LIBRARY = {javascripts: 'jquery_ujs', stylesheets: 'require_self'}
9
+
8
10
  def add_assets
9
11
  [ detect_js_format, detect_css_format ].each do |format, prepend, type|
10
12
  say_status("inserting", "SrBuj (#{SrBuj::VERSION}) in your application#{format}", :green)
11
- insert_into_file "app/assets/#{type}/application#{format}", "#{prepend} require SrBuj\n", after: "jquery_ujs\n"
13
+ insert_into_file "app/assets/#{type}/application#{format}", "\n#{prepend} require SrBuj", after: AFTER_LIBRARY[type.to_sym]
12
14
  end
13
15
  end
14
16
 
@@ -1,3 +1,3 @@
1
1
  module SrBuj
2
- VERSION = '0.9.1'
2
+ VERSION = '0.9.2'
3
3
  end
@@ -19,7 +19,7 @@
19
19
  };
20
20
  var SrBuj;
21
21
  $.SrBuj = SrBuj = {
22
- version: '0.9.1',
22
+ version: '0.9.2',
23
23
  selector: '[data-remote][data-target]',
24
24
  notifyHeaders: { message: 'X-SRBUJ-MSG', type: 'X-SRBUJ-TYPE', side: 'X-SRBUJ-SIDE', position: 'X-SRBUJ-POS', time: 'X-SRBUJ-TIME' },
25
25
  defaults: {
metadata CHANGED
@@ -1,57 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: SrBuj
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - gagoar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-01 00:00:00.000000000 Z
11
+ date: 2013-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: bundler
14
+ name: railties
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
- version: '1.3'
20
- type: :development
19
+ version: '3.1'
20
+ type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
- version: '1.3'
26
+ version: '3.1'
27
27
  - !ruby/object:Gem::Dependency
28
- name: railties
28
+ name: jquery-rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
- version: '3.1'
33
+ version: '2.1'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ! '>='
39
39
  - !ruby/object:Gem::Version
40
- version: '3.1'
40
+ version: '2.1'
41
41
  - !ruby/object:Gem::Dependency
42
- name: jquery-rails
42
+ name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
- version: '2.1'
48
- type: :runtime
47
+ version: '1.3'
48
+ type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
- version: '2.1'
54
+ version: '1.3'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -108,3 +108,4 @@ signing_key:
108
108
  specification_version: 4
109
109
  summary: http://github.com/gagoar/SrBuj/
110
110
  test_files: []
111
+ has_rdoc: