adherent 0.2.7 → 0.2.8

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: 364043fd343a2914f52cb95037cce70fc6d270c7
4
- data.tar.gz: adb29ecea303f5a166dc9c7570c10b626ba85234
3
+ metadata.gz: cc66ef342cbc02ad2a980de7b100db5f4dddc559
4
+ data.tar.gz: 8e86af925da1ae4083814bee82041a325e3d4e2c
5
5
  SHA512:
6
- metadata.gz: 8d1bfd39b14d8bf67849bd9e1e71bd454c06d5743c19d4c876d11735350412338fca7414b12c589a76f4a21a52848bcd533a2b77508c317fe09fa4524df553e0
7
- data.tar.gz: de8a880f9cfc0e5239666d8e9f2e24e3e25310885f54a1a22f7086c5edaf4863a5f90d0f9b28c382527fc946fc7df8894eed0ad4180a928b24bd66d52b780d15
6
+ metadata.gz: c904b6e5eab186c47a6cb27bc0350ff2fef6ab9b330c04e1b4a0ae6e6fb1294706d5ceffec4582c390713d460f05da8c6f465bb5e7535c8eefbd647962171985
7
+ data.tar.gz: 6c1df73372485deb47b2f1abe436c27c813993ef438c166b40dbde38cb1678b0b285215da3a741420f1f8b9371fe276e7c18341ce5c76063394cfbd27401bfad
@@ -14,5 +14,5 @@ module Adherent
14
14
  # VERSION = "0.2.2.3" # adaptation à la précompilation des assets
15
15
  # VERSION = "0.2.2.4" # correction des références des assets data_tables
16
16
  # VERSION = '0.2.3' # Ajout d'un champ comment pour les paiements
17
- VERSION = '0.2.7' # Insertion icone et action export csv xls pour members
17
+ VERSION = '0.2.8' # Insertion icone et action export csv xls pour members
18
18
  end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20150321054651) do
14
+ ActiveRecord::Schema.define(version: 20130810074112) do
15
15
 
16
16
  # These are extensions that must be enabled in order to support this database
17
17
  enable_extension "plpgsql"
@@ -142440,3 +142440,11 @@ Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 1.7ms)
142440
142440
   (0.2ms) COMMIT
142441
142441
   (0.3ms) BEGIN
142442
142442
   (0.2ms) ROLLBACK
142443
+ ActiveRecord::SchemaMigration Load (27.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
142444
+ ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
142445
+ Migrating to CreateQueryMember (20150412145762)
142446
+  (0.5ms) BEGIN
142447
+  (132.3ms) DROP VIEW IF EXISTS adherent_query_members
142448
+ SQL (25.4ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20150412145762'
142449
+  (6.8ms) COMMIT
142450
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adherent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean-Claude Lepage
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-15 00:00:00.000000000 Z
11
+ date: 2015-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sprockets-rails
@@ -530,7 +530,6 @@ files:
530
530
  - db/migrate/20130809052125_create_adherent_reglements.rb
531
531
  - db/migrate/20130810073908_add_organism_id_to_adherent_members.rb
532
532
  - db/migrate/20150321054651_add_comment_to_payment.rb
533
- - db/migrate/20150412145132_create_query_member.rb
534
533
  - lib/adherent.rb
535
534
  - lib/adherent/engine.rb
536
535
  - lib/adherent/version.rb
@@ -582,7 +581,6 @@ files:
582
581
  - spec/dummy/config/locales/simple_form.en.yml
583
582
  - spec/dummy/config/routes.rb
584
583
  - spec/dummy/db/migrate/20130810074112_create_organisms.rb
585
- - spec/dummy/db/migrate/20150412145762_create_query_member.adherent.rb
586
584
  - spec/dummy/db/schema.rb
587
585
  - spec/dummy/log/development.log
588
586
  - spec/dummy/log/test.log
@@ -2350,7 +2348,6 @@ test_files:
2350
2348
  - spec/dummy/public/422.html
2351
2349
  - spec/dummy/public/500.html
2352
2350
  - spec/dummy/db/schema.rb
2353
- - spec/dummy/db/migrate/20150412145762_create_query_member.adherent.rb
2354
2351
  - spec/dummy/db/migrate/20130810074112_create_organisms.rb
2355
2352
  - spec/dummy/README.rdoc
2356
2353
  - spec/dummy/script/rails
@@ -1,23 +0,0 @@
1
- class CreateQueryMember < ActiveRecord::Migration
2
- def up
3
- self.connection.execute %Q(CREATE OR REPLACE VIEW adherent_query_members AS
4
- SELECT adherent_members.id, organism_id, number, name, forname, birthdate,
5
- adherent_coords.mail AS mail, adherent_coords.tel AS tel,
6
- (SELECT to_date FROM adherent_adhesions
7
- WHERE adherent_adhesions.member_id = adherent_members.id
8
- ORDER BY to_date DESC LIMIT 1 ) AS m_to_date,
9
- (SELECT SUM(adherent_reglements.amount) FROM adherent_reglements,
10
- adherent_adhesions
11
- WHERE adherent_reglements.adhesion_id = adherent_adhesions.id AND
12
- adherent_adhesions.member_id = adherent_members.id) AS t_reglements,
13
- (SELECT SUM(amount) FROM adherent_adhesions
14
- WHERE adherent_adhesions.member_id = adherent_members.id) AS t_adhesions
15
- FROM adherent_members
16
- LEFT JOIN adherent_coords ON adherent_members.id = adherent_coords.member_id;
17
- )
18
- end
19
-
20
- def down
21
- self.connection.execute "DROP VIEW IF EXISTS adherent_query_members"
22
- end
23
- end
@@ -1,24 +0,0 @@
1
- # This migration comes from adherent (originally 20150412145132)
2
- class CreateQueryMember < ActiveRecord::Migration
3
- def up
4
- self.connection.execute %Q(CREATE OR REPLACE VIEW adherent_query_members AS
5
- SELECT adherent_members.id, organism_id, number, name, forname, birthdate,
6
- adherent_coords.mail AS mail, adherent_coords.tel AS tel,
7
- (SELECT to_date FROM adherent_adhesions
8
- WHERE adherent_adhesions.member_id = adherent_members.id
9
- ORDER BY to_date DESC LIMIT 1 ) AS m_to_date,
10
- (SELECT SUM(adherent_reglements.amount) FROM adherent_reglements,
11
- adherent_adhesions
12
- WHERE adherent_reglements.adhesion_id = adherent_adhesions.id AND
13
- adherent_adhesions.member_id = adherent_members.id) AS t_reglements,
14
- (SELECT SUM(amount) FROM adherent_adhesions
15
- WHERE adherent_adhesions.member_id = adherent_members.id) AS t_adhesions
16
- FROM adherent_members
17
- LEFT JOIN adherent_coords ON adherent_members.id = adherent_coords.member_id;
18
- )
19
- end
20
-
21
- def down
22
- self.connection.execute "DROP VIEW IF EXISTS adherent_query_members"
23
- end
24
- end