dailycred 0.1.43 → 0.1.44

Sign up to get free protection for your applications and to get access to all the features.
data/dailycred.gemspec CHANGED
@@ -1,4 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-=
2
+ require File.expand_path('../lib/dailycred/version', __FILE__)
2
3
 
3
4
  Gem::Specification.new do |gem|
4
5
  gem.authors = ["Hank Stoever"]
@@ -15,5 +16,5 @@ Gem::Specification.new do |gem|
15
16
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
16
17
  gem.name = "dailycred"
17
18
  gem.require_paths = ["lib"]
18
- gem.version = "0.1.43"
19
+ gem.version = Dailycred::VERSION
19
20
  end
@@ -4,7 +4,7 @@ class PostsControllerTest < ActionController::TestCase
4
4
  setup do
5
5
  @post = posts(:one)
6
6
  @user = users(:basic)
7
- @controller.expects(:current_user).returns(@user)
7
+ @controller.stubs(:current_user).returns(@user)
8
8
  end
9
9
 
10
10
  test "should get index" do
@@ -0,0 +1,3 @@
1
+ module Dailycred
2
+ VERSION = "0.1.44"
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dailycred
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.43
4
+ version: 0.1.44
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -158,6 +158,7 @@ files:
158
158
  - lib/dailycred/middleware.rb
159
159
  - lib/dailycred/tests_helper.rb
160
160
  - lib/dailycred/user.rb
161
+ - lib/dailycred/version.rb
161
162
  - lib/generators/USAGE
162
163
  - lib/generators/dailycred_generator.rb
163
164
  - lib/generators/templates/info.html.erb
@@ -186,12 +187,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
186
187
  - - ! '>='
187
188
  - !ruby/object:Gem::Version
188
189
  version: '0'
190
+ segments:
191
+ - 0
192
+ hash: -2218078401152157890
189
193
  required_rubygems_version: !ruby/object:Gem::Requirement
190
194
  none: false
191
195
  requirements:
192
196
  - - ! '>='
193
197
  - !ruby/object:Gem::Version
194
198
  version: '0'
199
+ segments:
200
+ - 0
201
+ hash: -2218078401152157890
195
202
  requirements: []
196
203
  rubyforge_project:
197
204
  rubygems_version: 1.8.24
@@ -205,4 +212,3 @@ test_files:
205
212
  - spec/support/shared_examples.rb
206
213
  - test/generator_test.rb
207
214
  - test/test_helper.rb
208
- has_rdoc: