jekyll-attendease 0.6.21.pre → 0.6.21

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
  SHA1:
3
- metadata.gz: 8ee28c7855280197ea3d0716d1b93b33721ffbb2
4
- data.tar.gz: 26c73366a0fbda99092b40b27698d7ab2a714872
3
+ metadata.gz: 3e279fedbad97f9c4681cbf2d4449f2623de3235
4
+ data.tar.gz: 3b6ccc2841c4a29fda4ac0023376e4708f54cc89
5
5
  SHA512:
6
- metadata.gz: 73bdb0d6d3c26e26320812d02d1358ab5410995fe71d0e838fb2a1eaeeb09afc05e9996e663881d5d3a4bc54c7b9055286f4c3dc1dfa6e37dd8093d34303f403
7
- data.tar.gz: e605f30b6dd3e74bd4e1443b221677f9751db7224ecba72fb74822493aa41173eecb5c7eb2fe0a5625c1cd9b4025184dbead2a523518bd0c8a0d11ba486ab9c2
6
+ metadata.gz: 1df3172e859538a3af5c7c36bda3b66e4e35bac41642036d9e9fa6f3b9a206f499b3b1a82b9c856d366d833c24182aa1bf033f283af2485b5a6eb977c57f10d3
7
+ data.tar.gz: 5851bad6000e6d3fa434935b6587c835677dd9b20c6aba0626d132409cbaae58da4e15911efab9cb4dfbc7990f10e980ef90324df01ea2d2a6ec3bd19274a6b0
@@ -92,7 +92,6 @@ module Jekyll
92
92
  if file_name == 'site.json'
93
93
  # Adding to site config so we can access these variables globally wihtout using a Liquid Tag so we can use if/else
94
94
  site.config['attendease']['data'] = {}
95
- site.config['attendease']['data']['core'] = {}
96
95
 
97
96
  data.keys.each do |tag|
98
97
  site.config['attendease']['data'][tag] = data[tag]
@@ -105,8 +104,7 @@ module Jekyll
105
104
  # TODO: update all themes to not use attendease_ variables
106
105
  # and then retire them from the ThemeManager.
107
106
  if tag.match(/^attendease_/)
108
- # only set keys that aren't already defined from the theme
109
- site.config['attendease']['data']['core'][tag.gsub(/^attendease_/, '')] = data[tag]
107
+ site.config['attendease']['data'][tag.gsub(/^attendease_/, '')] = data[tag]
110
108
  end
111
109
  end
112
110
  end
@@ -117,6 +115,11 @@ module Jekyll
117
115
  event = JSON.parse(File.read("#{@attendease_data_path}/event.json"))
118
116
  site.config['attendease']['event'] = event
119
117
 
118
+ if @attendease_config['copy_data']
119
+ FileUtils.cp_r(@attendease_data_path, File.join(site.source, 'attendease_data'))
120
+ # tell Jekyll about these new static files to publish
121
+ site.read_directories 'attendease_data'
122
+ end
120
123
  end
121
124
 
122
125
  else
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module AttendeasePlugin
3
- VERSION = '0.6.21.pre'
3
+ VERSION = '0.6.21'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-attendease
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.21.pre
4
+ version: 0.6.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Wood
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-05-01 00:00:00.000000000 Z
14
+ date: 2016-02-17 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: httparty
@@ -210,9 +210,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
210
210
  version: '0'
211
211
  required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  requirements:
213
- - - ">"
213
+ - - ">="
214
214
  - !ruby/object:Gem::Version
215
- version: 1.3.1
215
+ version: '0'
216
216
  requirements: []
217
217
  rubyforge_project:
218
218
  rubygems_version: 2.2.5