works_cited 0.1.0 → 0.1.1

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: edc0d8e8170f49d422efac5135f327e4b09c18ebe4c972bc8052c83ef42396a2
4
- data.tar.gz: f400664319e3dfd8b9200397d39996846d061502dea08dcf95313f66c7705925
3
+ metadata.gz: d3c57f9d7b790f6fa0e9894f716e634cf3e2daabfe4060c1558168796aeb4407
4
+ data.tar.gz: 69c8b548d3427152e660f46b5ce592881c45902e0e8d52e541735ead9748779d
5
5
  SHA512:
6
- metadata.gz: 1b5b48e94226db335e605d3dadccd6b1cb2f99bef90e54bfbb288c2d981f8782f3ee1296580bcbc419ead4bd93c1d9a50af8ce6f564f5c63a96555ede7b52632
7
- data.tar.gz: 0172014e08865a5117af7dda8fd865a8d39549ed7db0a5c752c9526ce7b330ad85462fa7c726d29da987a6d559b4a5a4349e1ea61bdc57da20d322b14ca1cf1d
6
+ metadata.gz: 86a71a76c45fae21dad8588f5720232586c4a1b01564f2357a0d2801346352e62698893e5b0e638ac4f6509a7174050da467886ca3820e88e84e77c06687eed3
7
+ data.tar.gz: cc3b5674545780a40b6f651dc47dc5320f5cc5b6e556841820a50cd34c6e9d75fc69ce77de3b8f5a3064a3cabfe3fe7546186ca63ef3b42e29188bbe339ef8af
data/README.md CHANGED
@@ -18,6 +18,7 @@ $ bundle install
18
18
  Then generate the migrations
19
19
  ```bash
20
20
  $ rails g works_cited:install
21
+ $ rake db:migrate
21
22
  ```
22
23
 
23
24
  ## Configuration
@@ -58,14 +59,14 @@ WorksCited.configure do |config|
58
59
  # This will dynamically generate a scope (.astrologians) and a boolean check (#astrologian?)
59
60
  # on WorksCited::Contributor
60
61
  config.valid_contributor_roles << 'astrologian'
61
-
62
+
62
63
  # This will dynamically generate a scope (.star_charts) and a boolean check (#star_chart?)
63
64
  # on WorksCited::Citation
64
- #
65
+ #
65
66
  # If you want to override the default view for any new (or existing) types:
66
- # List a citation: app/views/works_cited/citation_types/_star_chart.html.[haml/erb]
67
- # Add/Edit a citation: app/views/works_cited/citation_types/_star_chart_form.html.[haml/erb]
68
- config.valid_citation_types << 'star_chart'
67
+ # List a citation: app/views/works_cited/citation_types/citation/_star_chart.html.[haml/erb]
68
+ # Add/Edit a citation: app/views/works_cited/citation_types/fields/_star_chart.html.[haml/erb]
69
+ config.valid_citation_types << 'star_chart'
69
70
  end
70
71
  ```
71
72
 
data/Rakefile CHANGED
@@ -13,7 +13,6 @@ require 'rake'
13
13
  require 'juwelier'
14
14
  Juwelier::Tasks.new do |gem|
15
15
  # gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
16
- gem.required_ruby_version = '2.7.2'
17
16
  gem.name = 'works_cited'
18
17
  gem.homepage = 'https://gemvein.com/museum/cases/works_cited'
19
18
  gem.metadata = { source_code_uri: 'http://github.com/gemvein/works_cited' }
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -9,7 +9,7 @@ WorksCited.configure do |config|
9
9
  # on WorksCited::Citation
10
10
  #
11
11
  # If you want to override the default view for any new (or existing) types:
12
- # List a citation: app/views/works_cited/citation_types/_star_chart.html.[haml/erb]
13
- # Add/Edit a citation: app/views/works_cited/citation_types/_star_chart_form.html.[haml/erb]
12
+ # List a citation: app/views/works_cited/citation_types/citation/_star_chart.html.[haml/erb]
13
+ # Add/Edit a citation: app/views/works_cited/citation_types/fields/_star_chart.html.[haml/erb]
14
14
  config.valid_citation_types << 'star_chart'
15
15
  end
data/works_cited.gemspec CHANGED
@@ -2,17 +2,17 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: works_cited 0.1.0 ruby lib
5
+ # stub: works_cited 0.1.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "works_cited".freeze
9
- s.version = "0.1.0"
9
+ s.version = "0.1.1"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.metadata = { "source_code_uri" => "http://github.com/gemvein/works_cited" } if s.respond_to? :metadata=
13
13
  s.require_paths = ["lib".freeze]
14
14
  s.authors = ["Loren Lundgren".freeze]
15
- s.date = "2021-09-07"
15
+ s.date = "2021-09-08"
16
16
  s.description = "Works cited allows you to add a list of the works cited in ActiveRecord objects, to be formatted by a helper that can be added to relevant pages to format the citations like a bibliography.".freeze
17
17
  s.email = "loren.lundgren@gmail.com".freeze
18
18
  s.executables = ["rails".freeze]
@@ -184,7 +184,6 @@ Gem::Specification.new do |s|
184
184
  ]
185
185
  s.homepage = "https://gemvein.com/museum/cases/works_cited".freeze
186
186
  s.licenses = ["MIT".freeze]
187
- s.required_ruby_version = Gem::Requirement.new("= 2.7.2".freeze)
188
187
  s.rubygems_version = "3.1.4".freeze
189
188
  s.summary = "Helper to generate list of Works Cited".freeze
190
189
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: works_cited
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Loren Lundgren
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-07 00:00:00.000000000 Z
11
+ date: 2021-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -502,9 +502,9 @@ require_paths:
502
502
  - lib
503
503
  required_ruby_version: !ruby/object:Gem::Requirement
504
504
  requirements:
505
- - - '='
505
+ - - ">="
506
506
  - !ruby/object:Gem::Version
507
- version: 2.7.2
507
+ version: '0'
508
508
  required_rubygems_version: !ruby/object:Gem::Requirement
509
509
  requirements:
510
510
  - - ">="