gritter_notices 0.2.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -15,13 +15,13 @@ Jeweler::Tasks.new do |gem|
15
15
  gem.name = "gritter_notices"
16
16
  gem.homepage = "http://github.com/dapi/gritter_notices"
17
17
  gem.license = "MIT"
18
- gem.summary = "Show flashes and saved user's notices with Gritter (growl-like jQuery plugin)"
18
+ gem.summary = "Show growl-like flashes and saved user's notices with Gritter"
19
19
  gem.description = %Q{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.}
20
20
  gem.email = "danil@orionet.ru"
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 'jabber4r', '> 0.1'
24
+ gem.add_runtime_dependency 'gritter', '~> 0.6'
25
25
  # gem.add_development_dependency 'rspec', '> 1.2.3'
26
26
  end
27
27
  Jeweler::RubygemsDotOrgTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.3.1
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{gritter_notices}
8
- s.version = "0.2.0"
8
+ s.version = "0.3.1"
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"]
@@ -28,6 +28,7 @@ Gem::Specification.new do |s|
28
28
  "lib/generators/templates/migration.rb",
29
29
  "lib/gritter_notices.rb",
30
30
  "lib/gritter_notices/active_record.rb",
31
+ "lib/gritter_notices/engine.rb",
31
32
  "lib/gritter_notices/rspec_matcher.rb",
32
33
  "lib/gritter_notices/view_helpers.rb",
33
34
  "spec/gritter_notice_spec.rb",
