Commit 44cc27c
committed
Validate specification names
This will validate that specification names are restricted to those that rubygems.org will accept, and provide a superior experience when users accidentally include invalid characters in the name compared to an invalid push or a failing install1 parent 8a38a4f commit 44cc27c
File tree
2 files changed
+41
-3
lines changed- lib/rubygems
- test/rubygems
2 files changed
+41
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
| |||
2668 | 2670 | | |
2669 | 2671 | | |
2670 | 2672 | | |
2671 | | - | |
| 2673 | + | |
| 2674 | + | |
| 2675 | + | |
| 2676 | + | |
| 2677 | + | |
| 2678 | + | |
| 2679 | + | |
2672 | 2680 | | |
2673 | | - | |
| 2681 | + | |
2674 | 2682 | | |
2675 | 2683 | | |
2676 | 2684 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2985 | 2985 | | |
2986 | 2986 | | |
2987 | 2987 | | |
2988 | | - | |
| 2988 | + | |
| 2989 | + | |
| 2990 | + | |
| 2991 | + | |
| 2992 | + | |
| 2993 | + | |
| 2994 | + | |
| 2995 | + | |
| 2996 | + | |
| 2997 | + | |
| 2998 | + | |
| 2999 | + | |
| 3000 | + | |
| 3001 | + | |
| 3002 | + | |
| 3003 | + | |
| 3004 | + | |
| 3005 | + | |
| 3006 | + | |
| 3007 | + | |
| 3008 | + | |
| 3009 | + | |
| 3010 | + | |
| 3011 | + | |
| 3012 | + | |
| 3013 | + | |
| 3014 | + | |
| 3015 | + | |
| 3016 | + | |
| 3017 | + | |
| 3018 | + | |
2989 | 3019 | | |
2990 | 3020 | | |
2991 | 3021 | | |
| |||
0 commit comments