decidim-api 0.7.4 → 0.8.0

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
- SHA256:
3
- metadata.gz: 04d6bce45d7e2711e87c7f184800899edf354e7236228def694d18575ef0a5dc
4
- data.tar.gz: 6c433f6c905779f63510d9c9e7d57a0f202d6f9626feaa493c19f7a19af59112
2
+ SHA1:
3
+ metadata.gz: b57db66583d7c51860fb30a476345802a4abe7b4
4
+ data.tar.gz: 261f4d9214911be0f2c4ad2fc6663d3a16fcf622
5
5
  SHA512:
6
- metadata.gz: cc24488ba6b8917d5af9a96d6fe46ba4c2d1ab805e51bd51334951c456a020361c6ea3bc257dda9df20c7bab3995452f065c90fb9d11daca4335ef6b4e36b325
7
- data.tar.gz: 79c698421c384973fcace9f3256ef0b1840e4806ed6cd5f5a5558b62bcafa9290c1f75e3a6fe61d7a4c016257e79121d74aa77acacb1fc11fb7c9c55f014ec74
6
+ metadata.gz: a6dc5fd7a241941601717ae95934f36998bd57103a0439db37468ba21ae3235d8527941f322ce38976ad0dc7d24fadadf8a3e882317afa26c579f9ccd4db66e6
7
+ data.tar.gz: 90d7151d601092ff47681f5c4fa45e578907556408f088fd0eeafab4a6d7cfa8daea5dab2d2ace0212fac432c49390cb3a41f1577978e1b6b7092588f0198dbc
data/README.md CHANGED
@@ -3,14 +3,15 @@
3
3
  This library exposes a [GraphQL](https://facebook.github.io/graphql/) API to programatically interact with the Decidim platform via HTTP.
4
4
 
5
5
  ## Usage
6
+
6
7
  Including `decidim-api` will get expose two nice endpoints:
7
8
 
8
9
  * `/api`: The main GraphQL endpoint that holds the actual API.
9
10
  * `/api/docs`: Nicely-written docs of the entities of the API.
10
11
  * `/api/grapiql`: A neat sandbox to interactively play with the API and its capabilities.
11
12
 
12
-
13
13
  ## Installation
14
+
14
15
  Add this line to your application's Gemfile:
15
16
 
16
17
  ```ruby
@@ -18,12 +19,15 @@ gem 'decidim-api'
18
19
  ```
19
20
 
20
21
  And then execute:
22
+
21
23
  ```bash
22
- $ bundle
24
+ bundle
23
25
  ```
24
26
 
25
27
  ## Contributing
28
+
26
29
  See [Decidim](https://github.com/decidim/decidim).
27
30
 
28
31
  ## License
32
+
29
33
  See [Decidim](https://github.com/decidim/decidim).
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- shared_context "graphql type" do
3
+ shared_context "with a graphql type" do
4
4
  let!(:current_organization) { create(:organization) }
5
5
  let!(:current_user) { create(:user, organization: current_organization) }
6
6
  let(:model) { OpenStruct.new({}) }
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-api version.
5
5
  module Api
6
6
  def self.version
7
- "0.7.4"
7
+ "0.8.0"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -10,42 +10,42 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-11-23 00:00:00.000000000 Z
13
+ date: 2017-12-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: graphql
16
+ name: graphiql-rails
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
19
  - - "~>"
20
20
  - !ruby/object:Gem::Version
21
- version: 1.6.0
21
+ version: 1.4.2
22
+ - - "<"
23
+ - !ruby/object:Gem::Version
24
+ version: 1.4.5
22
25
  type: :runtime
23
26
  prerelease: false
24
27
  version_requirements: !ruby/object:Gem::Requirement
25
28
  requirements:
26
29
  - - "~>"
27
30
  - !ruby/object:Gem::Version
28
- version: 1.6.0
31
+ version: 1.4.2
32
+ - - "<"
33
+ - !ruby/object:Gem::Version
34
+ version: 1.4.5
29
35
  - !ruby/object:Gem::Dependency
30
- name: graphiql-rails
36
+ name: graphql
31
37
  requirement: !ruby/object:Gem::Requirement
32
38
  requirements:
33
39
  - - "~>"
34
40
  - !ruby/object:Gem::Version
35
- version: 1.4.2
36
- - - "<"
37
- - !ruby/object:Gem::Version
38
- version: 1.4.5
41
+ version: 1.6.0
39
42
  type: :runtime
40
43
  prerelease: false
41
44
  version_requirements: !ruby/object:Gem::Requirement
42
45
  requirements:
43
46
  - - "~>"
44
47
  - !ruby/object:Gem::Version
45
- version: 1.4.2
46
- - - "<"
47
- - !ruby/object:Gem::Version
48
- version: 1.4.5
48
+ version: 1.6.0
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: rack-cors
51
51
  requirement: !ruby/object:Gem::Requirement
@@ -75,61 +75,61 @@ dependencies:
75
75
  - !ruby/object:Gem::Version
76
76
  version: 0.9.2
77
77
  - !ruby/object:Gem::Dependency
78
- name: decidim-dev
78
+ name: decidim-comments
79
79
  requirement: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - '='
82
82
  - !ruby/object:Gem::Version
83
- version: 0.7.4
83
+ version: 0.8.0
84
84
  type: :development
85
85
  prerelease: false
86
86
  version_requirements: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - '='
89
89
  - !ruby/object:Gem::Version
90
- version: 0.7.4
90
+ version: 0.8.0
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: decidim-core
93
93
  requirement: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - '='
96
96
  - !ruby/object:Gem::Version
97
- version: 0.7.4
97
+ version: 0.8.0
98
98
  type: :development
99
99
  prerelease: false
100
100
  version_requirements: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - '='
103
103
  - !ruby/object:Gem::Version
104
- version: 0.7.4
104
+ version: 0.8.0
105
105
  - !ruby/object:Gem::Dependency
106
- name: decidim-participatory_processes
106
+ name: decidim-dev
107
107
  requirement: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - '='
110
110
  - !ruby/object:Gem::Version
111
- version: 0.7.4
111
+ version: 0.8.0
112
112
  type: :development
113
113
  prerelease: false
114
114
  version_requirements: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - '='
117
117
  - !ruby/object:Gem::Version
118
- version: 0.7.4
118
+ version: 0.8.0
119
119
  - !ruby/object:Gem::Dependency
120
- name: decidim-comments
120
+ name: decidim-participatory_processes
121
121
  requirement: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - '='
124
124
  - !ruby/object:Gem::Version
125
- version: 0.7.4
125
+ version: 0.8.0
126
126
  type: :development
127
127
  prerelease: false
128
128
  version_requirements: !ruby/object:Gem::Requirement
129
129
  requirements:
130
130
  - - '='
131
131
  - !ruby/object:Gem::Version
132
- version: 0.7.4
132
+ version: 0.8.0
133
133
  description: API engine for decidim
134
134
  email:
135
135
  - josepjaume@gmail.com
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
180
  version: '0'
181
181
  requirements: []
182
182
  rubyforge_project:
183
- rubygems_version: 2.7.1
183
+ rubygems_version: 2.6.13
184
184
  signing_key:
185
185
  specification_version: 4
186
186
  summary: API engine for decidim