amaranth 0.1.1 → 0.2.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4026edf55c5d3e188e34e96c8a5d3f2c4c625e00
4
- data.tar.gz: f54eb5a0962a0195a6b48a2563098a64522a7830
3
+ metadata.gz: c76c281d58f53d04f2c2af534c780079d752bfc1
4
+ data.tar.gz: 6b5abc3668433900baebd659b4d83ee63a28fce2
5
5
  SHA512:
6
- metadata.gz: 04e238c65780485a47f737c01b14f7857350b16df4aa05f0d3c6b5ad38e1a946d92920c9a05111e034209c95bde9294ab136df8c5df2b3d86d1c1e7d2350b0f7
7
- data.tar.gz: cbdb03e24d9a5aeefb0a5189244a36eab65b9fb2091c952a3aa2045b32f075e2d431dcbeddc0e8f47f969ed6c1d120ab968ddd62218a87c802af92cfb18e4975
6
+ metadata.gz: 3f7ca1b818c9a78f5f1222fc3bf9c4dc6033f33876e7de6d0fc5cb26aa932e6a0f63cd31bc4ccd22a03c446d5ef71dd0afe7b5169138496597041783ecf7c9a5
7
+ data.tar.gz: 8a8a4cdc66b4737c298ad0fbe721fa8e5f27539ccd1af11bc9b758eb2f120b1172e79ca1f6e761702f4ba9ec18d88d2beca421196dd6644d454be5c7090d82bc
@@ -3,7 +3,7 @@ require "amaranth/request"
3
3
  module Amaranth
4
4
  class Project < Struct.new(:name, :slug, :team_slug)
5
5
  def self.all team_slug:
6
- Request.get("/api/teams/#{team_slug}/projects/").map do |attributes|
6
+ Request.get("/api/teams/#{team_slug}/projects/")["objects"].map do |attributes|
7
7
  attributes = attributes.keep_if { |key, value| members.include? key.to_sym }
8
8
  attributes["team_slug"] = team_slug
9
9
  new attributes
@@ -1,3 +1,3 @@
1
1
  module Amaranth
2
- VERSION = "0.1.1"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amaranth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-12-22 00:00:00.000000000 Z
11
+ date: 2016-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake