activegist 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,4 +6,3 @@ rvm:
6
6
  - jruby
7
7
  - ruby-head
8
8
  - rbx-2.0
9
-
data/CHANGELOG CHANGED
@@ -1,2 +1,6 @@
1
+ * 0.6.1 (01-16-2012)
2
+ * ActiveGist::Files now delegates all missing methods into #hash
3
+ * ActiveGist::Files#hash is now public
4
+
1
5
  * 0.6.0 (01-15-2012)
2
6
  * First release.
@@ -1,5 +1,7 @@
1
1
  class ActiveGist::Files
2
- delegate :key?, :has_key?, :[], :[]=, :empty?, :as_json, :to_json, :as_xml, :to_xml, :inspect, :to => :hash
2
+ attr_reader :hash
3
+ delegate :key?, :has_key?, :[], :[]=, :empty?, :as_json, :to_json, :as_xml, :to_xml, :inspect,
4
+ :method_missing, :to => :hash
3
5
 
4
6
  def initialize(hash = {})
5
7
  @hash = hash
@@ -18,10 +20,6 @@ class ActiveGist::Files
18
20
  end
19
21
 
20
22
  private
21
- def hash
22
- @hash
23
- end
24
-
25
23
  def deep_dup(obj)
26
24
  if obj.kind_of?(Array)
27
25
  obj.collect { |a| deep_dup a }
@@ -1,6 +1,6 @@
1
1
  class ActiveGist
2
2
  module Version
3
- MAJOR, MINOR, TINY = 0, 6, 0
3
+ MAJOR, MINOR, TINY = 0, 6, 1
4
4
  STRING = [MAJOR, MINOR, TINY].join '.'
5
5
  end
6
6
 
metadata CHANGED
@@ -1,101 +1,104 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: activegist
3
- version: !ruby/object:Gem::Version
4
- version: 0.6.0
3
+ version: !ruby/object:Gem::Version
5
4
  prerelease:
5
+ version: 0.6.1
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Colin MacKenzie IV
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-15 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
12
+
13
+ date: 2012-01-16 00:00:00 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
15
16
  name: rspec
16
- requirement: &2160179980 !ruby/object:Gem::Requirement
17
+ prerelease: false
18
+ requirement: &id001 !ruby/object:Gem::Requirement
17
19
  none: false
18
- requirements:
20
+ requirements:
19
21
  - - ~>
20
- - !ruby/object:Gem::Version
22
+ - !ruby/object:Gem::Version
21
23
  version: 2.8.0
22
24
  type: :development
23
- prerelease: false
24
- version_requirements: *2160179980
25
- - !ruby/object:Gem::Dependency
25
+ version_requirements: *id001
26
+ - !ruby/object:Gem::Dependency
26
27
  name: fakeweb
27
- requirement: &2160179280 !ruby/object:Gem::Requirement
28
+ prerelease: false
29
+ requirement: &id002 !ruby/object:Gem::Requirement
28
30
  none: false
29
- requirements:
31
+ requirements:
30
32
  - - ~>
31
- - !ruby/object:Gem::Version
33
+ - !ruby/object:Gem::Version
32
34
  version: 1.3.0
33
35
  type: :development
34
- prerelease: false
35
- version_requirements: *2160179280
36
- - !ruby/object:Gem::Dependency
36
+ version_requirements: *id002
37
+ - !ruby/object:Gem::Dependency
37
38
  name: rake
38
- requirement: &2160178440 !ruby/object:Gem::Requirement
39
+ prerelease: false
40
+ requirement: &id003 !ruby/object:Gem::Requirement
39
41
  none: false
40
- requirements:
42
+ requirements:
41
43
  - - ~>
42
- - !ruby/object:Gem::Version
44
+ - !ruby/object:Gem::Version
43
45
  version: 0.9.2.2
44
46
  type: :development
45
- prerelease: false
46
- version_requirements: *2160178440
47
- - !ruby/object:Gem::Dependency
47
+ version_requirements: *id003
48
+ - !ruby/object:Gem::Dependency
48
49
  name: rdoc
49
- requirement: &2160177720 !ruby/object:Gem::Requirement
50
+ prerelease: false
51
+ requirement: &id004 !ruby/object:Gem::Requirement
50
52
  none: false
51
- requirements:
53
+ requirements:
52
54
  - - ~>
53
- - !ruby/object:Gem::Version
54
- version: '3.12'
55
+ - !ruby/object:Gem::Version
56
+ version: "3.12"
55
57
  type: :development
