gritter_notices 0.3.4 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +1 -0
- data/Gemfile +9 -8
- data/README.rdoc +8 -4
- data/Rakefile +3 -12
- data/VERSION +1 -1
- data/config.ru +7 -0
- data/gritter_notices.gemspec +46 -44
- data/spec/gritter_notice_spec.rb +0 -1
- data/spec/gritter_notices/active_record_spec.rb +0 -1
- data/spec/gritter_notices/view_helpers_spec.rb +7 -6
- data/spec/internal/config/database.yml +3 -0
- data/spec/internal/config/routes.rb +3 -0
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/db/schema.rb +3 -0
- data/spec/internal/log/.gitignore +1 -0
- data/spec/internal/public/favicon.ico +0 -0
- data/spec/spec_helper.rb +10 -3
- metadata +157 -209
data/.travis.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
rvm: 1.9.2
|
data/Gemfile
CHANGED
@@ -3,21 +3,22 @@ source "http://rubygems.org"
|
|
3
3
|
# Example:
|
4
4
|
# gem "activesupport", ">= 2.3.5"
|
5
5
|
|
6
|
+
gem 'rails', "~> 3.1"
|
7
|
+
gem 'sprockets'
|
6
8
|
gem 'gritter'
|
7
|
-
gem 'activerecord', "~> 3.0"
|
8
|
-
gem 'actionpack', "~> 3.0"
|
9
9
|
|
10
10
|
# Add dependencies to develop your gem here.
|
11
11
|
# Include everything needed to run rake, tests, features, etc.
|
12
12
|
group :development, :test do
|
13
|
-
gem 'ruby-debug'
|
13
|
+
# gem 'ruby-debug'
|
14
14
|
gem 'sqlite3'
|
15
|
+
gem 'combustion', '~> 0.3.2'
|
15
16
|
gem 'watchr'
|
16
17
|
gem 'factory_girl'
|
17
18
|
gem 'shoulda'
|
18
|
-
gem "rspec", "~> 2.
|
19
|
-
gem 'rspec-rails'
|
20
|
-
gem "bundler"
|
21
|
-
gem "jeweler"
|
22
|
-
gem "rcov", ">= 0"
|
19
|
+
gem "rspec", "~> 2.9.0"
|
20
|
+
gem 'rspec-rails', '2.9.0'
|
21
|
+
gem "bundler"
|
22
|
+
gem "jeweler"
|
23
|
+
# gem "rcov", ">= 0"
|
23
24
|
end
|
data/README.rdoc
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
= gritter_notices
|
2
2
|
|
3
|
+
{<img src="http://travis-ci.org/dapi/gritter_notices.png" />}[http://travis-ci.org/dapi/gritter_notices]
|
4
|
+
|
3
5
|
Использует модуль gritter для отображения flash сообщеий, а также вводит механизм сохраняемых пользовательских сообщений (notice).
|
4
6
|
|
5
7
|
Удобно применять для отправки пользователю flash-сообщений из фоновых задач.
|
@@ -55,7 +57,7 @@ http://dl.dropbox.com/u/155427/gritter_notices.png
|
|
55
57
|
<%= gritter_flash_messages %>
|
56
58
|
|
57
59
|
|
58
|
-
Вместо `
|
60
|
+
Вместо `include_gritter` можно делать сразу `include_gritter_and_jquery` подробнее тут: https://github.com/RobinBrouwer/gritter
|
59
61
|
|
60
62
|
== Использование
|
61
63
|
|
@@ -128,6 +130,8 @@ http://dl.dropbox.com/u/155427/gritter_notices.png
|
|
128
130
|
* https://github.com/rubiety/message_block
|
129
131
|
* http://plapier.github.com/sexy-css3-flashes/
|
130
132
|
* https://github.com/jyoungblood/smoke.js
|
133
|
+
* https://github.com/needim/noty
|
134
|
+
* http://code.google.com/p/jquery-purr/
|
131
135
|
* КТО ЗНАЕТ ЕЩЕ ПРИМЕРЫ ??? Напишите пожалуйста мне.
|
132
136
|
|
133
137
|
== Примеры:
|
@@ -136,15 +140,15 @@ http://dl.dropbox.com/u/155427/gritter_notices.png
|
|
136
140
|
код: http://github.com/dapi/gritter_notices_example
|
137
141
|
* http://planposter.com/
|
138
142
|
|
139
|
-
Друзья, присылайте
|
143
|
+
Друзья, присылайте ссылки на ваши проекты использующие gritter_notices.
|
140
144
|
|
141
|
-
== Нечто отдаленно
|
145
|
+
== Нечто отдаленно подобное (альтернативы):
|
142
146
|
|
143
147
|
Вместо flash_conductor-а
|
144
148
|
https://github.com/mattpolito/flash-message-conductor
|
145
149
|
https://rubygems.org/gems/glennr-flash-message-conductor
|
146
150
|
https://github.com/QuBiT/universal_flash_messages
|
147
|
-
|
151
|
+
https://github.com/snitko/frontend_notifier
|
148
152
|
|
149
153
|
== Пишут от gritter_notices
|
150
154
|
|
data/Rakefile
CHANGED
@@ -21,8 +21,9 @@ Jeweler::Tasks.new do |gem|
|
|
21
21
|
gem.authors = ["Danil Pismenny"]
|
22
22
|
# Include your dependencies below. Runtime dependencies are required when using your gem,
|
23
23
|
# and development dependencies are only needed for development (ie running rake tasks, tests, etc)
|
24
|
-
gem.add_runtime_dependency 'gritter'
|
25
|
-
|
24
|
+
gem.add_runtime_dependency 'gritter'
|
25
|
+
gem.add_development_dependency 'rspec', '> 2.9'
|
26
|
+
gem.add_development_dependency 'combustion', '~> 0.3.2'
|
26
27
|
end
|
27
28
|
Jeweler::RubygemsDotOrgTasks.new
|
28
29
|
|
@@ -38,13 +39,3 @@ RSpec::Core::RakeTask.new(:rcov) do |spec|
|
|
38
39
|
end
|
39
40
|
|
40
41
|
task :default => :spec
|
41
|
-
|
42
|
-
require 'rake/rdoctask'
|
43
|
-
Rake::RDocTask.new do |rdoc|
|
44
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
45
|
-
|
46
|
-
rdoc.rdoc_dir = 'rdoc'
|
47
|
-
rdoc.title = "gritter_notices #{version}"
|
48
|
-
rdoc.rdoc_files.include('README*')
|
49
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
50
|
-
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4.0
|
data/config.ru
ADDED
data/gritter_notices.gemspec
CHANGED
@@ -4,19 +4,20 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.
|
7
|
+
s.name = "gritter_notices"
|
8
|
+
s.version = "0.4.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Danil Pismenny"]
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
12
|
+
s.date = "2012-09-02"
|
13
|
+
s.description = "Provide `notice` method to user model to save notices and to shows them later in views with Gritter (growl-like jQuery plugin). Fully support of Rails flash messages also. Helpful to send flash messages from background jobs."
|
14
|
+
s.email = "danil@orionet.ru"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE.txt",
|
17
17
|
"README.rdoc"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
|
+
".travis.yml",
|
20
21
|
".watchr",
|
21
22
|
"Gemfile",
|
22
23
|
"LICENSE.txt",
|
@@ -24,6 +25,7 @@ Gem::Specification.new do |s|
|
|
24
25
|
"Rakefile",
|
25
26
|
"VERSION",
|
26
27
|
"app/models/gritter_notice.rb",
|
28
|
+
"config.ru",
|
27
29
|
"gritter_notices.gemspec",
|
28
30
|
"lib/generators/gritter_notices_generator.rb",
|
29
31
|
"lib/generators/templates/migration.rb",
|
@@ -35,75 +37,75 @@ Gem::Specification.new do |s|
|
|
35
37
|
"spec/gritter_notice_spec.rb",
|
36
38
|
"spec/gritter_notices/active_record_spec.rb",
|
37
39
|
"spec/gritter_notices/view_helpers_spec.rb",
|
40
|
+
"spec/internal/config/database.yml",
|
41
|
+
"spec/internal/config/routes.rb",
|
42
|
+
"spec/internal/db/combustion_test.sqlite",
|
43
|
+
"spec/internal/db/schema.rb",
|
44
|
+
"spec/internal/log/.gitignore",
|
45
|
+
"spec/internal/public/favicon.ico",
|
38
46
|
"spec/spec_helper.rb",
|
39
47
|
"spec/support/factories.rb",
|
40
48
|
"spec/support/migration.rb",
|
41
49
|
"spec/support/user.rb"
|
42
50
|
]
|
43
|
-
s.homepage =
|
51
|
+
s.homepage = "http://github.com/dapi/gritter_notices"
|
44
52
|
s.licenses = ["MIT"]
|
45
53
|
s.require_paths = ["lib"]
|
46
|
-
s.rubygems_version =
|
47
|
-
s.summary =
|
48
|
-
s.test_files = [
|
49
|
-
"spec/gritter_notice_spec.rb",
|
50
|
-
"spec/gritter_notices/active_record_spec.rb",
|
51
|
-
"spec/gritter_notices/view_helpers_spec.rb",
|
52
|
-
"spec/spec_helper.rb",
|
53
|
-
"spec/support/factories.rb",
|
54
|
-
"spec/support/migration.rb",
|
55
|
-
"spec/support/user.rb"
|
56
|
-
]
|
54
|
+
s.rubygems_version = "1.8.10"
|
55
|
+
s.summary = "Show growl-like flashes and saved user's notices with Gritter"
|
57
56
|
|
58
57
|
if s.respond_to? :specification_version then
|
59
58
|
s.specification_version = 3
|
60
59
|
|
61
60
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
61
|
+
s.add_runtime_dependency(%q<rails>, ["~> 3.1"])
|
62
|
+
s.add_runtime_dependency(%q<sprockets>, [">= 0"])
|
62
63
|
s.add_runtime_dependency(%q<gritter>, [">= 0"])
|
63
|
-
s.add_runtime_dependency(%q<activerecord>, ["~> 3.0"])
|
64
|
-
s.add_runtime_dependency(%q<actionpack>, ["~> 3.0"])
|
65
|
-
s.add_development_dependency(%q<ruby-debug>, [">= 0"])
|
66
64
|
s.add_development_dependency(%q<sqlite3>, [">= 0"])
|
65
|
+
s.add_development_dependency(%q<combustion>, ["~> 0.3.2"])
|
67
66
|
s.add_development_dependency(%q<watchr>, [">= 0"])
|
68
67
|
s.add_development_dependency(%q<factory_girl>, [">= 0"])
|
69
68
|
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
70
|
-
s.add_development_dependency(%q<rspec>, ["~> 2.
|
71
|
-
s.add_development_dependency(%q<rspec-rails>, ["
|
72
|
-
s.add_development_dependency(%q<bundler>, ["
|
73
|
-
s.add_development_dependency(%q<jeweler>, ["
|
74
|
-
s.
|
75
|
-
s.
|
69
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.9.0"])
|
70
|
+
s.add_development_dependency(%q<rspec-rails>, ["= 2.9.0"])
|
71
|
+
s.add_development_dependency(%q<bundler>, [">= 0"])
|
72
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
73
|
+
s.add_runtime_dependency(%q<gritter>, [">= 0"])
|
74
|
+
s.add_development_dependency(%q<rspec>, ["> 2.9"])
|
75
|
+
s.add_development_dependency(%q<combustion>, ["~> 0.3.2"])
|
76
76
|
else
|
77
|
+
s.add_dependency(%q<rails>, ["~> 3.1"])
|
78
|
+
s.add_dependency(%q<sprockets>, [">= 0"])
|
77
79
|
s.add_dependency(%q<gritter>, [">= 0"])
|
78
|
-
s.add_dependency(%q<activerecord>, ["~> 3.0"])
|
79
|
-
s.add_dependency(%q<actionpack>, ["~> 3.0"])
|
80
|
-
s.add_dependency(%q<ruby-debug>, [">= 0"])
|
81
80
|
s.add_dependency(%q<sqlite3>, [">= 0"])
|
81
|
+
s.add_dependency(%q<combustion>, ["~> 0.3.2"])
|
82
82
|
s.add_dependency(%q<watchr>, [">= 0"])
|
83
83
|
s.add_dependency(%q<factory_girl>, [">= 0"])
|
84
84
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
85
|
-
s.add_dependency(%q<rspec>, ["~> 2.
|
86
|
-
s.add_dependency(%q<rspec-rails>, ["
|
87
|
-
s.add_dependency(%q<bundler>, ["
|
88
|
-
s.add_dependency(%q<jeweler>, ["
|
89
|
-
s.add_dependency(%q<
|
90
|
-
s.add_dependency(%q<
|
85
|
+
s.add_dependency(%q<rspec>, ["~> 2.9.0"])
|
86
|
+
s.add_dependency(%q<rspec-rails>, ["= 2.9.0"])
|
87
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
88
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
89
|
+
s.add_dependency(%q<gritter>, [">= 0"])
|
90
|
+
s.add_dependency(%q<rspec>, ["> 2.9"])
|
91
|
+
s.add_dependency(%q<combustion>, ["~> 0.3.2"])
|
91
92
|
end
|
92
93
|
else
|
94
|
+
s.add_dependency(%q<rails>, ["~> 3.1"])
|
95
|
+
s.add_dependency(%q<sprockets>, [">= 0"])
|
93
96
|
s.add_dependency(%q<gritter>, [">= 0"])
|
94
|
-
s.add_dependency(%q<activerecord>, ["~> 3.0"])
|
95
|
-
s.add_dependency(%q<actionpack>, ["~> 3.0"])
|
96
|
-
s.add_dependency(%q<ruby-debug>, [">= 0"])
|
97
97
|
s.add_dependency(%q<sqlite3>, [">= 0"])
|
98
|
+
s.add_dependency(%q<combustion>, ["~> 0.3.2"])
|
98
99
|
s.add_dependency(%q<watchr>, [">= 0"])
|
99
100
|
s.add_dependency(%q<factory_girl>, [">= 0"])
|
100
101
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
101
|
-
s.add_dependency(%q<rspec>, ["~> 2.
|
102
|
-
s.add_dependency(%q<rspec-rails>, ["
|
103
|
-
s.add_dependency(%q<bundler>, ["
|
104
|
-
s.add_dependency(%q<jeweler>, ["
|
105
|
-
s.add_dependency(%q<
|
106
|
-
s.add_dependency(%q<
|
102
|
+
s.add_dependency(%q<rspec>, ["~> 2.9.0"])
|
103
|
+
s.add_dependency(%q<rspec-rails>, ["= 2.9.0"])
|
104
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
105
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
106
|
+
s.add_dependency(%q<gritter>, [">= 0"])
|
107
|
+
s.add_dependency(%q<rspec>, ["> 2.9"])
|
108
|
+
s.add_dependency(%q<combustion>, ["~> 0.3.2"])
|
107
109
|
end
|
108
110
|
end
|
109
111
|
|
data/spec/gritter_notice_spec.rb
CHANGED
@@ -29,12 +29,13 @@ describe GritterNotices::ViewHelpers, :type => :helper do
|
|
29
29
|
current_user.gritter_notice :progress, :title=>'Supertitle', :text=>'Supertext'
|
30
30
|
current_user.notice_warning 'Warning Warning'
|
31
31
|
|
32
|
-
compiled_gritters =
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
32
|
+
compiled_gritters =
|
33
|
+
[
|
34
|
+
"jQuery(function(){jQuery.gritter.add({image:'/assets/error.png',title:'translation missing: en.gflash.titles.error',text:'Error'});});",
|
35
|
+
"jQuery(function(){jQuery.gritter.add({image:'/assets/progress.png',title:'Supertitle',text:'Supertext'});});",
|
36
|
+
"jQuery(function(){jQuery.gritter.add({image:'/assets/success.png',title:'translation missing: en.gflash.titles.success',text:'Success1'});});",
|
37
|
+
"jQuery(function(){jQuery.gritter.add({image:'/assets/success.png',title:'translation missing: en.gflash.titles.success',text:'Success2'});});",
|
38
|
+
"jQuery(function(){jQuery.gritter.add({image:'/assets/warning.png',title:'translation missing: en.gflash.titles.warning',text:'Warning Warning'});});"
|
38
39
|
].sort
|
39
40
|
#helper.should_receive(:js).with(compiled_gritters) { mock :html_safe=>true }
|
40
41
|
helper.should_receive(:js) do |args|
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
*.log
|
File without changes
|
data/spec/spec_helper.rb
CHANGED
@@ -2,14 +2,21 @@
|
|
2
2
|
require 'rubygems'
|
3
3
|
require 'bundler'
|
4
4
|
|
5
|
+
Bundler.require :default, :development
|
6
|
+
|
7
|
+
|
5
8
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
9
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..'))
|
6
10
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
7
11
|
|
8
12
|
ENV["RAILS_ENV"] ||= 'test'
|
9
13
|
|
10
|
-
|
11
|
-
|
12
|
-
require '
|
14
|
+
Combustion.initialize!
|
15
|
+
|
16
|
+
#require 'rails/all'
|
17
|
+
#require 'active_record'
|
18
|
+
#require 'action_view'
|
19
|
+
#require 'action_controller'
|
13
20
|
|
14
21
|
require 'rspec'
|
15
22
|
require 'rspec/rails'
|
metadata
CHANGED
@@ -1,238 +1,192 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: gritter_notices
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.0
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 3
|
9
|
-
- 4
|
10
|
-
version: 0.3.4
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Danil Pismenny
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
version_requirements: &id001 !ruby/object:Gem::Requirement
|
12
|
+
date: 2012-09-02 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: &17253560 !ruby/object:Gem::Requirement
|
23
17
|
none: false
|
24
|
-
requirements:
|
25
|
-
- -
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
|
28
|
-
segments:
|
29
|
-
- 0
|
30
|
-
version: "0"
|
31
|
-
name: gritter
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '3.1'
|
32
22
|
type: :runtime
|
33
23
|
prerelease: false
|
34
|
-
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
|
24
|
+
version_requirements: *17253560
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: sprockets
|
27
|
+
requirement: &17268060 !ruby/object:Gem::Requirement
|
37
28
|
none: false
|
38
|
-
requirements:
|
39
|
-
- -
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
|
42
|
-
segments:
|
43
|
-
- 3
|
44
|
-
- 0
|
45
|
-
version: "3.0"
|
46
|
-
name: activerecord
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
47
33
|
type: :runtime
|
48
34
|
prerelease: false
|
49
|
-
|
50
|
-
- !ruby/object:Gem::Dependency
|
51
|
-
|
35
|
+
version_requirements: *17268060
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: gritter
|
38
|
+
requirement: &17265980 !ruby/object:Gem::Requirement
|
52
39
|
none: false
|
53
|
-
requirements:
|
54
|
-
- -
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
|
57
|
-
segments:
|
58
|
-
- 3
|
59
|
-
- 0
|
60
|
-
version: "3.0"
|
61
|
-
name: actionpack
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
62
44
|
type: :runtime
|
63
45
|
prerelease: false
|
64
|
-
|
65
|
-
- !ruby/object:Gem::Dependency
|
66
|
-
|
46
|
+
version_requirements: *17265980
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: sqlite3
|
49
|
+
requirement: &17263800 !ruby/object:Gem::Requirement
|
67
50
|
none: false
|
68
|
-
requirements:
|
69
|
-
- -
|
70
|
-
- !ruby/object:Gem::Version
|
71
|
-
|
72
|
-
segments:
|
73
|
-
- 0
|
74
|
-
version: "0"
|
75
|
-
name: ruby-debug
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
76
55
|
type: :development
|
77
56
|
prerelease: false
|
78
|
-
|
79
|
-
- !ruby/object:Gem::Dependency
|
80
|
-
|
57
|
+
version_requirements: *17263800
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: combustion
|
60
|
+
requirement: &17277280 !ruby/object:Gem::Requirement
|
81
61
|
none: false
|
82
|
-
requirements:
|
83
|
-
- -
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
|
86
|
-
segments:
|
87
|
-
- 0
|
88
|
-
version: "0"
|
89
|
-
name: sqlite3
|
62
|
+
requirements:
|
63
|
+
- - ~>
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 0.3.2
|
90
66
|
type: :development
|
91
67
|
prerelease: false
|
92
|
-
|
93
|
-
- !ruby/object:Gem::Dependency
|
94
|
-
version_requirements: &id006 !ruby/object:Gem::Requirement
|
95
|
-
none: false
|
96
|
-
requirements:
|
97
|
-
- - ">="
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
hash: 3
|
100
|
-
segments:
|
101
|
-
- 0
|
102
|
-
version: "0"
|
68
|
+
version_requirements: *17277280
|
69
|
+
- !ruby/object:Gem::Dependency
|
103
70
|
name: watchr
|
71
|
+
requirement: &17274440 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
104
77
|
type: :development
|
105
78
|
prerelease: false
|
106
|
-
|
107
|
-
- !ruby/object:Gem::Dependency
|
108
|
-
version_requirements: &id007 !ruby/object:Gem::Requirement
|
109
|
-
none: false
|
110
|
-
requirements:
|
111
|
-
- - ">="
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
hash: 3
|
114
|
-
segments:
|
115
|
-
- 0
|
116
|
-
version: "0"
|
79
|
+
version_requirements: *17274440
|
80
|
+
- !ruby/object:Gem::Dependency
|
117
81
|
name: factory_girl
|
82
|
+
requirement: &17272260 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
118
88
|
type: :development
|
119
89
|
prerelease: false
|
120
|
-
|
121
|
-
- !ruby/object:Gem::Dependency
|
122
|
-
version_requirements: &id008 !ruby/object:Gem::Requirement
|
123
|
-
none: false
|
124
|
-
requirements:
|
125
|
-
- - ">="
|
126
|
-
- !ruby/object:Gem::Version
|
127
|
-
hash: 3
|
128
|
-
segments:
|
129
|
-
- 0
|
130
|
-
version: "0"
|
90
|
+
version_requirements: *17272260
|
91
|
+
- !ruby/object:Gem::Dependency
|
131
92
|
name: shoulda
|
93
|
+
requirement: &17270080 !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
132
99
|
type: :development
|
133
100
|
prerelease: false
|
134
|
-
|
135
|
-
- !ruby/object:Gem::Dependency
|
136
|
-
|
101
|
+
version_requirements: *17270080
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: rspec
|
104
|
+
requirement: &17291340 !ruby/object:Gem::Requirement
|
137
105
|
none: false
|
138
|
-
requirements:
|
106
|
+
requirements:
|
139
107
|
- - ~>
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
|
142
|
-
segments:
|
143
|
-
- 2
|
144
|
-
- 5
|
145
|
-
- 0
|
146
|
-
version: 2.5.0
|
147
|
-
name: rspec
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 2.9.0
|
148
110
|
type: :development
|
149
111
|
prerelease: false
|
150
|
-
|
151
|
-
- !ruby/object:Gem::Dependency
|
152
|
-
version_requirements: &id010 !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
|
-
requirements:
|
155
|
-
- - ">="
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
hash: 3
|
158
|
-
segments:
|
159
|
-
- 0
|
160
|
-
version: "0"
|
112
|
+
version_requirements: *17291340
|
113
|
+
- !ruby/object:Gem::Dependency
|
161
114
|
name: rspec-rails
|
115
|
+
requirement: &17302400 !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
117
|
+
requirements:
|
118
|
+
- - =
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: 2.9.0
|
162
121
|
type: :development
|
163
122
|
prerelease: false
|
164
|
-
|
165
|
-
- !ruby/object:Gem::Dependency
|
166
|
-
version_requirements: &id011 !ruby/object:Gem::Requirement
|
167
|
-
none: false
|
168
|
-
requirements:
|
169
|
-
- - ~>
|
170
|
-
- !ruby/object:Gem::Version
|
171
|
-
hash: 23
|
172
|
-
segments:
|
173
|
-
- 1
|
174
|
-
- 0
|
175
|
-
- 0
|
176
|
-
version: 1.0.0
|
123
|
+
version_requirements: *17302400
|
124
|
+
- !ruby/object:Gem::Dependency
|
177
125
|
name: bundler
|
126
|
+
requirement: &17300180 !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
178
132
|
type: :development
|
179
133
|
prerelease: false
|
180
|
-
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
version_requirements: &id012 !ruby/object:Gem::Requirement
|
183
|
-
none: false
|
184
|
-
requirements:
|
185
|
-
- - ~>
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
hash: 7
|
188
|
-
segments:
|
189
|
-
- 1
|
190
|
-
- 5
|
191
|
-
- 2
|
192
|
-
version: 1.5.2
|
134
|
+
version_requirements: *17300180
|
135
|
+
- !ruby/object:Gem::Dependency
|
193
136
|
name: jeweler
|
137
|
+
requirement: &17294680 !ruby/object:Gem::Requirement
|
138
|
+
none: false
|
139
|
+
requirements:
|
140
|
+
- - ! '>='
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '0'
|
194
143
|
type: :development
|
195
144
|
prerelease: false
|
196
|
-
|
197
|
-
- !ruby/object:Gem::Dependency
|
198
|
-
|
145
|
+
version_requirements: *17294680
|
146
|
+
- !ruby/object:Gem::Dependency
|
147
|
+
name: gritter
|
148
|
+
requirement: &17307160 !ruby/object:Gem::Requirement
|
149
|
+
none: false
|
150
|
+
requirements:
|
151
|
+
- - ! '>='
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
type: :runtime
|
155
|
+
prerelease: false
|
156
|
+
version_requirements: *17307160
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: rspec
|
159
|
+
requirement: &17303160 !ruby/object:Gem::Requirement
|
199
160
|
none: false
|
200
|
-
requirements:
|
201
|
-
- -
|
202
|
-
- !ruby/object:Gem::Version
|
203
|
-
|
204
|
-
segments:
|
205
|
-
- 0
|
206
|
-
version: "0"
|
207
|
-
name: rcov
|
161
|
+
requirements:
|
162
|
+
- - ! '>'
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '2.9'
|
208
165
|
type: :development
|
209
166
|
prerelease: false
|
210
|
-
|
211
|
-
- !ruby/object:Gem::Dependency
|
212
|
-
|
167
|
+
version_requirements: *17303160
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: combustion
|
170
|
+
requirement: &17313740 !ruby/object:Gem::Requirement
|
213
171
|
none: false
|
214
|
-
requirements:
|
172
|
+
requirements:
|
215
173
|
- - ~>
|
216
|
-
- !ruby/object:Gem::Version
|
217
|
-
|
218
|
-
|
219
|
-
- 0
|
220
|
-
- 6
|
221
|
-
version: "0.6"
|
222
|
-
name: gritter
|
223
|
-
type: :runtime
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: 0.3.2
|
176
|
+
type: :development
|
224
177
|
prerelease: false
|
225
|
-
|
226
|
-
description: Provide `notice` method to user model to save notices and to shows them
|
178
|
+
version_requirements: *17313740
|
179
|
+
description: Provide `notice` method to user model to save notices and to shows them
|
180
|
+
later in views with Gritter (growl-like jQuery plugin). Fully support of Rails flash
|
181
|
+
messages also. Helpful to send flash messages from background jobs.
|
227
182
|
email: danil@orionet.ru
|
228
183
|
executables: []
|
229
|
-
|
230
184
|
extensions: []
|
231
|
-
|
232
|
-
extra_rdoc_files:
|
185
|
+
extra_rdoc_files:
|
233
186
|
- LICENSE.txt
|
234
187
|
- README.rdoc
|
235
|
-
files:
|
188
|
+
files:
|
189
|
+
- .travis.yml
|
236
190
|
- .watchr
|
237
191
|
- Gemfile
|
238
192
|
- LICENSE.txt
|
@@ -240,6 +194,7 @@ files:
|
|
240
194
|
- Rakefile
|
241
195
|
- VERSION
|
242
196
|
- app/models/gritter_notice.rb
|
197
|
+
- config.ru
|
243
198
|
- gritter_notices.gemspec
|
244
199
|
- lib/generators/gritter_notices_generator.rb
|
245
200
|
- lib/generators/templates/migration.rb
|
@@ -251,49 +206,42 @@ files:
|
|
251
206
|
- spec/gritter_notice_spec.rb
|
252
207
|
- spec/gritter_notices/active_record_spec.rb
|
253
208
|
- spec/gritter_notices/view_helpers_spec.rb
|
209
|
+
- spec/internal/config/database.yml
|
210
|
+
- spec/internal/config/routes.rb
|
211
|
+
- spec/internal/db/combustion_test.sqlite
|
212
|
+
- spec/internal/db/schema.rb
|
213
|
+
- spec/internal/log/.gitignore
|
214
|
+
- spec/internal/public/favicon.ico
|
254
215
|
- spec/spec_helper.rb
|
255
216
|
- spec/support/factories.rb
|
256
217
|
- spec/support/migration.rb
|
257
218
|
- spec/support/user.rb
|
258
|
-
has_rdoc: true
|
259
219
|
homepage: http://github.com/dapi/gritter_notices
|
260
|
-
licenses:
|
220
|
+
licenses:
|
261
221
|
- MIT
|
262
222
|
post_install_message:
|
263
223
|
rdoc_options: []
|
264
|
-
|
265
|
-
require_paths:
|
224
|
+
require_paths:
|
266
225
|
- lib
|
267
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
226
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
268
227
|
none: false
|
269
|
-
requirements:
|
270
|
-
- -
|
271
|
-
- !ruby/object:Gem::Version
|
272
|
-
|
273
|
-
segments:
|
228
|
+
requirements:
|
229
|
+
- - ! '>='
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: '0'
|
232
|
+
segments:
|
274
233
|
- 0
|
275
|
-
|
276
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
234
|
+
hash: 997990899689747557
|
235
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
277
236
|
none: false
|
278
|
-
requirements:
|
279
|
-
- -
|
280
|
-
- !ruby/object:Gem::Version
|
281
|
-
|
282
|
-
segments:
|
283
|
-
- 0
|
284
|
-
version: "0"
|
237
|
+
requirements:
|
238
|
+
- - ! '>='
|
239
|
+
- !ruby/object:Gem::Version
|
240
|
+
version: '0'
|
285
241
|
requirements: []
|
286
|
-
|
287
242
|
rubyforge_project:
|
288
|
-
rubygems_version: 1.
|
243
|
+
rubygems_version: 1.8.10
|
289
244
|
signing_key:
|
290
245
|
specification_version: 3
|
291
246
|
summary: Show growl-like flashes and saved user's notices with Gritter
|
292
|
-
test_files:
|
293
|
-
- spec/gritter_notice_spec.rb
|
294
|
-
- spec/gritter_notices/active_record_spec.rb
|
295
|
-
- spec/gritter_notices/view_helpers_spec.rb
|
296
|
-
- spec/spec_helper.rb
|
297
|
-
- spec/support/factories.rb
|
298
|
-
- spec/support/migration.rb
|
299
|
-
- spec/support/user.rb
|
247
|
+
test_files: []
|