Pr0d1r2-paperclip-time-stamped 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
@@ -17,7 +17,7 @@ ActiveRecord::Base.class_eval do
17
17
  send("#{name}?") ? File.mtime(send("#{name}_path", style)).to_i.to_s : '1000000000'
18
18
  end
19
19
 
20
- define_method("timestaped_#{name}_url") do |style|
20
+ define_method("timestamped_#{name}_url") do |style|
21
21
  [send("#{name}_url", style), '?', send("#{name}_timestamp", style)].join
22
22
  end
23
23
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{paperclip-time-stamped}
8
- s.version = "1.0.1"
8
+ s.version = "1.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Marcin Nowicki"]
12
- s.date = %q{2009-09-15}
12
+ s.date = %q{2009-09-16}
13
13
  s.description = %q{Allow to use time-stamped urls from paperclip attachments}
14
14
  s.email = %q{pr0d1r2@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -17,8 +17,7 @@ Gem::Specification.new do |s|
17
17
  "README.rdoc"
18
18
  ]
19
19
  s.files = [
20
- ".document",
21
- ".gitignore",
20
+ ".gitignore",
22
21
  "LICENSE",
23
22
  "README.rdoc",
24
23
  "Rakefile",
@@ -47,10 +47,10 @@ describe "PaperclipTimeStamped" do
47
47
  end
48
48
  end
49
49
 
50
- it 'timestaped_name_url should return name url with timestamp' do
50
+ it 'timestamped_name_url should return name url with timestamp' do
51
51
  @paperclip_time_stamped.should_receive(:name_url).with(:small).and_return('name_url')
52
52
  @paperclip_time_stamped.should_receive(:name_timestamp).with(:small).and_return('1000000000')
53
- @paperclip_time_stamped.timestaped_name_url(:small).should == 'name_url?1000000000'
53
+ @paperclip_time_stamped.timestamped_name_url(:small).should == 'name_url?1000000000'
54
54
  end
55
55
 
56
56
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Pr0d1r2-paperclip-time-stamped
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcin Nowicki
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-15 00:00:00 -07:00
12
+ date: 2009-09-16 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -42,7 +42,6 @@ extra_rdoc_files:
42
42
  - LICENSE
43
43
  - README.rdoc
44
44
  files:
45
- - .document
46
45
  - .gitignore
47
46
  - LICENSE
48
47
  - README.rdoc
data/.document DELETED
@@ -1,5 +0,0 @@
1
- README.rdoc
2
- lib/**/*.rb
3
- bin/*
4
- features/**/*.feature
5
- LICENSE