56
- prerelease: false
57
- version_requirements: *2160177720
58
- - !ruby/object:Gem::Dependency
58
+ version_requirements: *id004
59
+ - !ruby/object:Gem::Dependency
59
60
  name: activemodel
60
- requirement: &2160176940 !ruby/object:Gem::Requirement
61
+ prerelease: false
62
+ requirement: &id005 !ruby/object:Gem::Requirement
61
63
  none: false
62
- requirements:
64
+ requirements:
63
65
  - - ~>
64
- - !ruby/object:Gem::Version
66
+ - !ruby/object:Gem::Version
65
67
  version: 3.1.3
66
68
  type: :runtime
67
- prerelease: false
68
- version_requirements: *2160176940
69
- - !ruby/object:Gem::Dependency
69
+ version_requirements: *id005
70
+ - !ruby/object:Gem::Dependency
70
71
  name: activesupport
71
- requirement: &2160176080 !ruby/object:Gem::Requirement
72
+ prerelease: false
73
+ requirement: &id006 !ruby/object:Gem::Requirement
72
74
  none: false
73
- requirements:
75
+ requirements:
74
76
  - - ~>
75
- - !ruby/object:Gem::Version
77
+ - !ruby/object:Gem::Version
76
78
  version: 3.1.3
77
79
  type: :runtime
78
- prerelease: false
79
- version_requirements: *2160176080
80
- - !ruby/object:Gem::Dependency
80
+ version_requirements: *id006
81
+ - !ruby/object:Gem::Dependency
81
82
  name: rest-client
82
- requirement: &2160175400 !ruby/object:Gem::Requirement
83
+ prerelease: false
84
+ requirement: &id007 !ruby/object:Gem::Requirement
83
85
  none: false
84
- requirements:
86
+ requirements:
85
87
  - - ~>
86
- - !ruby/object:Gem::Version
88
+ - !ruby/object:Gem::Version
87
89
  version: 1.6.7
88
90
  type: :runtime
89
- prerelease: false
90
- version_requirements: *2160175400
91
- description: Wraps GitHub's Gist API with a class implementing the ActiveModel modules.
92
- So, it should be pretty familiar to anyone who's ever used models in Ruby on Rails.
93
- email:
91
+ version_requirements: *id007
92
+ description: Wraps GitHub's Gist API with a class implementing the ActiveModel modules. So, it should be pretty familiar to anyone who's ever used models in Ruby on Rails.
93
+ email:
94
94
  - sinisterchipmunk@gmail.com
95
95
  executables: []
96
+
96
97
  extensions: []
98
+
97
99
  extra_rdoc_files: []
98
- files:
100
+
101
+ files:
99
102
  - .gitignore
100
103
  - .travis.yml
101
104
  - CHANGELOG
@@ -131,29 +134,32 @@ files:
131
134
  - spec/support/fakeweb.rb
132
135
  homepage: http://github.com/sinisterchipmunk/active-gist
133
136
  licenses: []
137
+
134
138
  post_install_message:
135
139
  rdoc_options: []
136
- require_paths:
140
+
141
+ require_paths:
137
142
  - lib
138
- required_ruby_version: !ruby/object:Gem::Requirement
143
+ required_ruby_version: !ruby/object:Gem::Requirement
139
144
  none: false
140
- requirements:
141
- - - ! '>='
142
- - !ruby/object:Gem::Version
143
- version: '0'
144
- required_rubygems_version: !ruby/object:Gem::Requirement
145
+ requirements:
146
+ - - ">="
147
+ - !ruby/object:Gem::Version
148
+ version: "0"
149
+ required_rubygems_version: !ruby/object:Gem::Requirement
145
150
  none: false
146
- requirements:
147
- - - ! '>='
148
- - !ruby/object:Gem::Version
149
- version: '0'
151
+ requirements:
152
+ - - ">="
153
+ - !ruby/object:Gem::Version
154
+ version: "0"
150
155
  requirements: []
156
+
151
157
  rubyforge_project: activegist
152
158
  rubygems_version: 1.8.10
153
159
  signing_key:
154
160
  specification_version: 3
155
161
  summary: Wraps GitHub's Gist API with an intuitive class based on ActiveModel.
156
- test_files:
162
+ test_files:
157
163
  - spec/fixtures/all_gists.json
158
164
  - spec/fixtures/gist_1.json
159
165
  - spec/fixtures/gist_1_star.json