jekyll-hoffnung3000 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: d6630aa726ab2e6ad28944ed5780e56ba5b4f9e979289f979fa58b2aed0dc8a6
4
- data.tar.gz: 74944851ec91b1ee14977e767535c1326192264a34e9838a56bfdb26a6a39836
3
+ metadata.gz: 03bcf1d94588d0d0458bec00ffd80b3254f2c1e0733684de4467ee8cb5d7e0b9
4
+ data.tar.gz: 141c75475dd4513bd770feb7de114cd463bfd094a7ee263592b1d3786d67fc14
5
5
  SHA512:
6
- metadata.gz: 976f514d2dd55c88ee1143b4242ab224c499ade3e31b8071f86a0b135254d9280671abfdc882de919c257367ea8a6935471be29f94bd7147b6c2441755aefbcd
7
- data.tar.gz: 9cacd945628470e8cb4e154e5be3ceec4f60d8d061899ff1f67428ee1007b13f89124ab2a96fbde0ee198aaa33ff31ec504924a1352de9f46b37a5001ef2d797
6
+ metadata.gz: 790003e1337977499dc70bd343a145fbd1a1832e9931343649fbe6c66797789c2936758a86213969e2c290654b323a4956ea48e57eb5507568b1e6b7ef5a2198
7
+ data.tar.gz: 940d1062ffe6c568f99771d40fe3ea96f437a9f7e997039f40816938c9171016bb84ee27a58cf907761aeb07a9eade8b272c154d5c7c9429cf9edcdcd3f99757
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jekyll-hoffnung3000 (0.1.1)
4
+ jekyll-hoffnung3000 (0.1.2)
5
5
  http (~> 4.4.1)
6
6
  json (~> 2.5.1)
7
7
  ruby-jq (~> 0.2.1)
data/README.md CHANGED
@@ -40,6 +40,42 @@ With this config set you can use the command line to fetch event data which will
40
40
  $ bundle exec jekyll hoffnung3000 events
41
41
  ```
42
42
 
43
+ Events are formatted into the following way as array of JSON objects:
44
+
45
+ ```json
46
+ [
47
+ {
48
+ "title": "Anti-Capitalist Knitting",
49
+ "description": "Anti-Capitalist Knitting is an experimental knitting workshop with an emphasis on sustainability, focusing on exploring materials and using simple techniques to create artwork........",
50
+ "date": "2020-06-06",
51
+ "time": {
52
+ "from": "2020-06-06T10:00:00.000Z",
53
+ "to": "2020-06-06T12:00:00.000Z"
54
+ },
55
+ "organiser": {
56
+ "name": "Name of Organiser",
57
+ "about": null
58
+ },
59
+ "venue": {
60
+ "id": null,
61
+ "name": "museum of neoliberalism [online location]",
62
+ "description": "A small, free museum about how an obscure and extreme ideological cult of the 1970s rose to power and now shapes our lives in dramatic and often terrible ways......",
63
+ "area": "London"
64
+ },
65
+ "imageUrl": "https://image-url/medium.jpg",
66
+ "tags": [
67
+ "Workshop",
68
+ "Art",
69
+ "Anticapitalism",
70
+ "Mental-health",
71
+ "Gender",
72
+ "Feminism"
73
+ ],
74
+ "websiteUrl": "https://event-website.org"
75
+ }
76
+ ]
77
+ ```
78
+
43
79
  ## Development
44
80
 
45
81
  After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
Binary file
@@ -7,7 +7,8 @@ FORMAT_STRING =
7
7
  {
8
8
  title: .title,
9
9
  description: .description,
10
- date: .date, time:
10
+ date: .slots[0].from | split(\"T\")[0],
11
+ time:
11
12
  {
12
13
  from: .slots[0].from,
13
14
  to: .slots[-1].to
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Hoffnung3000
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-hoffnung3000
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - sandreae
@@ -70,6 +70,7 @@ files:
70
70
  - bin/console
71
71
  - bin/setup
72
72
  - jekyll-hoffnung3000-0.1.0.gem
73
+ - jekyll-hoffnung3000-0.1.1.gem
73
74
  - jekyll-hoffnung3000.gemspec
74
75
  - lib/jekyll/commands/hoffnung3000.rb
75
76
  - lib/jekyll/hoffnung3000.rb