ecm_downloads2 2.0.0 → 2.0.2

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: 1a31f99f96df76db2c5024d0c579a02a8eb24506
4
- data.tar.gz: ca1952b40679aef1f7ce41d5fc5b615b397fc8df
3
+ metadata.gz: 19d5cfdf74767434ce179495e60595bc2f14071e
4
+ data.tar.gz: c397531ebb426d0879c665c23a1d71424cb729ab
5
5
  SHA512:
6
- metadata.gz: ac6fba402abc117c7b65f2a0e3e70a10b5b2adfb997a292d1ac8287661c805265a6cf00c09497d801383991e3d94f477301f6d30fd7698c82c10c146be5f182a
7
- data.tar.gz: 342731c3cf13a763b98f18b755abdd65c25924d3be0cdc1d433ccbe7d8f025afc3b6cda3936e5cc2d91c1e95b263a4770c5b5a1623573e07f9148739ce51758c
6
+ metadata.gz: 632756cca482bf776c6f4770a618d77beb604064f6e7aa5793cb9ddafbb8e00458feab5722a42ba0868fdd23a672904884dd83c906bc1f103f0caa12e06ce676
7
+ data.tar.gz: 400cc7a35a7162787b73d9eb207d29486e5454bb62ad7855e27499b60abfe8902acdff27688788cd38d7d01c72950dd4fb6afac10f2a0a677cd9187fedd04b92
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Downloads
3
- VERSION = '2.0.0'
3
+ VERSION = '2.0.2'
4
4
  end
5
5
  end
@@ -0,0 +1,7 @@
1
+ FactoryGirl.define do
2
+ factory :ecm_downloads_download, class: Ecm::Downloads::Download do
3
+ sequence(:name) { |i| "Download ##{i}" }
4
+ ecm_downloads_download_category
5
+ asset { File.open(File.join(Ecm::Downloads::Engine.root, 'spec/files', 'ecm/downloads', 'download/asset.txt')) }
6
+ end
7
+ end
@@ -0,0 +1,11 @@
1
+ FactoryGirl.define do
2
+ factory :ecm_downloads_download_category, class: Ecm::Downloads::DownloadCategory do
3
+ sequence(:name) { |i| "Download category ##{i}" }
4
+ locale I18n.default_locale.to_s
5
+
6
+ factory :ecm_downloads_download_category_with_parent do
7
+ locale nil
8
+ association :parent, factory: :ecm_downloads_download_category
9
+ end
10
+ end
11
+ end
@@ -0,0 +1 @@
1
+ This is a small example text file.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_downloads2
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-09 00:00:00.000000000 Z
11
+ date: 2016-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -486,6 +486,9 @@ files:
486
486
  - lib/generators/ecm/downloads/install/templates/routes.source
487
487
  - lib/generators/ecm/downloads/locales/locales_generator.rb
488
488
  - lib/tasks/ecm_downloads_tasks.rake
489
+ - spec/factories/ecm/downloads/download.rb
490
+ - spec/factories/ecm/downloads/download_category.rb
491
+ - spec/files/ecm/downloads/download/asset.txt
489
492
  homepage: https://github.com/robotex82/ecm_downloads
490
493
  licenses: []
491
494
  metadata: {}