adherent 0.2.7 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cc66ef342cbc02ad2a980de7b100db5f4dddc559
|
|
4
|
+
data.tar.gz: 8e86af925da1ae4083814bee82041a325e3d4e2c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c904b6e5eab186c47a6cb27bc0350ff2fef6ab9b330c04e1b4a0ae6e6fb1294706d5ceffec4582c390713d460f05da8c6f465bb5e7535c8eefbd647962171985
|
|
7
|
+
data.tar.gz: 6c1df73372485deb47b2f1abe436c27c813993ef438c166b40dbde38cb1678b0b285215da3a741420f1f8b9371fe276e7c18341ce5c76063394cfbd27401bfad
|
data/lib/adherent/version.rb
CHANGED
|
@@ -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.
|
|
17
|
+
VERSION = '0.2.8' # Insertion icone et action export csv xls pour members
|
|
18
18
|
end
|
data/spec/dummy/db/schema.rb
CHANGED
|
@@ -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:
|
|
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"
|
data/spec/dummy/log/test.log
CHANGED
|
@@ -142440,3 +142440,11 @@ Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 1.7ms)
|
|
|
142440
142440
|
[1m[35m (0.2ms)[0m COMMIT
|
|
142441
142441
|
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
|
142442
142442
|
[1m[35m (0.2ms)[0m ROLLBACK
|
|
142443
|
+
[1m[36mActiveRecord::SchemaMigration Load (27.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
142444
|
+
[1m[35mActiveRecord::SchemaMigration Load (1.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
142445
|
+
Migrating to CreateQueryMember (20150412145762)
|
|
142446
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
|
142447
|
+
[1m[35m (132.3ms)[0m DROP VIEW IF EXISTS adherent_query_members
|
|
142448
|
+
[1m[36mSQL (25.4ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20150412145762'[0m
|
|
142449
|
+
[1m[35m (6.8ms)[0m COMMIT
|
|
142450
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
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.
|
|
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-
|
|
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
|