<commit_before>#
# Cookbook Name:: chnm_zotero
# Recipe:: mac
#
# Copyright 2013, Wesleyan University
#
# All rights reserved - Do Not Redistribute
#
# Install our .app!
dmg_package "Zotero" do
  app "Zotero"
  volumes_dir "Zotero"
  dmg_name "Zotero-4.0.5"
  source "http://ims-chef.wesleyan.edu/os_x/chnm_zotero/Zotero-4.0.5.dmg"
  checksum "d8509971545730e7441d7d9bcd1b166cf1a108f703a94c793e32fcd7f15427b8"
  action :install
  type "app"
  package_id "edu.gmu.chnm.zotero"
  version "4.0.5"
end

dmg_package "Zotero Browser Plugins" do
  app "Zotero Plugins"
  volumes_dir "Zotero Plugins"
  source "http://ims-chef.wesleyan.edu/os_x/chnm_zotero/Zotero-Plugins.dmg"
  checksum "5c17e5d51bf91149157a43f082f39df5a46b19c4ab107485cef054272d447d3f"
  action :install
  type "pkg"
  package_id "edu.gmu.chnm.zotero.plugins"
  version "3.0.8.1"
end

# Install Firefox add-on, current version 4.0.5
directory "/Applications/Firefox.app/Contents/MacOS/extensions"
cookbook_file "/Applications/Firefox.app/Contents/MacOS/extensions/<EMAIL>.xpi" do
  mode 0777
end

directory "/Applications/Firefox.app/Contents/MacOS/defaults"
directory "/Applications/Firefox.app/Contents/MacOS/defaults/preferences"
cookbook_file "/Applications/Firefox.app/Contents/MacOS/defaults/preferences/scopes.js" do
  mode 0644
end<commit_msg>fixed semtex versioning to 3 decimal points<commit_after>#
# Cookbook Name:: chnm_zotero
# Recipe:: mac
#
# Copyright 2013, Wesleyan University
#
# All rights reserved - Do Not Redistribute
#
# Install our .app!
dmg_package "Zotero" do
  app "Zotero"
  volumes_dir "Zotero"
  dmg_name "Zotero-4.0.5"
  source "http://ims-chef.wesleyan.edu/os_x/chnm_zotero/Zotero-4.0.5.dmg"
  checksum "d8509971545730e7441d7d9bcd1b166cf1a108f703a94c793e32fcd7f15427b8"
  action :install
  type "app"
  package_id "edu.gmu.chnm.zotero"
  version "4.0.5"
end

dmg_package "Zotero Browser Plugins" do
  app "Zotero Plugins"
  volumes_dir "Zotero Plugins"
  source "http://ims-chef.wesleyan.edu/os_x/chnm_zotero/Zotero-Plugins.dmg"
  checksum "5c17e5d51bf91149157a43f082f39df5a46b19c4ab107485cef054272d447d3f"
  action :install
  type "pkg"
  package_id "edu.gmu.chnm.zotero.plugins"
  version "3.0.81"
end

# Install Firefox add-on, current version 4.0.5
directory "/Applications/Firefox.app/Contents/MacOS/extensions"
cookbook_file "/Applications/Firefox.app/Contents/MacOS/extensions/<EMAIL>.xpi" do
  mode 0777
end

directory "/Applications/Firefox.app/Contents/MacOS/defaults"
directory "/Applications/Firefox.app/Contents/MacOS/defaults/preferences"
cookbook_file "/Applications/Firefox.app/Contents/MacOS/defaults/preferences/scopes.js" do
  mode 0644
end
{'fraction_non_alphanumeric': 0.11119487372785526, 'fraction_numerical': 0.0870712401055409, 'mean_word_length': 5.031818181818182, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '231506', 'n_tokens_mistral': 1213, 'n_tokens_neox': 1086, 'n_words': 183}