homesteading_publisher 0.0.6 → 0.0.7

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: 599a03afd6a841b121e429948293f1477b12c551
4
- data.tar.gz: 03580a773b7c8824478a1e90ae9b1069c53691ef
3
+ metadata.gz: 619c6ed1f47c764f5952341ad2c2d93d2afbf6b5
4
+ data.tar.gz: 6901a29c24a1657b357dc3b2374c51c681ab823d
5
5
  SHA512:
6
- metadata.gz: ab44bd7f8fdc0c22b1aac8411d2074182f7d1c9228953780629d6b2fb1ed6fb80ab09a27957c657577e76ab0dbb309e41362e38673a4ecc4985ceb77487db97d
7
- data.tar.gz: c75e98e795ec954eb5a141709b077f3ae666c71fdadd3d7b857d2aa578b7222ca4fd887727ee11aa7f67ac522f12e8474ef0d987b2597eea4831d8901d33b843
6
+ metadata.gz: 83c7ffbb335816ac1272d1f1c6b5bbab6ebd07a7a6f2cf8b6f744e694c410fc54f6f3aac8a58492a6a58d41aafe1b72163bd0dd54ed6b5fa6daa0b26516a29da
7
+ data.tar.gz: 47b70438d4b011c8d7b3161930f6f8401abf3995c387e6639af6826b3186d8d6fcfa826d02eb4e14cadcd399ac72e7a8fcbe6b1e82e5bf52addc6c1fe3ef5237
@@ -0,0 +1,9 @@
1
+ class License < ActiveRecord::Base
2
+
3
+ class << self
4
+ def options_for_select
5
+ License.all.map{ |l| ["#{l.name} (#{l.short_code})", l.id] }
6
+ end
7
+ end
8
+
9
+ end
@@ -1,3 +1,3 @@
1
1
  module HomesteadingPublisher
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: homesteading_publisher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane Becker
@@ -55,6 +55,7 @@ files:
55
55
  - app/controllers/homesteading_publisher/application_controller.rb
56
56
  - app/helpers/homesteading_publisher/application_helper.rb
57
57
  - app/models/homesteading/post.rb
58
+ - app/models/license.rb
58
59
  - app/views/layouts/homesteading_publisher/application.html.erb
59
60
  - config/routes.rb
60
61
  - lib/homesteading_publisher.rb