decidim-dev 0.0.8 → 0.0.8.1

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: b6bd8bc5b617ae9625f4de79ae8ac29f4c87bacd
4
- data.tar.gz: cf4f9393016d16529066018d68d76daf9c8eb28e
3
+ metadata.gz: 2b8a9ae366f328aeb3eafe9f757406206105c659
4
+ data.tar.gz: 3f07f850d45f8402a49c0ef976b50d64882c6e73
5
5
  SHA512:
6
- metadata.gz: ca17dd4a724144a1b153ad0882d430942a527f2f1f9bd319ef0da7242535cf88bc29e7be078986aaef746f2cfa1bab0dbccba9fd2a2840e2ec65920e1a00aed4
7
- data.tar.gz: 58b86ef5fabf99ca46c537cd6d9b76855e21a0aa22f3eb5067c58d2881eb0981de2a6ea0be2da7b9034684d0ad2a2f8ba23730bc12695d26b5a5dfe6ae45d01b
6
+ metadata.gz: 65cadd394c82d2e609c20aed7759586f99e397752ddfdae1c62b78b39b4cc2973055b7684b1970dc8c0c91e43d45437692b47bb5ff4f4cf0c0cdb34ec2d1efbd
7
+ data.tar.gz: 25d300a1f9dd9e1fcb14048a4faf21393d3aa7211c31801606bd1dd49a64f8085ba5ecac714dc63adbddfce0b11070eb9b1db4052a90d80ce18b959015e6601f
@@ -1 +1,5 @@
1
1
  fr:
2
+ decidim:
3
+ resource_links:
4
+ test_link:
5
+ dummy_resource_dummy: Mannequin apparenté
@@ -1 +1,5 @@
1
1
  nl:
2
+ decidim:
3
+ resource_links:
4
+ test_link:
5
+ dummy_resource_dummy: Gerelateerde dummy
data/lib/decidim/dev.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "letter_opener_web"
4
+ require "decidim/dev/railtie"
4
5
 
5
6
  module Decidim
6
7
  # Decidim::Dev holds all the convenience logic and libraries to be able to
@@ -0,0 +1,13 @@
1
+ module Decidim
2
+ module Dev
3
+ class Railtie < Rails::Railtie
4
+ railtie_name :decidim_dev
5
+
6
+ rake_tasks do
7
+ Dir[File.join(File.dirname(__FILE__), "../../tasks/*.rake")].each do |file|
8
+ load file
9
+ end
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,18 @@
1
+ require "generators/decidim/dummy_generator"
2
+
3
+ namespace :decidim do
4
+ desc "Generates a dummy app for testing"
5
+ task :generate_test_app do
6
+ dummy_app_path = File.expand_path(File.join(Dir.pwd, "spec", "decidim_dummy_app"))
7
+
8
+ Decidim::Generators::DummyGenerator.start(
9
+ [
10
+ "--dummy_app_path=#{dummy_app_path}",
11
+ "--migrate=true",
12
+ "--quiet"
13
+ ]
14
+ )
15
+
16
+ sh "cd #{dummy_app_path} && bundle exec rake assets:precompile"
17
+ end
18
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.0.8
21
+ version: 0.0.8.1
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 0.0.8
28
+ version: 0.0.8.1
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: factory_girl_rails
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -352,6 +352,7 @@ files:
352
352
  - lib/decidim/dev/assets/malicious.jpg
353
353
  - lib/decidim/dev/common_rake.rb
354
354
  - lib/decidim/dev/dummy_authorization_handler.rb
355
+ - lib/decidim/dev/railtie.rb
355
356
  - lib/decidim/dev/test/authorization_shared_examples.rb
356
357
  - lib/decidim/dev/test/base_spec_helper.rb
357
358
  - lib/decidim/dev/test/i18n_spec.rb
@@ -380,6 +381,7 @@ files:
380
381
  - lib/generators/decidim/templates/autoprefixer.yml
381
382
  - lib/generators/decidim/templates/autoprefixer_initializer.rb
382
383
  - lib/generators/decidim/templates/decidim_dev.rb
384
+ - lib/tasks/test_app.rake
383
385
  homepage: https://github.com/decidim/decidim
384
386
  licenses:
385
387
  - AGPLv3