@@ -41,8 +42,8 @@ Gem::Specification.new do |s|
41
42
  s.homepage = %q{http://github.com/dapi/gritter_notices}
42
43
  s.licenses = ["MIT"]
43
44
  s.require_paths = ["lib"]
44
- s.rubygems_version = %q{1.5.0}
45
- s.summary = %q{Show flashes and saved user's notices with Gritter (growl-like jQuery plugin)}
45
+ s.rubygems_version = %q{1.6.1}
46
+ s.summary = %q{Show growl-like flashes and saved user's notices with Gritter}
46
47
  s.test_files = [
47
48
  "spec/gritter_notice_spec.rb",
48
49
  "spec/owner_spec.rb",
@@ -68,6 +69,7 @@ Gem::Specification.new do |s|
68
69
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
69
70
  s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
70
71
  s.add_development_dependency(%q<rcov>, [">= 0"])
72
+ s.add_runtime_dependency(%q<gritter>, ["~> 0.6"])
71
73
  else
72
74
  s.add_dependency(%q<gritter>, [">= 0"])
73
75
  s.add_dependency(%q<activerecord>, ["~> 3.0"])
@@ -80,6 +82,7 @@ Gem::Specification.new do |s|
80
82
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
81
83
  s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
82
84
  s.add_dependency(%q<rcov>, [">= 0"])
85
+ s.add_dependency(%q<gritter>, ["~> 0.6"])
83
86
  end
84
87
  else
85
88
  s.add_dependency(%q<gritter>, [">= 0"])
@@ -93,6 +96,7 @@ Gem::Specification.new do |s|
93
96
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
94
97
  s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
95
98
  s.add_dependency(%q<rcov>, [">= 0"])
99
+ s.add_dependency(%q<gritter>, ["~> 0.6"])
96
100
  end
97
101
  end
98
102
 
@@ -0,0 +1,4 @@
1
+ module GritterNotices
2
+ class Engine < Rails::Engine
3
+ end
4
+ end
@@ -11,3 +11,7 @@ require 'gritter_notices/view_helpers'
11
11
  ActionView::Base.send( :include, GritterNotices::ViewHelpers )
12
12
 
13
13
  require 'gritter_notices/rspec_matcher'
14
+
15
+ require 'gritter_notices/engine' if defined?(Rails)
16
+
17
+
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gritter_notices
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 2
9
- - 0
10
- version: 0.2.0
8
+ - 3
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Danil Pismenny
@@ -19,8 +19,7 @@ date: 2011-03-29 00:00:00 +04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- name: gritter
23
- version_requirements: &id001 !ruby/object:Gem::Requirement
22
+ requirement: &id001 !ruby/object:Gem::Requirement
24
23
  none: false
25
24
  requirements:
26
25
  - - ">="
@@ -29,12 +28,12 @@ dependencies:
29
28
  segments:
30
29
  - 0
31
30
  version: "0"
31
+ version_requirements: *id001
32
+ name: gritter
32
33
  prerelease: false
33
34
  type: :runtime
34
- requirement: *id001
35
35
  - !ruby/object:Gem::Dependency
36
- name: activerecord
37
- version_requirements: &id002 !ruby/object:Gem::Requirement
36
+ requirement: &id002 !ruby/object:Gem::Requirement
38
37
  none: false
39
38
  requirements:
40
39
  - - ~>
@@ -44,12 +43,12 @@ dependencies:
44
43
  - 3
45
44
  - 0
46
45
  version: "3.0"
46
+ version_requirements: *id002
47
+ name: activerecord
47
48
  prerelease: false
48
49
  type: :runtime
49
- requirement: *id002
50
50
  - !ruby/object:Gem::Dependency
51
- name: actionpack
52
- version_requirements: &id003 !ruby/object:Gem::Requirement
51
+ requirement: &id003 !ruby/object:Gem::Requirement
53
52
  none: false
54
53
  requirements:
55
54
  - - ~>
@@ -59,12 +58,12 @@ dependencies:
59
58
  - 3
60
59
  - 0
61
60
  version: "3.0"
61
+ version_requirements: *id003
62
+ name: actionpack
62
63
  prerelease: false
63
64
  type: :runtime
64
- requirement: *id003
65
65
  - !ruby/object:Gem::Dependency
66
- name: sqlite3
67
- version_requirements: &id004 !ruby/object:Gem::Requirement
66
+ requirement: &id004 !ruby/object:Gem::Requirement
68
67
  none: false
69
68
  requirements:
70
69
  - - ">="
@@ -73,12 +72,12 @@ dependencies:
73
72
  segments:
74
73
  - 0
75
74
  version: "0"
75
+ version_requirements: *id004
76
+ name: sqlite3
76
77
  prerelease: false
77
78
  type: :development
78
- requirement: *id004
79
79
  - !ruby/object:Gem::Dependency
80
- name: factory_girl
81
- version_requirements: &id005 !ruby/object:Gem::Requirement
80
+ requirement: &id005 !ruby/object:Gem::Requirement
82
81
  none: false
83
82
  requirements:
84
83
  - - ">="
@@ -87,12 +86,12 @@ dependencies:
87
86
  segments:
88
87
  - 0
89
88
  version: "0"
89
+ version_requirements: *id005
90
+ name: factory_girl
90
91
  prerelease: false
91
92
  type: :development
92
- requirement: *id005
93
93
  - !ruby/object:Gem::Dependency
94
- name: shoulda
95
- version_requirements: &id006 !ruby/object:Gem::Requirement
94
+ requirement: &id006 !ruby/object:Gem::Requirement
96
95
  none: false
97
96
  requirements:
98
97
  - - ">="
@@ -101,12 +100,12 @@ dependencies:
101
100
  segments:
102
101
  - 0
103
102
  version: "0"
103
+ version_requirements: *id006
104
+ name: shoulda
104
105
  prerelease: false
105
106
  type: :development
106
- requirement: *id006
107
107
  - !ruby/object:Gem::Dependency
108
- name: rspec
109
- version_requirements: &id007 !ruby/object:Gem::Requirement
108
+ requirement: &id007 !ruby/object:Gem::Requirement
110
109
  none: false
111
110
  requirements:
112
111
  - - ~>
@@ -117,12 +116,12 @@ dependencies:
117
116
  - 5
118
117
  - 0
119
118
  version: 2.5.0
119
+ version_requirements: *id007
120
+ name: rspec
120
121
  prerelease: false
121
122
  type: :development
122
- requirement: *id007
123
123
  - !ruby/object:Gem::Dependency
124
- name: rspec-rails
125
- version_requirements: &id008 !ruby/object:Gem::Requirement
124
+ requirement: &id008 !ruby/object:Gem::Requirement
126
125
  none: false
127
126
  requirements:
128
127
  - - ">="
@@ -131,12 +130,12 @@ dependencies:
131
130
  segments:
132
131
  - 0
133
132
  version: "0"
133
+ version_requirements: *id008
134
+ name: rspec-rails
134
135
  prerelease: false
135
136
  type: :development
136
- requirement: *id008
137
137
  - !ruby/object:Gem::Dependency
138
- name: bundler
139
- version_requirements: &id009 !ruby/object:Gem::Requirement
138
+ requirement: &id009 !ruby/object:Gem::Requirement
140
139
  none: false
141
140
  requirements:
142
141
  - - ~>
@@ -147,12 +146,12 @@ dependencies:
147
146
  - 0
148
147
  - 0
149
148
  version: 1.0.0
149
+ version_requirements: *id009
150
+ name: bundler
150
151
  prerelease: false
151
152
  type: :development
152
- requirement: *id009
153
153
  - !ruby/object:Gem::Dependency
154
- name: jeweler
155
- version_requirements: &id010 !ruby/object:Gem::Requirement
154
+ requirement: &id010 !ruby/object:Gem::Requirement
156
155
  none: false
157
156
  requirements:
158
157
  - - ~>
@@ -163,12 +162,12 @@ dependencies:
163
162
  - 5
164
163
  - 2
165
164
  version: 1.5.2
165
+ version_requirements: *id010
166
+ name: jeweler
166
167
  prerelease: false
167
168
  type: :development
168
- requirement: *id010
169
169
  - !ruby/object:Gem::Dependency
170
- name: rcov
171
- version_requirements: &id011 !ruby/object:Gem::Requirement
170
+ requirement: &id011 !ruby/object:Gem::Requirement
172
171
  none: false
173
172
  requirements:
174
173
  - - ">="
@@ -177,9 +176,25 @@ dependencies:
177
176
  segments:
178
177
  - 0
179
178
  version: "0"
179
+ version_requirements: *id011
180
+ name: rcov
180
181
  prerelease: false
181
182
  type: :development
182
- requirement: *id011
183
+ - !ruby/object:Gem::Dependency
184
+ requirement: &id012 !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ~>
188
+ - !ruby/object:Gem::Version
189
+ hash: 7
190
+ segments:
191
+ - 0
192
+ - 6
193
+ version: "0.6"
194
+ version_requirements: *id012
195
+ name: gritter
196
+ prerelease: false
197
+ type: :runtime
183
198
  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.
184
199
  email: danil@orionet.ru
185
200
  executables: []
@@ -201,6 +216,7 @@ files:
201
216
  - lib/generators/templates/migration.rb
202
217
  - lib/gritter_notices.rb
203
218
  - lib/gritter_notices/active_record.rb
219
+ - lib/gritter_notices/engine.rb
204
220
  - lib/gritter_notices/rspec_matcher.rb
205
221
  - lib/gritter_notices/view_helpers.rb
206
222
  - spec/gritter_notice_spec.rb
@@ -240,10 +256,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
256
  requirements: []
241
257
 
242
258
  rubyforge_project:
243
- rubygems_version: 1.5.0
259
+ rubygems_version: 1.6.1
244
260
  signing_key:
245
261
  specification_version: 3
246
- summary: Show flashes and saved user's notices with Gritter (growl-like jQuery plugin)
262
+ summary: Show growl-like flashes and saved user's notices with Gritter
247
263
  test_files:
248
264
  - spec/gritter_notice_spec.rb
249
265
  - spec/owner_spec.rb