after_the_deadline 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/after_the_deadline.gemspec +1 -1
- data/lib/after_the_deadline.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MTA4YzNlYmM1ZGE3MzE1YzQyZDM5YTA0NGViMWQxM2VkZmUyZDMwNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YWQzZTQxMmIxODAxNzc0Mzc5ZGYxZGI5MTAyMGM2YjE0YWViOWVjMw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OWNmZGJiMDlhMTYyZDA3OWQxNzlkYTQxZGIxM2Y0YWYzZjQ5NGQ0YWI0YzZm
|
10
|
+
MmY3NmNjYmJlOGY1MDMzNzI5ZTRkMDNlMDU2ZDcyNzg4YmI0MWMwOWIyY2Nh
|
11
|
+
OWQ2MDliOWVjN2Y5M2EwNzAzNjAwMjcwMzZhYzA5Mjk4Y2M1NmU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjA1YWE3YTE5YzAzMTYxNGY3MDRmMGU4ZDA2NzA1NjhhMjExYTU4ZGQwOWU5
|
14
|
+
NjcxMzkyN2Y2OTRjYTExNjM2YTYyYzMyYjc3NzJiOGE2NjgzZjU4M2QxZmRk
|
15
|
+
YjFjYTE2MDc4MGI2NTc5ZGI3NjdlYmNjNmFkZjllNmUwOGU4ZGY=
|
data/after_the_deadline.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = 'after_the_deadline'
|
5
|
-
spec.version = '0.1.
|
5
|
+
spec.version = '0.1.2'
|
6
6
|
spec.authors = ['Michael J. Sepcot']
|
7
7
|
spec.email = ['developer@sepcot.com']
|
8
8
|
spec.description = %q{A ruby library for working with the After The Deadline service.}
|
data/lib/after_the_deadline.rb
CHANGED
@@ -116,19 +116,19 @@ private
|
|
116
116
|
end
|
117
117
|
|
118
118
|
class AfterTheDeadline::Metrics
|
119
|
-
attr_reader :spell, :
|
119
|
+
attr_reader :spell, :grammar, :stats, :style
|
120
120
|
|
121
121
|
def initialize(array)
|
122
122
|
unless array.kind_of?(Array) && array.all? {|i| i.kind_of?(Hash) }
|
123
123
|
raise "#{self.class} must be initialized with an Array of Hashes"
|
124
124
|
end
|
125
125
|
|
126
|
-
self.spell, self.
|
126
|
+
self.spell, self.grammar, self.stats, self.style = {}, {}, {}, {}
|
127
127
|
array.each do |metric|
|
128
128
|
self.send(metric['type'])[metric['key']] = metric['value']
|
129
129
|
end
|
130
130
|
end
|
131
131
|
|
132
132
|
private
|
133
|
-
attr_writer :spell, :
|
133
|
+
attr_writer :spell, :grammar, :stats, :style
|
134
134
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: after_the_deadline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael J. Sepcot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|