rcracy 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/lib/rcracy/kcy.rb ADDED
@@ -0,0 +1,20 @@
1
+ module RCracy
2
+
3
+ class Kcy
4
+
5
+ attr_reader :title, :long_url, :short_url, :kclicks, :date, :award_id, :award_img, :award_desc, :others
6
+
7
+ def initialize(attrs = {})
8
+ @title = attrs[:title]
9
+ @long_url = attrs[:long_url]
10
+ @short_url = attrs[:short_url]
11
+ @kclicks = attrs[:kclicks]
12
+ @date = attrs[:date]
13
+ @award_id = attrs[:award_id]
14
+ @award_img = attrs[:award_img]
15
+ @award_desc = attrs[:award_desc]
16
+ @others = attrs[:others]
17
+ end
18
+ end
19
+
20
+ end
@@ -1,3 +1,3 @@
1
1
  module RCracy
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/rcracy.gemspec CHANGED
@@ -2,7 +2,6 @@
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'rcracy/version'
5
- require 'rcracy/kcy'
6
5
 
7
6
  Gem::Specification.new do |gem|
8
7
  gem.name = "rcracy"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rcracy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -40,6 +40,7 @@ files:
40
40
  - README.md
41
41
  - Rakefile
42
42
  - lib/rcracy.rb
43
+ - lib/rcracy/kcy.rb
43
44
  - lib/rcracy/version.rb
44
45
  - rcracy.gemspec
45
46
  homepage: ''