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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19d5cfdf74767434ce179495e60595bc2f14071e
|
4
|
+
data.tar.gz: c397531ebb426d0879c665c23a1d71424cb729ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 632756cca482bf776c6f4770a618d77beb604064f6e7aa5793cb9ddafbb8e00458feab5722a42ba0868fdd23a672904884dd83c906bc1f103f0caa12e06ce676
|
7
|
+
data.tar.gz: 400cc7a35a7162787b73d9eb207d29486e5454bb62ad7855e27499b60abfe8902acdff27688788cd38d7d01c72950dd4fb6afac10f2a0a677cd9187fedd04b92
|
@@ -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.
|
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-
|
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: {}
|