slack_resources 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '095e2639500695887fb13a21b9355453841a12acb866d3ce2e5b4b885ce74a6b'
4
- data.tar.gz: '030924abc983456ca173ade00ddea1275db889f08ad22021ecc690d6bd1a60c2'
3
+ metadata.gz: 1ed9ee90cc5bdb9efba81b0c87a71a67822104921a56d50e6089e0305189a092
4
+ data.tar.gz: ba0b87074c7d2afe8fd61d0236075efc8dda8f0bc9a0199a226d3decd652b6c7
5
5
  SHA512:
6
- metadata.gz: 384ecaf1d21659ea079ac7079b73f5d5ff4ec683ef3073398d918e2813dcd43f7493782ee92d8f122f4f30031d060d823b101d6ea1c7083e750d21f6049fa04f
7
- data.tar.gz: 7102e66dfd3b0d0b210c778dc656e5f31b43eedfc1e37ad6d76c6151c2def555b02483320dca7179eb03e8cf63f0de3d783708a83544131dd774ec0aec8f57c0
6
+ metadata.gz: 81bcbd99723e0d181664421d4a81f5a162fe27b22fe0580c10f9cd0fd285d81e9fa22735ffb66782152dd49c8c1386d6045a9fe59d03cff05083be63d0b526be
7
+ data.tar.gz: 14a28639e4d8f3c34d3589e89b75ef49053412750efbf8d51698dbf5784b0344444e53bbc6854645ceb3ad6f13b3f94695f75d7e8a257f2abca106dc18b98032
@@ -13,15 +13,15 @@ module SlackResources
13
13
 
14
14
  class << self
15
15
  def detail(name)
16
- File.read(DETAILS_PATH.join("#{name}.json"))
16
+ JSON.parse(File.read(DETAILS_PATH.join("#{name}.json")))
17
17
  end
18
18
 
19
19
  def example(name)
20
- File.read(EXAMPLES_PATH.join("#{name}.json"))
20
+ JSON.parse(File.read(EXAMPLES_PATH.join("#{name}.json")))
21
21
  end
22
22
 
23
23
  def schema(name)
24
- File.read(SCHEMAS_PATH.join("#{name}.json"))
24
+ JSON.parse(File.read(SCHEMAS_PATH.join("#{name}.json")))
25
25
  end
26
26
 
27
27
  def event_types
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slack_resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - mmmpa