stash-magic 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/MIT_LICENCE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010 Mickael Riga
1
+ Copyright (c) 2010 - 2011 Mickael Riga
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
data/README.rdoc CHANGED
@@ -257,4 +257,4 @@ The project is speced with
257
257
 
258
258
  == Copyright
259
259
 
260
- (c) 2010 Mickael Riga - see MIT_LICENCE for details
260
+ (c) 2010 - 2011 Mickael Riga - see MIT_LICENCE for details
data/stash_magic.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'stash-magic'
3
- s.version = "0.0.3"
3
+ s.version = "0.0.4"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.summary = "Simple Attachment Manager"
6
6
  s.description = "A simple attachment system that also handles thumbnails or other styles via ImageMagick. Originaly tested on Sequel ORM but purposedly easy to plug to something else."
data/stash_magic.rb CHANGED
@@ -54,8 +54,8 @@ module StashMagic
54
54
  end
55
55
  end
56
56
  # GETTER
57
- define_method name.to_s do
58
- eval(super.to_s)
57
+ define_method name.to_s do |*args|
58
+ eval(super(*args).to_s)
59
59
  end
60
60
  end
61
61
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stash-magic
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mickael Riga
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-08 00:00:00 +00:00
18
+ date: 2011-02-04 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies: []
21
21